public class BasicDatePickerUI.EditorCancelAction extends AbstractAction
| Modifier and Type | Field and Description |
|---|---|
static String |
TEXT_CANCEL_KEY |
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
EditorCancelAction(JFormattedTextField field) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
uninstall()
Resets the contained editors actionMap to original and
nulls all fields.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic static final String TEXT_CANCEL_KEY
public EditorCancelAction(JFormattedTextField field)
public void uninstall()
NOTE: after calling this method the action must not be used! Create a new one for the same or another editor.
public void actionPerformed(ActionEvent e)
Copyright © 2017. All Rights Reserved.