|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSEdit.Command
SEdit.MethodCallCommand
The description of an action that might be requested on a whole structure or on a single element (node or arrow). Usually defined in the formalism file
Field Summary | |
protected String |
method
|
protected Object |
obj
|
protected Object |
parameters
|
Fields inherited from class SEdit.Command |
action, desc, icon |
Constructor Summary | |
MethodCallCommand(Object target,
String methodname)
|
|
MethodCallCommand(Object target,
String methodname,
Object params)
|
|
MethodCallCommand(String methodname)
|
Method Summary | |
void |
execute()
This method executes the command. |
String |
getMethodName()
|
Object |
getParameters()
Get the value of parameters. |
Object |
getTarget()
Get the value of target. |
void |
setParameters(Object v)
Set the value of parameters. |
void |
setTarget(Object v)
Set the value of target. |
String |
toString()
|
Methods inherited from class SEdit.Command |
getAction, getDescription, getIcon, hasDescription, hasIcon |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected String method
protected Object parameters
protected Object obj
Constructor Detail |
public MethodCallCommand(String methodname)
public MethodCallCommand(Object target, String methodname)
public MethodCallCommand(Object target, String methodname, Object params)
Method Detail |
public Object getTarget()
public void setTarget(Object v)
v
- Value to assign to target.public Object getParameters()
public void setParameters(Object v)
v
- Value to assign to parameters.public String getMethodName()
public String toString()
toString
in class Command
public void execute()
Executable
execute
in interface Executable
execute
in class Command
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |