Package uk.ac.starlink.util.gui
Class ArrayTableColumn<R,C>
java.lang.Object
uk.ac.starlink.util.gui.ArrayTableColumn<R,C>
Provides the specification for a table column.
This is to be used in conjunction with
ArrayTableModel
.- Since:
- 14 Oct 2009
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ArrayTableColumn
Constructor.- Parameters:
name
- column nameclazz
- class which all objects returned by thegetValue(R)
method will be instances of (or null)
-
-
Method Details
-
getValue
Returns the value in this column for the row represented by the given row data object.- Parameters:
item
- row data object- Returns:
- cell value in this column
-
getName
Returns the name of this column.- Returns:
- column name
-
getContentClass
Returns the class which all values of this column will belong to.- Returns:
- content class
-