Class marimba.gui.TableColumn
All Packages Class Hierarchy This Package Previous Next Index
Class marimba.gui.TableColumn
java.lang.Object
|
+----marimba.gui.TableColumn
- public class TableColumn
- extends Object
- implements PropertyObject, WidgetConstants
A column descriptor. This class is used by the TableWidget
for storing general information about a column and is not
supposed to be used directly. All necessary methods are
available in the table widget.
- Version:
- 1.7, 12/10/96
- Author:
- Klaas Waslander
- See Also:
- TableWidget
-
align
- The alignment within this column: LEFT, RIGHT or CENTER.
-
displayIndex
- The index when displaying this column.
-
label
- The label for this column.
-
pos
- The coordinate.
-
size
- The size of the column.
-
TableColumn()
- Constructor
-
TableColumn(String, int, int, int)
- Constructor
-
getProperties(PropertyList)
- Get the properties of this TableColumn.
-
setProperties(PropertyList)
- Set the properties of this widget.
-
toString()
- A string representation of this class.
label
public String label
- The label for this column.
pos
public int pos
- The coordinate.
size
public int size
- The size of the column.
displayIndex
public int displayIndex
- The index when displaying this column.
This index reflects the place where the column must
be painted now: columns can be moved.
align
public int align
- The alignment within this column: LEFT, RIGHT or CENTER.
TableColumn
public TableColumn()
- Constructor
TableColumn
public TableColumn(String label,
int pos,
int size,
int displayIndex)
- Constructor
getProperties
public void getProperties(PropertyList list)
- Get the properties of this TableColumn.
setProperties
public void setProperties(PropertyList list)
- Set the properties of this widget.
toString
public String toString()
- A string representation of this class.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index