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

Constructor Index

 o CompositeKeyAction()
Constructs an empty composite key action.

Method Index

 o append(KeyAction)
Appends the specified key action object into this composite key action.
 o getAction(int)
Returns the key action object at the specified index.
 o getActionCount()
Returns the number of key action objects which compose this composite key action.
 o getName()
Returns the name of the composite key action object.
 o perform(char)
Performs the composite key action with the specified typed key character.

Constructors

 o CompositeKeyAction
 public CompositeKeyAction()
Constructs an empty composite key action.

Methods

 o getName
 public String getName()
Returns the name of the composite key action object.

 o perform
 public void perform(char keyChar)
Performs the composite key action with the specified typed key character.

Parameters:
keyChar - the typed key character.
 o getActionCount
 public int getActionCount()
Returns the number of key action objects which compose this composite key action.

 o getAction
 public KeyAction getAction(int index)
Returns the key action object at the specified index.

Parameters:
index - the index into the composite key action.
 o 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