All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xworker.javafx.control.TableColumn.dml Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version



    A TableView is made up of a number of TableColumn instances. Each TableColumn 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 TableColumn 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)
]]>
The cell factory for all cells in this column.

]]>
The cell value factory needs to be set to specify how to populate all cells within a single TableColumn.

]]>
Used to state whether this column, if it is part of a sort order (see TableView.getSortOrder() for more details), should be sorted in ascending or descending order.

]]>
This is the text to show in the header for this column.

]]>
The sort policy specifies how sorting in this TableView should be performed.

需要实现的方法:

  • TableCell<S,T> call(TableColumn<S,T> param)
    创建TableCell,默认实现通过子节点创建。

 

]]>
用于定义动作行为,通过子节点添加具体的动作行为。

只有第一个动作模型(本节点类型)生效,会忽略后面添加的动作模型。

]]>
The cell value factory needs to be set to specify how to populate all cells within a single TableColumn.

需要实现的方法:

  • ObservableValue<T> call(TableColumn.CellDataFeatures<S,T> param)

 

]]>
用于定义动作行为,通过子节点添加具体的动作行为。

只有第一个动作模型(本节点类型)生效,会忽略后面添加的动作模型。

]]>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy