Module org.tentackle.fx.rdc
Package org.tentackle.fx.rdc.table
Class RdcTableColumnConfiguration<S,T>
- java.lang.Object
-
- org.tentackle.fx.table.DefaultTableColumnConfiguration<S,T>
-
- org.tentackle.fx.rdc.table.RdcTableColumnConfiguration<S,T>
-
- Type Parameters:
S- type of the objects contained within the table's items listT- type of the content in all cells in this column
- All Implemented Interfaces:
TableColumnConfiguration<S,T>
public class RdcTableColumnConfiguration<S,T> extends DefaultTableColumnConfiguration<S,T>
PDO-aware configuration for a table column.
-
-
Constructor Summary
Constructors Constructor Description RdcTableColumnConfiguration(RdcTableConfiguration<S> tableConfiguration, String name, String displayedName)Create a column config.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javafx.scene.control.TableCell<S,T>createTableCell(javafx.scene.control.TableColumn<S,T> column)protected javafx.scene.control.TreeTableCell<S,T>createTreeTableCell(javafx.scene.control.TreeTableColumn<S,T> column)booleanisPdoTypeConfigured()Returns whether this column holds PDOs.voidsetType(Class<T> type)-
Methods inherited from class org.tentackle.fx.table.DefaultTableColumnConfiguration
createTableCellValue, createTableCellValueFactory, createTableColumn, createTreeTableCellFactory, createTreeTableCellValue, createTreeTableCellValueFactory, createTreeTableColumn, getAlignment, getBinding, getCaseConversion, getDateFormat, getDateTimeFormatter, getDisplayedName, getEditable, getEditor, getGenericType, getInvalidChars, getMaxColumns, getName, getNumberFormat, getPattern, getScale, getSummable, getTableCellFactory, getTableColumn, getTableConfiguration, getTreeTableColumn, getType, getValidChars, isAutoSelect, isBlankZero, isEditable, isSummable, isUnsigned, setAlignment, setAutoSelect, setBinding, setBlankZero, setCaseConversion, setDisplayedName, setEditable, setEditor, setGenericType, setInvalidChars, setMaxColumns, setPattern, setScale, setSummable, setUnsigned, setValidChars, toString
-
-
-
-
Constructor Detail
-
RdcTableColumnConfiguration
public RdcTableColumnConfiguration(RdcTableConfiguration<S> tableConfiguration, String name, String displayedName)
Create a column config.- Parameters:
tableConfiguration- the table configname- the column's binding pathdisplayedName- the displayed column name
-
-
Method Detail
-
setType
public void setType(Class<T> type)
- Specified by:
setTypein interfaceTableColumnConfiguration<S,T>- Overrides:
setTypein classDefaultTableColumnConfiguration<S,T>
-
isPdoTypeConfigured
public boolean isPdoTypeConfigured()
Returns whether this column holds PDOs.- Returns:
- true if this is a PDO column
-
createTableCell
protected javafx.scene.control.TableCell<S,T> createTableCell(javafx.scene.control.TableColumn<S,T> column)
- Overrides:
createTableCellin classDefaultTableColumnConfiguration<S,T>
-
createTreeTableCell
protected javafx.scene.control.TreeTableCell<S,T> createTreeTableCell(javafx.scene.control.TreeTableColumn<S,T> column)
- Overrides:
createTreeTableCellin classDefaultTableColumnConfiguration<S,T>
-
-