Class ToggleAction

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

public class ToggleAction extends LocalizedAction implements SettingChangedListener
Action backed by a Toggle setting. GUI components based on this action are typically represented by a check box.
See Also:
  • Constructor Details

    • ToggleAction

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