xworker.javafx.control.TableColumnBase.dml Maven / Gradle / Ivy
Table-like controls (such as TableView and TreeTableView) are made up of zero or more instances of a concrete TableColumnBase subclass (TableColumn and TreeTableColumn, respectively). Each table column in a table is responsible for displaying (and editing) the contents of that column. As well as being responsible for displaying and editing data for a single column, a table column also contains the necessary properties to:
- Be resized (using minWidth/prefWidth/maxWidth and width properties)
- Have its visibility toggled
- Display header text
- Display any nested columns it may contain
- Have a context menu when the user right-clicks the column header area
- Have the contents of the table be sorted (using comparator, sortable and sortType).
]]>
Comparator function used when sorting this table column.
]]>
This menu will be shown whenever the user right clicks within the header area of this TableColumnBase.
]]>
Specifies whether this table column allows editing.
]]>
The graphic to show in the table column to allow the user to indicate graphically what is in the column.
]]>
The id of this TableColumnBase.
]]>
The maximum width the table column is permitted to be resized to.
]]>
The minimum width the table column is permitted to be resized to.
]]>
The preferred width of the TableColumn.
]]>
Used to indicate whether the width of this column can change.
]]>
A boolean property to toggle on and off the 'sortability' of this column.
]]>
The node to use as the "sort arrow", shown to the user in situations where the table column is part of the sort order.
]]>
This is the text to show in the header for this column.
]]>
Toggling this will immediately toggle the visibility of this column, and all children columns.
]]>
A string representation of the CSS style associated with this TableColumnBase instance.
]]>