com.japisoft.framework.dialog.actions
Class StoringLocationAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bycom.japisoft.framework.dialog.actions.AbstractDialogAction
          extended bycom.japisoft.framework.dialog.actions.StoringLocationAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, DialogAction, DialogVisibilityObserver, java.util.EventListener, java.io.Serializable, ToggleActionTransformer

public class StoringLocationAction
extends AbstractDialogAction
implements DialogVisibilityObserver, ToggleActionTransformer

Action for storing / restoring the last dialog location

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com
See Also:
Serialized Form

Field Summary
static int ID
           
static java.lang.String preferenceCat
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
StoringLocationAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void dialogHidden(DialogComponent dialog, DialogFooter footer)
          Called once after the dialog visibility
 void dialogShown(DialogComponent dialog, DialogFooter footer)
          Called once before the dialog visibility
 
Methods inherited from class com.japisoft.framework.dialog.actions.AbstractDialogAction
getActionId, getBundledName, getLabel, isForDialogFooter, isSpecial, prepareBundleValues, prepareStaticValues, setActionDelegate, setForDialogFooter, setSpecial
 
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
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 

Field Detail

ID

public static final int ID
See Also:
Constant Field Values

preferenceCat

public static java.lang.String preferenceCat
Constructor Detail

StoringLocationAction

public StoringLocationAction()
Method Detail

dialogHidden

public void dialogHidden(DialogComponent dialog,
                         DialogFooter footer)
Description copied from interface: DialogVisibilityObserver
Called once after the dialog visibility

Specified by:
dialogHidden in interface DialogVisibilityObserver

dialogShown

public void dialogShown(DialogComponent dialog,
                        DialogFooter footer)
Description copied from interface: DialogVisibilityObserver
Called once before the dialog visibility

Specified by:
dialogShown in interface DialogVisibilityObserver

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class AbstractDialogAction