|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectguk.im.KeyboardMap
A virtual keyboard map. It uses its own thread do udate the display.
Nested Class Summary | |
class |
KeyboardMap.KeyGUI
|
Constructor Summary | |
KeyboardMap(GateIM im,
LocaleHandler handler,
State state)
Builds the keyboard map. |
Method Summary | |
void |
addJob(Object job)
Adds a job to the job list of the thread. |
void |
run()
The run method for the thread responsible for updating the display. |
void |
setAlt(boolean alt)
Is the Alt key pressed? |
void |
setCtrl(boolean ctrl)
Is the Ctrl key pressed? |
void |
setShift(boolean shift)
Is the Shift key pressed? |
void |
update(LocaleHandler newHandler,
State newState)
Updates the keyboard map for a new Locale or a new state of the current locale handler. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeyboardMap(GateIM im, LocaleHandler handler, State state)
im
- the input methodhandler
- the active Locale handlerstate
- the state of the handler.Method Detail |
public void run()
run
in interface Runnable
public void addJob(Object job)
String
or an InputEvent
The string can be one of
job
- public void update(LocaleHandler newHandler, State newState)
newHandler
- newState
- public void setShift(boolean shift)
shift
- public void setAlt(boolean alt)
alt
- public void setCtrl(boolean ctrl)
ctrl
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |