|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.monica.javacom.virtualinput.MJCKeyListener
This class if responsible for handling keyboard events from the user. The catched keyboard events will be passed to the MJCTerminal below.
Constructor Summary | |
MJCKeyListener()
Default constructor. |
Method Summary | |
MJCConfiguration |
getConfiguration()
Returns the MJCConfiguration with which this object is customized. |
java.lang.String |
getVirtualInputName()
Returns the MJC name of the MJCVirtualInput. |
java.lang.String |
getVirtualInputVersion()
Returns the MJC version of the MJCVirtualInput. |
MJCWriteable |
getWriteable()
Returns the MJCWriteable to which this MCJWriter will write. |
java.lang.String |
getWriterName()
Returns the MJC name of the MJCWriter. |
java.lang.String |
getWriterVersion()
Returns the MJC version of the MJCWriter. |
void |
keyPressed(java.awt.event.KeyEvent e)
Handler method for the key pressing event. |
void |
keyReleased(java.awt.event.KeyEvent e)
Handler method for the key releasing event. |
void |
keyTyped(java.awt.event.KeyEvent e)
Handler method for the key typing event. |
void |
setConfiguration(MJCConfiguration configuration)
Sets the MJCConfiguration for this object. |
void |
setWriteable(MJCWriteable writeable)
Sets the MJCWriteable to which this MJCWriter will write. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MJCKeyListener()
Method Detail |
public java.lang.String getVirtualInputName()
getVirtualInputName
in interface MJCVirtualInput
public java.lang.String getVirtualInputVersion()
getVirtualInputVersion
in interface MJCVirtualInput
public java.lang.String getWriterName()
getWriterName
in interface MJCWriter
public java.lang.String getWriterVersion()
getWriterVersion
in interface MJCWriter
public void setWriteable(MJCWriteable writeable)
setWriteable
in interface MJCWriter
MJCWriteable
- writeable: the MJCWriteable to which this
MJCWriter will writepublic MJCWriteable getWriteable()
getWriteable
in interface MJCWriter
public void setConfiguration(MJCConfiguration configuration)
setConfiguration
in interface MJCConfigureable
MJCConfiguration
- configuration: the MJCConfiguration
object for the customizationpublic MJCConfiguration getConfiguration()
getConfiguration
in interface MJCConfigureable
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
KeyEvent
- e: the KeyEvent generatedpublic void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
KeyEvent
- e: the KeyEvent generatedpublic void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
KeyEvent
- e: the KeyEvent generated
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |