T
- A value type for which the columns entries are subclasses of. Example: if the getColumnDefinition()
.ColumnDefinition.getValueType()
is Integer, T can be Integer or Number.public interface ColumnView<T extends java.io.Serializable> extends java.lang.Iterable<TableEntry<? extends T>>
Modifier and Type | Method and Description |
---|---|
TableEntry<? extends T> |
get(int row)
Returns the entry in the given row.
|
ColumnDefinition<? extends T> |
getColumnDefinition()
Returns the definition of this column.
|
java.lang.String |
getColumnDescription()
Returns a description of the meaning of the elements in this column.
|
java.lang.String |
getColumnName()
Returns the name of the column.
|
int |
getNumRows()
Returns the number of entries (i.e.
|
int |
getSize()
Returns the number of entries (i.e.
|
T |
getValue(int row)
Returns the value of the entry in the given row.
|
java.lang.Class<? extends T> |
getValueType()
Returns the class in which the values of this column are encoded.
|
boolean |
isNullAllowed()
Returns true if entries in the column might have null values.
|
java.lang.Class<? extends T> getValueType()
java.lang.String getColumnName()
java.lang.String getColumnDescription()
boolean isNullAllowed()
ColumnDefinition<? extends T> getColumnDefinition()
int getSize()
getNumRows()
.int getNumRows()
getSize()
.TableEntry<? extends T> get(int row) throws java.lang.IndexOutOfBoundsException
row
- The row of the entry.java.lang.IndexOutOfBoundsException
- Thrown if row index is invalid.T getValue(int row) throws java.lang.IndexOutOfBoundsException
row
- The row of the entry.java.lang.IndexOutOfBoundsException
- Thrown if row index is invalid.