T
- the type of the tree cell contribution targetpublic interface PseudoClassTreeCellContribution<T> extends TreeCellContribution<T>
TreeCellContribution
implementation which provides the
default behavior of setting the state of the pseudo-class named by
getPseudoClassName(TreeItemData)
to true on applicable tree item
nodes.Modifier and Type | Method and Description |
---|---|
default <U extends T> |
configureCell(TreeItemData<U> data,
javafx.scene.Node content)
Used to change the default cell configuration strategy.
|
default <U extends T> |
getPseudoClassName(TreeItemData<U> data) |
appliesTo, getDataType
default <U extends T> javafx.scene.Node configureCell(TreeItemData<U> data, javafx.scene.Node content)
TreeCellContribution
Here is also a good place to mark a cell with a pseudo-class to flag for custom css styling.
configureCell
in interface TreeCellContribution<T>
U
- the specific type of the tree itemdata
- the data contents of the tree itemcontent
- the current cell content for the tree itemdefault <U extends T> java.lang.String getPseudoClassName(TreeItemData<U> data)
U
- the specific type of the tree itemdata
- the data contents of the tree item