Class FXActionCheck

All Implemented Interfaces:
EventListener, EventHandler<ActionEvent>

public class FXActionCheck extends ActionFromEnum
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.
  • Constructor Details

    • FXActionCheck

      public FXActionCheck(ActionData actionInfo, Consumer<ActionEvent> eventHandler)
      Builds a new action using ActionData.
      Parameters:
      actionInfo - the action information used to create the action
      eventHandler - the event handler to be executed when the action is performed