|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.gadgets.Trigger
public class Trigger
An trigger is an object that, when pulled, calls a single, parameterless method on another object.
| Constructor Summary | |
|---|---|
Trigger()
Create an empty Trigger. |
|
Trigger(java.lang.Object victim,
java.lang.String methodName)
Create a Trigger which calls the named method on the given object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMethodName()
Gets the method name. |
java.lang.Object |
getVictim()
Gets the object the method is called on. |
void |
pull()
Pull the trigger. |
void |
setMethodName(java.lang.String newName)
Sets the method name. |
void |
setVictim(java.lang.Object newVictim)
Sets the object the method is called on. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Trigger()
public Trigger(java.lang.Object victim,
java.lang.String methodName)
| Method Detail |
|---|
public void pull()
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic java.lang.String getMethodName()
public void setMethodName(java.lang.String newName)
public java.lang.Object getVictim()
public void setVictim(java.lang.Object newVictim)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||