|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.dpml.state.DefaultTrigger
public class DefaultTrigger
Default implementation of trigger.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface 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 trigger| Method Detail |
|---|
public Trigger.TriggerEvent getEvent()
getEvent in interface Triggerpublic Action getAction()
getAction in interface Triggerpublic boolean equals(Object other)
equals in class Objectother - the other object
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||