java.awt.event.ActionListener
, java.io.Serializable
, java.lang.Cloneable
, java.util.EventListener
, javax.swing.Action
public class BasicDatePickerUI.EditorCancelAction
extends javax.swing.AbstractAction
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
TEXT_CANCEL_KEY |
Constructor | Description |
---|---|
EditorCancelAction(javax.swing.JFormattedTextField field) |
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
|
void |
uninstall() |
Resets the contained editors actionMap to original and
nulls all fields.
|
public static final java.lang.String TEXT_CANCEL_KEY
public EditorCancelAction(javax.swing.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(java.awt.event.ActionEvent e)