|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eigenbase.util.property.TriggerBase
public class TriggerBase
Basic implementation of a trigger, which doesn't do anything.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eigenbase.util.property.Trigger |
---|
Trigger.VetoRT |
Field Summary |
---|
Fields inherited from interface org.eigenbase.util.property.Trigger |
---|
PRIMARY_PHASE, SECONDARY_PHASE, TERTIARY_PHASE |
Constructor Summary | |
---|---|
TriggerBase(boolean persistent)
|
Method Summary | |
---|---|
void |
execute(Property property,
java.lang.String value)
Executes the trigger, passing in the key of the property whose change triggered the execution. |
boolean |
isPersistent()
If a Trigger is associated with a class or singleton, then it should return true because its associated object is not subject to garbage collection. |
int |
phase()
Which phase does this Trigger belong to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TriggerBase(boolean persistent)
Method Detail |
---|
public boolean isPersistent()
Trigger
isPersistent
in interface Trigger
public int phase()
Trigger
phase
in interface Trigger
public void execute(Property property, java.lang.String value) throws Trigger.VetoRT
Trigger
execute
in interface Trigger
Trigger.VetoRT
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |