Class marimba.gui.TableRow
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class marimba.gui.TableRow

java.lang.Object
   |
   +----marimba.gui.TableColumn
           |
           +----marimba.gui.TableRow

public class TableRow
extends TableColumn
implements Sortable
A row descriptor.
Version:
1.6, 12/05/96
Author:
Klaas Waslander

Variable Index

 o data
A row stores its data.

Constructor Index

 o TableRow()
Constructor for constructing a default row with no data.
 o TableRow(String, int, int, int, Vector)
Constructor which takes all possible arguments.

Method Index

 o compareTo(Sortable, Object)
Compare this row to another row based on the given column index.
 o getData()
Get the data in this row.
 o getProperties(PropertyList)
Get the properties of this TableColumn.
 o setProperties(PropertyList)
Set the properties of this widget.

Variables

 o data
  public Vector data
A row stores its data.
See Also:
getData

Constructors

 o TableRow
  public TableRow()
Constructor for constructing a default row with no data.
 o TableRow
  public TableRow(String label,
                  int pos,
                  int size,
                  int displayIndex,
                  Vector data)
Constructor which takes all possible arguments.

Methods

 o getProperties
  public void getProperties(PropertyList list)
Get the properties of this TableColumn.
Overrides:
getProperties in class TableColumn
 o setProperties
  public void setProperties(PropertyList list)
Set the properties of this widget.
Overrides:
setProperties in class TableColumn
 o getData
  public Vector getData()
Get the data in this row.
See Also:
data
 o compareTo
  public int compareTo(Sortable other,
                       Object columnIndex)
Compare this row to another row based on the given column index. The comparing is done using strings: widgets are compared using their method 'getText'.

All Packages  Class Hierarchy  This Package  Previous  Next  Index