public class EventButton extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | COMMON_MICROUI_GENERATOR_TAGUsual MicroUI Buttons generator tag used in platform configuration project ( microui.xml). | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | sendLongEvent(int buttonId)Send a LONG event to the event generator with the MicroUI generator tag  COMMON_MICROUI_GENERATOR_TAG. | 
| static void | sendLongEvent(String buttonsEventGenerator,
             int buttonId)Send a LONG event to the event generator. | 
| static void | sendPressedEvent(int buttonId)Send a PRESSED event to the event generator with the MicroUI generator tag  COMMON_MICROUI_GENERATOR_TAG. | 
| static void | sendPressedEvent(String buttonsEventGenerator,
                int buttonId)Send a PRESSED event to the event generator. | 
| static void | sendReleasedEvent(int buttonId)Send a RELEASED event to the event generator with the MicroUI generator tag
  COMMON_MICROUI_GENERATOR_TAG. | 
| static void | sendReleasedEvent(String buttonsEventGenerator,
                 int buttonId)Send a RELEASED event to the event generator. | 
| static void | sendRepeatedEvent(int buttonId)Send a REPEATED event to the event generator with the MicroUI generator tag
  COMMON_MICROUI_GENERATOR_TAG. | 
| static void | sendRepeatedEvent(String buttonsEventGenerator,
                 int buttonId)Send a REPEATED event to the event generator. | 
public static final String COMMON_MICROUI_GENERATOR_TAG
microui.xml).public static void sendLongEvent(int buttonId)
COMMON_MICROUI_GENERATOR_TAG.buttonId - the button ID, between 0 and 255.sendLongEvent(String, int)public static void sendLongEvent(String buttonsEventGenerator, int buttonId)
 The result of this method is unknown when the given event generator is not a MicroUI Buttons event
 generator.
buttonsEventGenerator - the MicroUI Buttons event generator.buttonId - the button ID, between 0 and 255.public static void sendPressedEvent(int buttonId)
COMMON_MICROUI_GENERATOR_TAG.buttonId - the button ID, between 0 and 255.sendPressedEvent(String, int)public static void sendPressedEvent(String buttonsEventGenerator, int buttonId)
 The result of this method is unknown when the given event generator is not a MicroUI Buttons event
 generator.
buttonsEventGenerator - the MicroUI Buttons event generator.buttonId - the button ID, between 0 and 255.public static void sendReleasedEvent(int buttonId)
COMMON_MICROUI_GENERATOR_TAG.buttonId - the button ID, between 0 and 255.sendReleasedEvent(String, int)public static void sendReleasedEvent(String buttonsEventGenerator, int buttonId)
 The result of this method is unknown when the given event generator is not a MicroUI Buttons event
 generator.
buttonsEventGenerator - the MicroUI Buttons event generator.buttonId - the button ID, between 0 and 255.public static void sendRepeatedEvent(int buttonId)
COMMON_MICROUI_GENERATOR_TAG.buttonId - the button ID, between 0 and 255.sendRepeatedEvent(String, int)public static void sendRepeatedEvent(String buttonsEventGenerator, int buttonId)
 The result of this method is unknown when the given event generator is not a MicroUI Buttons event
 generator.
buttonsEventGenerator - the MicroUI Buttons event generator.buttonId - the button ID, between 0 and 255.