org.openstreetmap.josm.gui.dialogs
Class ToggleDialog.ToggleDialogAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.openstreetmap.josm.actions.JosmAction
          extended by org.openstreetmap.josm.gui.dialogs.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:

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openstreetmap.josm.actions.JosmAction
sc
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
private ToggleDialog.ToggleDialogAction(java.lang.String name, java.lang.String iconName, java.lang.String tooltip, Shortcut shortcut, java.lang.String prefname)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void destroy()
          Called when the object has been destroyed.
 
Methods inherited from class org.openstreetmap.josm.actions.JosmAction
getCurrentDataSet, getEditLayer, getShortcut, initEnabledState, installAdapters, setTooltip, updateEnabledState, updateEnabledState
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToggleDialog.ToggleDialogAction

private ToggleDialog.ToggleDialogAction(java.lang.String name,
                                        java.lang.String iconName,
                                        java.lang.String tooltip,
                                        Shortcut shortcut,
                                        java.lang.String prefname)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)

destroy

public void destroy()
Description copied from interface: Destroyable
Called when the object has been destroyed.

Specified by:
destroy in interface Destroyable
Overrides:
destroy in class JosmAction


JOSM