Class RdcTableColumnConfiguration<S,​T>

  • Type Parameters:
    S - type of the objects contained within the table's items list
    T - type of the content in all cells in this column
    All Implemented Interfaces:
    org.tentackle.fx.table.TableColumnConfiguration<S,​T>

    public class RdcTableColumnConfiguration<S,​T>
    extends org.tentackle.fx.table.DefaultTableColumnConfiguration<S,​T>
    PDO-aware configuration for a table column.
    • 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)  
      boolean isPdoTypeConfigured()
      Returns whether this column holds PDOs.
      void setType​(java.lang.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RdcTableColumnConfiguration

        public RdcTableColumnConfiguration​(RdcTableConfiguration<S> tableConfiguration,
                                           java.lang.String name,
                                           java.lang.String displayedName)
        Create a column config.
        Parameters:
        tableConfiguration - the table config
        name - the column's binding path
        displayedName - the displayed column name
    • Method Detail

      • setType

        public void setType​(java.lang.Class<T> type)
        Specified by:
        setType in interface org.tentackle.fx.table.TableColumnConfiguration<S,​T>
        Overrides:
        setType in class org.tentackle.fx.table.DefaultTableColumnConfiguration<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:
        createTableCell in class org.tentackle.fx.table.DefaultTableColumnConfiguration<S,​T>
      • createTreeTableCell

        protected javafx.scene.control.TreeTableCell<S,​T> createTreeTableCell​(javafx.scene.control.TreeTableColumn<S,​T> column)
        Overrides:
        createTreeTableCell in class org.tentackle.fx.table.DefaultTableColumnConfiguration<S,​T>