|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface extend the OMEObject
interface to include the
characteristics specific to elements. These characterictics specifically
include the following
Method Summary | |
void |
addChild(OMEElement child)
Adds a child to an expandable element. |
java.util.Collection |
getChildren()
Returns a collection of OMEElements in the expandable bounds of this OMEElement . |
OMEElement |
getParent()
Returns the element's parent. |
boolean |
isExpandable()
Returns whether element is expandable. |
void |
removeChild(OMEElement child)
Removes a child from this (expandable) element. |
void |
setExpandable(boolean e)
Sets whether this element is expandable. |
void |
setParent(OMEElement parent)
Changes or sets the parent of the element. |
Methods inherited from interface OME.OMEObject |
addLink,
getComment,
getID,
getLinks,
getModel,
getName,
getType,
setComment,
setID,
setName,
setType |
Method Detail |
public OMEElement getParent()
public void setParent(OMEElement parent) throws java.lang.Exception
addChild()
method must be called to add a child
to a parent.parent
- the OMEElement
whom we set as the parent of
of this OMEElement
.public void addChild(OMEElement child) throws java.lang.Exception
child
- the OMEElement
which we are adding to this
expandanble OMEElement
.public void removeChild(OMEElement child) throws java.lang.Exception
public boolean isExpandable()
OMEElement
is expandable and false
otherwise.public void setExpandable(boolean e) throws java.lang.Exception
OMEElement
public java.util.Collection getChildren()
OMEElement
. This collection is writable.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |