Class FXActionCheck
java.lang.Object
org.controlsfx.control.action.Action
madkit.action.ActionWithData
madkit.gui.ActionFromEnum
madkit.gui.FXActionCheck
- All Implemented Interfaces:
EventListener
,EventHandler<ActionEvent>
Class representing a check action in the JavaFX GUI. That is an action that make a
state change from
false
to true
when it is performed.-
Property Summary
-
Constructor Summary
ConstructorsConstructorDescriptionFXActionCheck
(ActionData actionInfo, Consumer<ActionEvent> eventHandler) Builds a new action usingActionData
. -
Method Summary
Methods inherited from class madkit.action.ActionWithData
setActionData
Methods inherited from class org.controlsfx.control.action.Action
acceleratorProperty, disabledProperty, getAccelerator, getEventHandler, getGraphic, getLongText, getProperties, getStyle, getStyleClass, getText, graphicProperty, handle, isDisabled, isSelected, lock, longTextProperty, selectedProperty, setAccelerator, setDisabled, setEventHandler, setGraphic, setLongText, setSelected, setStyle, setText, styleProperty, textProperty
-
Constructor Details
-
FXActionCheck
Builds a new action usingActionData
.- Parameters:
actionInfo
- the action information used to create the actioneventHandler
- the event handler to be executed when the action is performed
-