|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.event.KeyAdapter
net.sf.banglapad.BanglaKeyListener
public class BanglaKeyListener
BanglaKeyListener
Constructor Summary | |
---|---|
BanglaKeyListener(javax.swing.JComboBox comboBox)
Creates a new VietKeyListener . |
|
BanglaKeyListener(javax.swing.text.JTextComponent textComponent)
Creates a new VietKeyListener . |
Method Summary | |
---|---|
void |
keyAction(java.awt.event.KeyEvent e)
FIXME: keyAction is called in the KeyTyped listener. |
void |
keyTyped(java.awt.event.KeyEvent e)
Invoked when a key has been typed. |
static void |
setMacroMap(java.util.Properties shortHandMap)
Sets map for shorthand. |
static void |
setPaliSanskritModeEnabled(boolean mode)
Sets Pali-Sanskrit/Dega mode for key input. |
static void |
setSmartMark(boolean smartMark)
Sets the SmartMark capability on or off. |
static void |
setVietModeEnabled(boolean mode)
Sets Vietnamese mode for key input. |
Methods inherited from class java.awt.event.KeyAdapter |
---|
keyPressed, keyReleased |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BanglaKeyListener(javax.swing.text.JTextComponent textComponent)
VietKeyListener
.
textComponent
- the JTextComponent to be listenedpublic BanglaKeyListener(javax.swing.JComboBox comboBox)
VietKeyListener
.
comboBox
- the JComboBox to be listenedMethod Detail |
---|
public static void setVietModeEnabled(boolean mode)
mode
- true to enable entry of Vietnamese characters (enabled by default)public static void setPaliSanskritModeEnabled(boolean mode)
This capability is dependent on VIQR input method being selected.
mode
- true to enable entry of Pali-Sanskrit/Dega characters in addition to Vietnamesepublic static void setSmartMark(boolean smartMark)
smartMark
- true to enable automatic placement of diacritical marks on appropriate vowels in a word;public static void setMacroMap(java.util.Properties shortHandMap)
shortHandMap
- the list of shorthand sequencespublic void keyAction(java.awt.event.KeyEvent e)
e
- is the KeyEvent found from KeyTypedpublic void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
keyTyped
in class java.awt.event.KeyAdapter
e
- invoked when a key has been typed. This event occurs when a key press is followed by a key release.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |