org.jdesktop.swingx.plaf.basic
Class BasicDatePickerUI.EditorCancelAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.jdesktop.swingx.plaf.basic.BasicDatePickerUI.EditorCancelAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
BasicDatePickerUI

public class BasicDatePickerUI.EditorCancelAction
extends AbstractAction

The wrapper for the editor cancel action. PENDING: Need to extend TestAction?

See Also:
Serialized Form

Field Summary
static String TEXT_CANCEL_KEY
           
 
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
BasicDatePickerUI.EditorCancelAction(JFormattedTextField field)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          Invoked when an action occurs.
 void uninstall()
          Resets the contained editors actionMap to original and nulls all fields.
 
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
 

Field Detail

TEXT_CANCEL_KEY

public static final String TEXT_CANCEL_KEY
See Also:
Constant Field Values
Constructor Detail

BasicDatePickerUI.EditorCancelAction

public BasicDatePickerUI.EditorCancelAction(JFormattedTextField field)
Method Detail

uninstall

public void uninstall()
Resets the contained editors actionMap to original and nulls all fields.

NOTE: after calling this method the action must not be used! Create a new one for the same or another editor.


actionPerformed

public void actionPerformed(ActionEvent e)
Description copied from interface: java.awt.event.ActionListener
Invoked when an action occurs.