|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSEdit.SElement
SElement is the abstract class for structure elements. The ID is the essential identification field in structure elements. ID *must* be unique in a given structure, and it is strongly advised that they are *globally* unique too. The current ID scheme keep a local naming principle, but this is likely to change in the future (switch to AgentAddress)
Field Summary | |
protected String |
comment
The element comment (mutable) |
protected ElementDesc |
descriptor
|
protected GObject |
element
|
protected String |
id
|
protected String |
label
The element label (mutable) |
boolean |
persistent
|
protected Structure |
structure
|
Constructor Summary | |
SElement()
|
Method Summary | |
void |
delete()
|
void |
dump()
|
String |
getComment()
|
ElementDesc |
getDescriptor()
Access to an element descriptor |
GObject |
getGObject()
|
String |
getID()
|
String |
getLabel()
|
Structure |
getStructure()
|
void |
init()
Initialization method called at the end of the creation of an element. |
abstract void |
initGraphics(Hashtable properties)
|
void |
inspect()
|
void |
setComment(String value)
|
void |
setDescriptor(ElementDesc d)
|
void |
setGObject(GObject value)
|
void |
setID(String value)
Set the element ID. |
void |
setLabel(String value)
|
void |
setStructure(Structure _structure)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Structure structure
protected String id
protected String label
protected String comment
protected ElementDesc descriptor
protected GObject element
public boolean persistent
Constructor Detail |
public SElement()
Method Detail |
public void setStructure(Structure _structure)
public Structure getStructure()
public abstract void initGraphics(Hashtable properties)
public void delete()
public void setID(String value)
public String getID()
public void setLabel(String value)
public String getLabel()
public void setComment(String value)
public String getComment()
public void setDescriptor(ElementDesc d)
public ElementDesc getDescriptor()
public void setGObject(GObject value)
public GObject getGObject()
public void init()
public void dump()
public void inspect()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |