public static interface Button.ButtonListener
Modifier and Type | Method and Description |
---|---|
void |
buttonPressed(Button button)
invoked when the mouse is pressed inside the button frame
|
void |
buttonReleased(Button button)
invoked after
buttonPressed when the mouse is released |
void buttonPressed(Button button)
button
- the button that invoked this methodvoid buttonReleased(Button button)
buttonPressed
when the mouse is releasedbutton
- the button that invoked this method