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

Variable Index

 o align
The alignment within this column: LEFT, RIGHT or CENTER.
 o displayIndex
The index when displaying this column.
 o label
The label for this column.
 o pos
The coordinate.
 o size
The size of the column.

Constructor Index

 o TableColumn()
Constructor
 o TableColumn(String, int, int, int)
Constructor

Method Index

 o getProperties(PropertyList)
Get the properties of this TableColumn.
 o setProperties(PropertyList)
Set the properties of this widget.
 o toString()
A string representation of this class.

Variables

 o label
  public String label
The label for this column.
 o pos
  public int pos
The coordinate.
 o size
  public int size
The size of the column.
 o 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.
 o align
  public int align
The alignment within this column: LEFT, RIGHT or CENTER.

Constructors

 o TableColumn
  public TableColumn()
Constructor
 o TableColumn
  public TableColumn(String label,
                     int pos,
                     int size,
                     int displayIndex)
Constructor

Methods

 o getProperties
  public void getProperties(PropertyList list)
Get the properties of this TableColumn.
 o setProperties
  public void setProperties(PropertyList list)
Set the properties of this widget.
 o toString
  public String toString()
A string representation of this class.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index