public static class Button.ButtonListenerToButtonEvents extends Object implements Button.ButtonListener
Button.ButtonListener
.
This implementation sends some MicroUI Buttons events using the button ID. It targets the common MicroUI Button
generator identified by the tag EventButton.COMMON_MICROUI_GENERATOR_TAG
.
This tag can be changed overriding the method getMicroUIGeneratorTag()
.
Constructor and Description |
---|
ButtonListenerToButtonEvents() |
Modifier and Type | Method and Description |
---|---|
protected String |
getMicroUIGeneratorTag()
Gets the MicroUI Buttons events generator tag.
|
void |
press(Button widget)
The specified button has been pressed.
|
void |
release(Button widget)
The specified button has been released.
|
protected String getMicroUIGeneratorTag()
microui/microui.xml
public void press(Button widget)
Button.ButtonListener
press
in interface Button.ButtonListener
widget
- the button that has been pressed.public void release(Button widget)
Button.ButtonListener
release
in interface Button.ButtonListener
widget
- the button that has been released.