| java.lang.Object com.sun.midp.automation.AutoEventDataFactory
AutoEventDataFactory | final public class AutoEventDataFactory (Code) | | Factory creating event's data for various types
of events.
|
KEY_PRESSED | final public static int KEY_PRESSED(Code) | | Key event: key is pressed
|
KEY_RELEASED | final public static int KEY_RELEASED(Code) | | Key event: key is released
|
KEY_REPEATED | final public static int KEY_REPEATED(Code) | | Key event: key is repeated
|
PEN_DRAGGED | final public static int PEN_DRAGGED(Code) | | Pen event: pen is dragged
|
PEN_PRESSED | final public static int PEN_PRESSED(Code) | | Pen event: pen is pressed
|
PEN_RELEASED | final public static int PEN_RELEASED(Code) | | Pen event: pen is released
|
createCommandEventData | public static AutoEventData createCommandEventData(int type)(Code) | | Creates event's data for command event.
Parameters: type - type of command event AutoEventData representing event's data for command event |
createFromStream | public static AutoEventData createFromStream(DataInputStream stream)(Code) | | Creates event's data from input stream
Parameters: stream - stream to read data from. AutoEventData constructed from stream. |
createInputMethodEventData | public static AutoEventData createInputMethodEventData(String str)(Code) | | Creates event's data for input method event.
Parameters: str - entered string AutoEventData representing event's data for IM event |
createKeyEventData | public static AutoEventData createKeyEventData(int type, int code)(Code) | | Creates event's data for key event.
Parameters: type - type of event: KEY_PRESSED, KEY_REPEATED, KEY_RELEASED Parameters: code - key's code AutoEventData representing event's data for key event |
createPenEventData | public static AutoEventData createPenEventData(int type, int x, int y)(Code) | | Creates event's data for pen event.
Parameters: type - type of event: PEN_PRESSED, PEN_DRAGGED, PEN_RELEASED Parameters: x - x coordinate of the pen Parameters: y - y coordinate of the pen AutoEventData representing event's data for pen event |
|
|