|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSEdit.ActionDesc
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 |
action
|
static int |
FUNCTION_CALL
The Scheme Function Call action type |
protected String |
icon
|
protected String |
label
|
protected int |
lang
|
static int |
METHOD_CALL
The Java Method Call action type |
static int |
UNKNOWN
|
Constructor Summary | |
ActionDesc(int type,
String value)
|
|
ActionDesc(int type,
String value,
String description)
|
|
ActionDesc(int type,
String value,
String description,
String iconlocation)
|
|
ActionDesc(String value,
String description)
|
|
ActionDesc(String value,
String description,
String iconlocation)
|
Method Summary | |
void |
execute(Object target)
|
String |
getAction()
|
String |
getDescription()
|
String |
getIcon()
|
Object |
getParam()
Get the value of parameters. |
int |
getType()
|
boolean |
hasDescription()
|
boolean |
hasIcon()
|
void |
setParam(Object v)
Set the value of parameters. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UNKNOWN
public static final int METHOD_CALL
public static final int FUNCTION_CALL
protected String action
protected String label
protected String icon
protected int lang
Constructor Detail |
public ActionDesc(int type, String value)
public ActionDesc(String value, String description)
public ActionDesc(String value, String description, String iconlocation)
public ActionDesc(int type, String value, String description)
public ActionDesc(int type, String value, String description, String iconlocation)
Method Detail |
public Object getParam()
public void setParam(Object v)
v
- Value to assign to parameters.public int getType()
public String getAction()
public String getDescription()
public String getIcon()
public boolean hasDescription()
public boolean hasIcon()
public String toString()
public void execute(Object target)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |