|
||||||||||
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. Handling of triggers is done by the
ITriggerListener
interface. During a call of
ITriggerListener.handle(ITriggerState)
, the combination should collect some
IEffect
s, which KiVi will retrieve by getEffects()
.
Method Summary | |
---|---|
List<IEffect> |
getEffects()
Get the list of effects that are ready to be executed after the last triggering of an ITriggerState . |
boolean |
isActive()
Check whether this combination is active. |
void |
setActive(boolean active)
Change the active status of this combination. |
void |
undo()
Attempt to undo all active effects, for example when shutting down view management or when disabling this combination. |
Methods inherited from interface de.cau.cs.kieler.core.kivi.ITriggerListener |
---|
getTriggerStates, handle |
Method Detail |
---|
List<IEffect> getEffects()
ITriggerState
.
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 |