|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITriggerListener
An interface for listeners of ITriggerState
changes. Subclasses should specify
for which kinds of trigger states they want to receive notifications in getTriggerStates()
and a specific trigger state needs to be handled in handle(ITriggerState)
.
Implementations are then registered and coordinated by KiVi
.
Method Summary | |
---|---|
Class<? extends ITriggerState>[] |
getTriggerStates()
Get the array of trigger state classes this combination listens to. |
void |
handle(ITriggerState triggerState)
Handle one specific trigger state that just changed. |
Method Detail |
---|
Class<? extends ITriggerState>[] getTriggerStates()
void handle(ITriggerState triggerState)
triggerState
- the trigger state responsible for the triggering
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |