Class DefaultTableColumnConfiguration<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:
    TableColumnConfiguration<S,​T>

    public class DefaultTableColumnConfiguration<S,​T>
    extends java.lang.Object
    implements TableColumnConfiguration<S,​T>
    Default configuration for a table column.
    Author:
    harald
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected javafx.util.Callback<javafx.scene.control.TableColumn<S,​T>,​javafx.scene.control.TableCell<S,​T>> createCellFactory()
      Creates the cell factory.
      protected javafx.beans.value.ObservableValue<T> createCellValue​(javafx.scene.control.TableColumn.CellDataFeatures<S,​T> cdf)
      Creates the cell value for a given row object.
      protected javafx.util.Callback<javafx.scene.control.TableColumn.CellDataFeatures<S,​T>,​javafx.beans.value.ObservableValue<T>> createCellValueFactory()
      Creates the cell value factory.
      protected javafx.scene.control.TableCell<S,​T> createTableCell​(javafx.scene.control.TableColumn<S,​T> column)
      Creates a table cell.
      protected FxTableColumn<S,​T> createTableColumn()
      Creates the table column.
      javafx.geometry.Pos getAlignment()
      Defines the alignment of the column.
      FxTableBinding<S,​T> getBinding()
      Gets the binding for this column.
      java.lang.Boolean getCaseConversion()
      Gets the case conversion.
      java.text.DateFormat getDateFormat()
      Gets the date format.
      java.time.format.DateTimeFormatter getDateTimeFormatter()
      Gets the date or time formatter.
      java.lang.String getDisplayedName()
      Gets the column name displayed in the column header.
      java.lang.Boolean getEditable()
      Returns whether the column is editable.
      FxComponent getEditor()
      Gets the editor component.
      java.lang.reflect.Type getGenericType()
      Gets the generic type.
      java.lang.String getInvalidChars()
      Gets invalid characters.
      java.lang.Integer getMaxColumns()
      Gets the maximum columns for text cell editors.
      java.lang.String getName()
      Gets the column name.
      This is usually the binding path.
      The name is also used as a key to the table preferences.
      java.text.DecimalFormat getNumberFormat()
      Gets the number format.
      java.lang.String getPattern()
      Defines the format for numeric or date/time-types.
      If null is returned a default format will be used according to the column class.
      java.lang.Integer getScale()
      Gets the scale for fractional numeric cell editors.
      java.lang.Boolean getSummable()
      Returns whether the column is summable.
      FxTableColumn<S,​T> getTableColumn()
      Gets the table column.
      DefaultTableConfiguration<S> getTableConfiguration()
      Gets the table configuration.
      java.lang.Class<T> getType()
      Determines the class for a given column.
      java.lang.String getValidChars()
      Gets allowed characters.
      java.lang.Boolean isAutoSelect()
      Gets the autoselect flag.
      java.lang.Boolean isBlankZero()
      Defines the "blankzero" attribute of the column.
      boolean isEditable()
      Returns whether column is editable.
      boolean isSummable()
      Determines whether the column is summable.
      java.lang.Boolean isUnsigned()
      Returns whether a numeric field is unsigned or signed.
      void setAlignment​(javafx.geometry.Pos alignment)
      Sets the alignment within the cell.
      void setAutoSelect​(java.lang.Boolean autoSelect)
      Sets the autoselect feature.
      void setBinding​(FxTableBinding<S,​T> binding)
      Sets the binding.
      void setBlankZero​(java.lang.Boolean blankZero)
      Sets whether to blank out numeric zero values.
      void setCaseConversion​(java.lang.Boolean caseConversion)
      Sets the case conversion.
      void setDisplayedName​(java.lang.String displayedName)
      Sets the column name displayed in the column header.
      void setEditable​(java.lang.Boolean editable)
      Sets whether the column is editable.
      void setEditor​(FxComponent editor)
      Sets the editor component.
      void setGenericType​(java.lang.reflect.Type genericType)
      Sets the generic type.
      void setInvalidChars​(java.lang.String invalidChars)
      Sets invalid characters.
      void setMaxColumns​(java.lang.Integer maxColumns)
      Sets the max columns.
      void setPattern​(java.lang.String pattern)
      Sets the formatting string.
      void setScale​(java.lang.Integer scale)
      Sets the numeric scale.
      void setSummable​(java.lang.Boolean summable)
      Sets whether the column is summable.
      void setType​(java.lang.Class<T> type)
      Sets the column type.
      void setUnsigned​(java.lang.Boolean unsigned)
      Sets whether a numeric field is unsigned or signed.
      void setValidChars​(java.lang.String validChars)
      Sets allowed characters.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait