All Packages Class Hierarchy This Package Previous Next Index
Class jp.kyasu.awt.text.CompositeKeyAction
java.lang.Object
|
+----jp.kyasu.awt.text.CompositeKeyAction
- public class CompositeKeyAction
- extends Object
- implements KeyAction, Serializable
The CompositeKeyAction
object is composed of multiple
KeyAction
objects and it implements the KeyAction
interface.
- Version:
- 27 Dec 1997
- Author:
- Kazuki YASUMATSU
- See Also:
- KeyAction, KeyBinding, Keymap, TextEditController
-
CompositeKeyAction()
- Constructs an empty composite key action.
-
append(KeyAction)
- Appends the specified key action object into this composite key action.
-
getAction(int)
- Returns the key action object at the specified index.
-
getActionCount()
- Returns the number of key action objects which compose this composite
key action.
-
getName()
- Returns the name of the composite key action object.
-
perform(char)
- Performs the composite key action with the specified typed key
character.
CompositeKeyAction
public CompositeKeyAction()
- Constructs an empty composite key action.
getName
public String getName()
- Returns the name of the composite key action object.
perform
public void perform(char keyChar)
- Performs the composite key action with the specified typed key
character.
- Parameters:
- keyChar - the typed key character.
getActionCount
public int getActionCount()
- Returns the number of key action objects which compose this composite
key action.
getAction
public KeyAction getAction(int index)
- Returns the key action object at the specified index.
- Parameters:
- index - the index into the composite key action.
append
public synchronized void append(KeyAction keyAction)
- Appends the specified key action object into this composite key action.
- Parameters:
- keyAction - the key action object.
All Packages Class Hierarchy This Package Previous Next Index