|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.util.gui.ArrayTableColumn
public abstract class ArrayTableColumn
Provides the specification for a table column.
This is to be used in conjunction with ArrayTableModel
.
Constructor Summary | |
---|---|
ArrayTableColumn(String name,
Class clazz)
Constructor. |
Method Summary | |
---|---|
Class |
getContentClass()
Returns the class which all values of this column will belong to. |
String |
getName()
Returns the name of this column. |
abstract Object |
getValue(Object item)
Returns the value in this column for the row represented by the given row data object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayTableColumn(String name, Class clazz)
name
- column nameclazz
- class which all objects returned by the
getValue(java.lang.Object)
method will be instances of (or null)Method Detail |
---|
public abstract Object getValue(Object item)
item
- row data object
public String getName()
public Class getContentClass()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |