|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICombination
A combination connects triggers and effects, it receives a set of events from triggers and determines which effects need to be executed.
Method Summary | |
---|---|
Class<? extends ITriggerState>[] |
getTriggerStates()
Get the array of trigger state classes this combination listens to. |
boolean |
isActive()
Check whether this combination is active. |
void |
setActive(boolean active)
Change the active status of this combination. |
List<IEffect> |
trigger(ITriggerState triggerState)
Trigger the execution of this combination. |
void |
undo()
Attempt to undo all active effects, for example when shutting down view management or when disabling this combination. |
Method Detail |
---|
List<IEffect> trigger(ITriggerState triggerState)
triggerState
- the trigger state responsible for the triggering
Class<? extends ITriggerState>[] getTriggerStates()
void undo()
boolean isActive()
void setActive(boolean active)
active
- new active status
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |