T - Type of ListSelectionView to which this ListSelectionAction will be added.public abstract static class ListSelectionView.ListSelectionAction<T> extends Action
action list.| Constructor and Description |
|---|
ListSelectionAction(javafx.scene.Node graphic)
Creates a new instance of ListSelectionAction with the graphic node.
|
ListSelectionAction(javafx.scene.Node graphic,
java.lang.String text)
Creates a new instance of ListSelectionAction with the provided graphic and text.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
initialize(javafx.scene.control.ListView<T> sourceListView,
javafx.scene.control.ListView<T> targetListView)
Can be used to define properties or bindings for actions which are directly dependent
on the list views.
|
protected void |
setEventHandler(java.util.function.Consumer<javafx.event.ActionEvent> eventHandler) |
acceleratorProperty, disabledProperty, getAccelerator, getEventHandler, getGraphic, getLongText, getProperties, getStyle, getStyleClass, getText, graphicProperty, handle, isDisabled, isSelected, lock, longTextProperty, selectedProperty, setAccelerator, setDisabled, setGraphic, setLongText, setSelected, setStyle, setText, styleProperty, textPropertypublic ListSelectionAction(javafx.scene.Node graphic)
graphic - Graphic to be shown in relation to this action.public ListSelectionAction(javafx.scene.Node graphic,
java.lang.String text)
graphic - Graphic to be shown in relation to this action.text - The text for the Action.public abstract void initialize(javafx.scene.control.ListView<T> sourceListView, javafx.scene.control.ListView<T> targetListView)
sourceListView - The source list viewtargetListView - The target list viewprotected final void setEventHandler(java.util.function.Consumer<javafx.event.ActionEvent> eventHandler)
setEventHandler in class Action