|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSEdit.ElementDesc
Abstract class of the meta-elements of the model elements.
StructureEditor
,
StructureAgent
Field Summary | |
static int |
ACTIONPROPERTIES
|
Hashtable |
actions
|
String |
category
|
static boolean |
debug
|
String |
elementClass
class name for a graphic element |
String |
graphicClass
|
static int |
GRAPHICPROPERTIES
|
String |
icon
nom de l'icone dans la barre des elements a creer |
static int |
PROPERTIES
|
Constructor Summary | |
ElementDesc()
|
|
ElementDesc(String n,
String desc,
String classname,
String iconLocation)
|
Method Summary | |
void |
addActionDesc(ActionDesc a)
|
void |
addActionDesc(String call,
String name)
|
ActionDesc |
getAction(String s)
|
Hashtable |
getActions()
|
String |
getCategory()
|
String |
getDefaultLabel()
Get the value of defaultLabel. |
String |
getDescription()
Get the value of description. |
String |
getElementClass()
|
Formalism |
getFormalism()
Get the value of formalism. |
String |
getGraphicClass()
|
Hashtable |
getGraphicProperties()
Get the value of graphicProperties. |
String |
getIcon()
|
String |
getName()
Get the value of name. |
Hashtable |
getProperties()
Get the value of properties. |
boolean |
hasActions()
|
boolean |
hasIcon()
|
boolean |
isDefaultValue(String name,
String value,
int type)
Test if a pair |
boolean |
isStandardDefaultValue(String name,
String value,
int type)
|
SElement |
makeElement(Hashtable properties)
A factory method that builds a new element according to the description |
void |
setActions(Hashtable v)
|
void |
setCategory(String s)
|
void |
setDefaultLabel(String v)
Set the value of defaultLabel. |
void |
setElementClass(String s)
|
void |
setFormalism(Formalism v)
Set the value of formalism. |
void |
setGraphicClass(String i)
|
void |
setGraphicProperties(Hashtable v)
Set the value of graphicProperties. |
void |
setIcon(String location)
|
void |
setName(String v)
Set the value of name. |
void |
setProperties(Hashtable v)
Set the value of properties. |
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 PROPERTIES
public static final int GRAPHICPROPERTIES
public static final int ACTIONPROPERTIES
public static boolean debug
public String icon
public String elementClass
public String category
public String graphicClass
public Hashtable actions
Constructor Detail |
public ElementDesc()
public ElementDesc(String n, String desc, String classname, String iconLocation)
Method Detail |
public Formalism getFormalism()
public void setFormalism(Formalism v)
v
- Value to assign to formalism.public String getName()
public void setName(String v)
v
- Value to assign to name.public String getDefaultLabel()
public void setDefaultLabel(String v)
v
- Value to assign to defaultLabel.public String getDescription()
public String getGraphicClass()
public void setGraphicClass(String i)
public Hashtable getProperties()
public void setProperties(Hashtable v)
v
- Value to assign to properties.public Hashtable getGraphicProperties()
public void setGraphicProperties(Hashtable v)
v
- Value to assign to graphicProperties.public boolean isDefaultValue(String name, String value, int type)
name
- name of the keyvalue
- value of the public boolean isStandardDefaultValue(String name, String value, int type)
public void setIcon(String location)
public String getIcon()
public boolean hasIcon()
public String getCategory()
public void setCategory(String s)
public String getElementClass()
public void setElementClass(String s)
public String toString()
public boolean hasActions()
public void setActions(Hashtable v)
public Hashtable getActions()
public ActionDesc getAction(String s)
public void addActionDesc(ActionDesc a)
public void addActionDesc(String call, String name)
public SElement makeElement(Hashtable properties)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |