org.wiigee.event
Interface ButtonListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
ProcessingUnit, TriggeredProcessingUnit

public interface ButtonListener
extends java.util.EventListener

This interface has to be implemented if the application should react to button press/releases.


Method Summary
 void buttonPressReceived(ButtonPressedEvent event)
          This method would be called if a Device button has been pressed.
 void buttonReleaseReceived(ButtonReleasedEvent event)
          This method would be called if a Device button has been released.
 

Method Detail

buttonPressReceived

void buttonPressReceived(ButtonPressedEvent event)
This method would be called if a Device button has been pressed.

Parameters:
event - The button representation as an event.

buttonReleaseReceived

void buttonReleaseReceived(ButtonReleasedEvent event)
This method would be called if a Device button has been released.

Parameters:
event - This is actually a meta-event NOT containing which button has been released.