Class ArabicKeyTypedAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--javax.swing.text.TextAction
              |
              +--javax.swing.text.DefaultEditorKit.DefaultKeyTypedAction
                    |
                    +--ArborKeyTypedAction
                          |
                          +--ArabicKeyTypedAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, javax.swing.event.CaretListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class ArabicKeyTypedAction
extends ArborKeyTypedAction
implements javax.swing.event.CaretListener

This class provides an Arabic Buckwalter keyboard input method via a TextAction that can be assigned as the default action in a keymap for a JTextComponent. The keyboard is like that used in the XRCE Arabic applet.

This class should be registered to receive CaretEvents, so that it can cancel a compose operation when the text in a text component is changed (e.g., by mouse action).

Version:
$2005-11-14 00:32:54 mdh$
Author:
Malcolm D. Hyman
See Also:
Serialized Form

Fields inherited from class ArborKeyTypedAction
ignoreCaretMovement
 
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
ArabicKeyTypedAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
           
 void caretUpdate(javax.swing.event.CaretEvent ce)
           
 
Methods inherited from class ArborKeyTypedAction
setIgnoreCaretMovement
 
Methods inherited from class javax.swing.text.TextAction
augmentList, getFocusedComponent, getTextComponent
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArabicKeyTypedAction

public ArabicKeyTypedAction()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Overrides:
actionPerformed in class javax.swing.text.DefaultEditorKit.DefaultKeyTypedAction

caretUpdate

public void caretUpdate(javax.swing.event.CaretEvent ce)
Specified by:
caretUpdate in interface javax.swing.event.CaretListener