Class ColumnEntry
- 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:
ColumnChooserUtils
-
-
Constructor Summary
Constructors Constructor Description ColumnEntry(String label, int index, int position)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getIndex()
String
getLabel()
int
getPosition()
int
hashCode()
void
setPosition(int position)
String
toString()
-
-
-
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.
-
-