public class TiKeyboard extends Object implements ITiEventListener
Modifier and Type | Method and Description |
---|---|
static TiKeyboard |
getInstance()
Gets the TiKeyboard instance
|
TiEventType |
getType()
the event type of the listener
|
void |
onEvent(ITiEvent evt)
triggered when the event occurs
|
void |
setEventListener(ITiKeyboardListener lc)
Set the TiKeyboard event listener
|
public static TiKeyboard getInstance()
public TiEventType getType()
ITiEventListener
getType
in interface ITiEventListener
public void onEvent(ITiEvent evt)
ITiEventListener
onEvent
in interface ITiEventListener
evt
- event objectpublic void setEventListener(ITiKeyboardListener lc) throws IOException
lc
- listener or nullIOException
- If a TiKeyboard error occurs