net.jhid.core.listeners
Interface IButtonListener

All Known Subinterfaces:
IDeviceListener
All Known Implementing Classes:
TraceListener

public interface IButtonListener

Listends for a button's state change.


Method Summary
 void stateChanged(IButton aButton, boolean aPressed)
          Called when the button changes state.
 

Method Detail

stateChanged

public void stateChanged(IButton aButton,
                         boolean aPressed)
Called when the button changes state.

Parameters:
aButton - The button that changed state.
aPressed - The new state of the button.