info.aduna.linkmap.action
Class PreferencesAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by info.aduna.linkmap.action.LinkMapAction
          extended by info.aduna.linkmap.action.PreferencesAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class PreferencesAction
extends LinkMapAction

PreferencesAction is a LinkMapAction that toggles the visibility of a LinkConfigPanel inside a JDialog. Objects can be informed about the current visibility of the dialog by registering as PreferencesActionListeners.

See Also:
Serialized Form

Field Summary
 
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
PreferencesAction(LinkMap map, Component parent)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          Toggles the visibility of the DialogTemplate containing the PreferencesTabbedPane.
 void addPreferencesActionListener(PreferencesActionListener listener)
           
 JDialog getDialog()
           
 LinkConfigPanel getLinkConfigPanel()
           
 void removePreferencesActionListener(PreferencesActionListener listener)
           
 
Methods inherited from class info.aduna.linkmap.action.LinkMapAction
getMap, getParent
 
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

PreferencesAction

public PreferencesAction(LinkMap map,
                         Component parent)
Method Detail

getLinkConfigPanel

public LinkConfigPanel getLinkConfigPanel()

getDialog

public JDialog getDialog()

actionPerformed

public void actionPerformed(ActionEvent e)
Toggles the visibility of the DialogTemplate containing the PreferencesTabbedPane.


addPreferencesActionListener

public void addPreferencesActionListener(PreferencesActionListener listener)

removePreferencesActionListener

public void removePreferencesActionListener(PreferencesActionListener listener)


Copyright © 1997-2008 Aduna. All Rights Reserved.