|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.state.DefaultTrigger
Default implementation of trigger.
Nested Class Summary |
Nested classes inherited from class net.dpml.state.Trigger |
Trigger.TriggerEvent |
Field Summary |
Fields inherited from interface net.dpml.state.Trigger |
INITIALIZATION, TERMINATION |
Constructor Summary | |
DefaultTrigger(Trigger.TriggerEvent event,
Action action)
Creation of a new trigger. |
Method Summary | |
boolean |
equals(Object other)
Compare this object to another for equality. |
Action |
getAction()
Return the actions that this trigger initiates. |
Trigger.TriggerEvent |
getEvent()
Return the event enumneration that this trigger is associated with. |
int |
hashCode()
Compute the hashcode for this instance. |
String |
toString()
Return a string representation of the instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DefaultTrigger(Trigger.TriggerEvent event, Action action)
event
- the trigger event constantaction
- the action fired by the triggerMethod Detail |
public Trigger.TriggerEvent getEvent()
getEvent
in interface Trigger
public Action getAction()
getAction
in interface Trigger
public boolean equals(Object other)
other
- the other object
public int hashCode()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |