Package org.jdesktop.swingx.plaf.basic
Class BasicDatePickerUI.EditorCancelAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- 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
Fields Modifier and Type Field Description 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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
-
Constructor Summary
Constructors Constructor Description EditorCancelAction(JFormattedTextField field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
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
-
-
-
-
Field Detail
-
TEXT_CANCEL_KEY
public static final String TEXT_CANCEL_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EditorCancelAction
public 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)
-
-