Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
static class: JFormattedTextField.CancelAction [javadoc | source]
java.lang.Object
   javax.swing.AbstractAction
      javax.swing.text.TextAction
         javax.swing.JFormattedTextField$CancelAction

All Implemented Interfaces:
    Action, Cloneable, Serializable

CancelAction will reset the value in the JFormattedTextField when actionPerformed is invoked. It will only be enabled if the focused component is an instance of JFormattedTextField.
Fields inherited from javax.swing.AbstractAction:
enabled,  changeSupport
Constructor:
 public CancelAction() 
Method from javax.swing.JFormattedTextField$CancelAction Summary:
actionPerformed,   isEnabled
Methods from javax.swing.text.TextAction:
augmentList,   getFocusedComponent,   getTextComponent
Methods from javax.swing.AbstractAction:
addPropertyChangeListener,   clone,   firePropertyChange,   getKeys,   getPropertyChangeListeners,   getValue,   hasSelectedKey,   isEnabled,   isSelected,   putValue,   removePropertyChangeListener,   setEnabled,   setEnabledFromAction,   setToolTipTextFromAction,   shouldReconfigure
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.JFormattedTextField$CancelAction Detail:
 public  void actionPerformed(ActionEvent e) 
 public boolean isEnabled()