|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines the interface for any class that listens for button events.
| Method Summary | |
void |
buttonPressed(int slot)
This method is called by the DrinkMachine class when a button is depressed. |
void |
buttonReleased(int slot)
This method is called by the DrinkMachine class when a button is released. |
| Method Detail |
public void buttonPressed(int slot)
slot - The slot which represents the button pressed.public void buttonReleased(int slot)
slot - The slot which represents the button released.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||