Class ToggleBooleanAction

All Implemented Interfaces:
EventListener, javafx.event.EventHandler<javafx.event.ActionEvent>, Action, PropertyBean, Disableable

public class ToggleBooleanAction extends AbstractActivityAction<Activity>
This action toggles the state of its boolean property.
Author:
Werner Randelshofer
  • Constructor Details

    • ToggleBooleanAction

      public ToggleBooleanAction(Activity activity, @Nullable String id, @Nullable Resources labels, javafx.beans.property.BooleanProperty value)
  • Method Details

    • onActionPerformed

      protected void onActionPerformed(javafx.event.ActionEvent event, Activity activity)
      Description copied from class: AbstractActivityAction
      This method is invoked when the action is not disabled and the event is not consumed.
      Specified by:
      onActionPerformed in class AbstractActivityAction<Activity>
      Parameters:
      event - the action event
      activity - the activity