Class InvertedToggleAction

All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, SettingChangedListener

public class InvertedToggleAction extends LocalizedAction implements SettingChangedListener
The inverse of a ToggleAction. If the original toggle would be checked, the inverted toggle is unchecked (and vice versa).
See Also:
  • Constructor Details

    • InvertedToggleAction

      public InvertedToggleAction(String id, Localization localization, Toggle toggle)
      Constructs a new inverted toggle action.
      Parameters:
      id - the id for localization
      localization - the source for localization strings
      toggle - the underlying toggle setting
  • Method Details