Class ToggleDialog.ToggleDialogAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, Destroyable
    Enclosing class:
    ToggleDialog

    public final class ToggleDialog.ToggleDialogAction
    extends JosmAction
    The action to toggle the visibility state of this toggle dialog.

    Emits PropertyChangeEvents for the property selected:

    • true, if the dialog is currently visible
    • false, if the dialog is currently invisible
    See Also:
    Serialized Form
    • Constructor Detail

      • ToggleDialogAction

        private ToggleDialogAction​(java.lang.String name,
                                   java.lang.String iconName,
                                   java.lang.String tooltip,
                                   Shortcut shortcut,
                                   java.lang.String helpId)
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object