public class DefaultTableFormat<E> extends Object implements TableViewFormat<E>
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultTableFormat.Column<E,T> |
| Modifier and Type | Field and Description |
|---|---|
protected DefaultTableFormat.Column[] |
columns |
| Constructor and Description |
|---|
DefaultTableFormat(DefaultTableFormat.Column... columns) |
DefaultTableFormat(String... names) |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount() |
String |
getColumnName(int index) |
Double |
getColumnSize(int index) |
ObservableValue<?> |
getObservableValue(E instance,
int index) |
TableCellFactory |
getTableCellFactory(int index) |
protected final DefaultTableFormat.Column[] columns
public DefaultTableFormat(@Nonnull DefaultTableFormat.Column... columns)
public int getColumnCount()
getColumnCount in interface TableViewFormat<E>public String getColumnName(int index)
getColumnName in interface TableViewFormat<E>@Nullable public Double getColumnSize(int index)
getColumnSize in interface TableViewFormat<E>public ObservableValue<?> getObservableValue(@Nonnull E instance, int index)
getObservableValue in interface TableViewFormat<E>@Nullable public TableCellFactory getTableCellFactory(int index)
getTableCellFactory in interface TableViewFormat<E>