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
The wrapper for the editor cancel action.
PENDING: Need to extend TestAction?
- See Also:
-
Field Summary
FieldsFields inherited from class AbstractAction
changeSupport, enabledFields inherited from interface 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidinstall(JFormattedTextField editor) voidResets the contained editors actionMap to original and nulls all fields.Methods inherited from class AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
editor
-
cancelAction
-
TEXT_CANCEL_KEY
- See Also:
-
-
Constructor Details
-
EditorCancelAction
-
-
Method Details
-
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.
-
install
- Parameters:
editor-
-
actionPerformed
-