Class ColumnEntry


  • public class ColumnEntry
    extends Object
    Object representation of a NatTable Column. This is used in the Column chooser dialogs as a mechanism of preserving meta data on the columns in the dialog.
    See Also:
    ColumnChooserUtils
    • Constructor Detail

      • ColumnEntry

        public ColumnEntry​(String label,
                           int index,
                           int position)
        Parameters:
        label - The label of the column.
        index - The index of the column.
        position - The position of the column.
        Since:
        2.0
    • Method Detail

      • getPosition

        public int getPosition()
        Returns:
        The position of the column.
        Since:
        2.0
      • setPosition

        public void setPosition​(int position)
        Parameters:
        position - The new position of the column.
        Since:
        2.0
      • getIndex

        public int getIndex()
        Returns:
        The index of the column.
        Since:
        2.0
      • getLabel

        public String getLabel()
        Returns:
        The label of the column.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object