|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.kivi.AbstractEffect
public abstract class AbstractEffect
Abstract base implementation for effects.
Constructor Summary | |
---|---|
AbstractEffect()
|
Method Summary | |
---|---|
boolean |
isMergeable()
Determines whether this effect can be merged with previously scheduled effects. |
IEffect |
merge(IEffect otherEffect)
Merge this effect with another effect. |
void |
schedule()
Schedule the effect for execution. |
void |
scheduleUndo()
Schedule the effect to be undone. |
String |
toString()
|
void |
undo()
Attempt to undo the effect. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.cau.cs.kieler.core.kivi.IEffect |
---|
execute |
Constructor Detail |
---|
public AbstractEffect()
Method Detail |
---|
public void schedule()
schedule
in interface IEffect
public void undo()
undo
in interface IEffect
public void scheduleUndo()
scheduleUndo
in interface IEffect
public boolean isMergeable()
isMergeable
in interface IEffect
public IEffect merge(IEffect otherEffect)
merge
in interface IEffect
otherEffect
- the effect to merge with
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |