|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BalanceBoardListener
Listener interface for the balance baord. Contains listener information for all board channels. Note that any time-intensive tasks should be executed in their own threads, as otherwise, they will block the event-dispatch thread.
Method Summary | |
---|---|
void |
buttonInputReceived(BBButtonEvent evt)
Fires whenever data is received from the button. |
void |
combinedInputReceived(BBCombinedEvent evt)
Fires whenever input is received on the regular input reports (0x30...0x3f). |
void |
disconnected()
Fires when the BalanceBoard disconnects. |
void |
massInputReceived(BBMassEvent evt)
Fires whenever data is received from the mass sensors. |
void |
statusReported(BBStatusEvent evt)
Fires whenever status data is received. |
Method Detail |
---|
void buttonInputReceived(BBButtonEvent evt)
evt
- the BBButtonEvent containing information on the button.combinedInputReceived(BBCombinedEvent)
void statusReported(BBStatusEvent evt)
evt
- the BBStatusEvent containing status information.void massInputReceived(BBMassEvent evt)
evt
- the BBMassEvent containing mass information.combinedInputReceived(BBCombinedEvent)
void combinedInputReceived(BBCombinedEvent evt)
evt
- a combined event, containing button press and mass events.buttonInputReceived(BBButtonEvent)
,
massInputReceived(BBMassEvent)
void disconnected()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |