|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.silentlycrashing.util.RegisteredAction
public class RegisteredAction
An action that can be saved and then invoked by the code.
| Field Summary | |
|---|---|
(package private) Method |
registeredMethod
|
(package private) Object |
registeredObject
|
| Constructor Summary | |
|---|---|
RegisteredAction(String name,
Object o)
Builds a RegisteredAction without Method arguments. |
|
RegisteredAction(String name,
Object o,
Class[] cargs)
Builds a RegisteredAction with Method arguments. |
|
| Method Summary | |
|---|---|
void |
invoke()
Invokes the RegisteredAction without arguments. |
void |
invoke(Object[] oargs)
Invokes the RegisteredAction with arguments. |
void |
link(Object o,
Method m)
Links the passed Object and Method to this RegisteredAction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
Object registeredObject
Method registeredMethod
| Constructor Detail |
|---|
public RegisteredAction(String name,
Object o)
name - the name of the method to registero - the Object holding the method
public RegisteredAction(String name,
Object o,
Class[] cargs)
name - the name of the method to registero - the Object holding the methodcargs - the arguments| Method Detail |
|---|
public void link(Object o,
Method m)
o - the Object to linkm - the Method to linkpublic void invoke()
public void invoke(Object[] oargs)
oargs - the arguments as an Object array
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||