java.lang.Object
org.eclipse.nebula.widgets.nattable.columnChooser.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:
  • Constructor Details

    • 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 Details

    • 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.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object