public abstract class ArrayTableColumn<R,C> extends Object
ArrayTableModel
.Constructor and Description |
---|
ArrayTableColumn(String name,
Class<C> clazz)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Class<C> |
getContentClass()
Returns the class which all values of this column will belong to.
|
String |
getName()
Returns the name of this column.
|
abstract C |
getValue(R item)
Returns the value in this column for the row represented by the
given row data object.
|
public ArrayTableColumn(String name, Class<C> clazz)
name
- column nameclazz
- class which all objects returned by the
getValue(R)
method will be instances of (or null)public abstract C getValue(R item)
item
- row data objectpublic String getName()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.