|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEffect
An effect executes some type of view management action, usually a visual change of the graphical model. haf: The execute and undo methods get called by the EffectsWorker thread and are expected to do something on the UI thread. Avoid working on the UI thread in an Effects *Constructor*, as it will be called in another thread causing an UI-thread Deadlock!
Method Summary | |
---|---|
void |
execute()
Execute the effect. |
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. |
void |
undo()
Attempt to undo the effect. |
Method Detail |
---|
void execute()
void schedule()
void undo()
void scheduleUndo()
boolean isMergeable()
IEffect merge(IEffect otherEffect)
otherEffect
- the effect to merge with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |