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