|
|||||||||
Home >> All >> javax >> swing >> [ text overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
javax.swing.text
Class DefaultEditorKit.DefaultKeyTypedAction

java.lang.Objectjavax.swing.AbstractAction
javax.swing.text.TextAction
javax.swing.text.DefaultEditorKit.DefaultKeyTypedAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- Enclosing class:
- DefaultEditorKit
- public static class DefaultEditorKit.DefaultKeyTypedAction
- extends TextAction
This action is executed as default action when a KEY_TYPED event is received and no keymap entry exists for that. The purpose of this action is to filter out a couple of characters. This includes the control characters and characters with the ALT-modifier. If an event does not get filtered, it is inserted into the document of the text component. If there is some text selected in the text component, this text will be replaced.
Field Summary |
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
DefaultEditorKit.DefaultKeyTypedAction()
Creates a new DefaultKeyTypedAction . |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent event)
Performs the Action . |
Methods inherited from class javax.swing.text.TextAction |
augmentList, getFocusedComponent, getTextComponent |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
DefaultEditorKit.DefaultKeyTypedAction
public DefaultEditorKit.DefaultKeyTypedAction()
- Creates a new
DefaultKeyTypedAction
.
Method Detail |
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent event)
- Performs the
Action
.
|
|||||||||
Home >> All >> javax >> swing >> [ text overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |