- Enclosing class:
If the event doesn't get filtered, it will try to insert
content into the text editor. The content is fetched
from the command string of the ActionEvent. The text
entry is done through the
method on the target text component. This is the
action that will be fired for most text entry tasks.
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeans
has been added to the
Constructor SummaryConstructorDescriptionCreates this object with the appropriate identifier.
Methods declared in class javax.swing.text.TextAction
augmentList, getFocusedComponent, getTextComponent
Methods declared in class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
Methods declared in class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
DefaultKeyTypedActionpublic DefaultKeyTypedAction()Creates this object with the appropriate identifier.
actionPerformedpublic void actionPerformed
(ActionEvent e)The operation to perform when this action is triggered.
e- the action event