|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.washington.cs.supple.rep.SuppleBeanImpl
edu.washington.cs.supple.rep.SuppleUiObjectHierarchyElementImpl
| Field Summary | |
protected java.lang.String |
name
|
protected ContainerType |
parent
|
| Fields inherited from class edu.washington.cs.supple.rep.SuppleBeanImpl |
pcs |
| Constructor Summary | |
SuppleUiObjectHierarchyElementImpl()
|
|
| Method Summary | |
java.util.Vector |
getAncestors()
Returns a vector of ancestors for this object, root being the first element; if it is root, an empty vector is returned |
java.lang.String |
getFullName()
Returns the string that includes the names of all of its ancestors |
java.lang.String |
getName()
|
ContainerType |
getParent()
Returns the parent type of this type (i.e. |
UiObject |
getParentObject()
|
UiObject |
getRootObject()
Returns the root UI object |
boolean |
isChildOf(UiObject o)
|
boolean |
isDescendantOf(UiObject o)
Checks if this objects is a decendant of the argument |
boolean |
isRoot()
Checks if this type objects is the root of the interface description |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
|
void |
setName(java.lang.String newName)
Sets the name of this object; to be called only by the parent type |
void |
setParent(ContainerType parent)
Sets the parent type of this type instance -- you shouldn't need to call this method (it's already automatically called in all the right places) |
| Methods inherited from class edu.washington.cs.supple.rep.SuppleBeanImpl |
addPropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String name
protected ContainerType parent
| Constructor Detail |
public SuppleUiObjectHierarchyElementImpl()
| Method Detail |
public java.lang.String getName()
getName in interface SuppleUiObjectHierarchyElementpublic java.lang.String getFullName()
getFullName in interface SuppleUiObjectHierarchyElementpublic void setName(java.lang.String newName)
setName in interface SuppleUiObjectHierarchyElementnewName - the namepublic ContainerType getParent()
SuppleUiObjectHierarchyElement
getParent in interface SuppleUiObjectHierarchyElementpublic void setParent(ContainerType parent)
SuppleUiObjectHierarchyElement
setParent in interface SuppleUiObjectHierarchyElementparent - the parentpublic UiObject getParentObject()
getParentObject in interface SuppleUiObjectHierarchyElementpublic UiObject getRootObject()
getRootObject in interface SuppleUiObjectHierarchyElementpublic boolean isDescendantOf(UiObject o)
isDescendantOf in interface SuppleUiObjectHierarchyElemento - object to test
public boolean isChildOf(UiObject o)
isChildOf in interface SuppleUiObjectHierarchyElementpublic boolean isRoot()
SuppleUiObjectHierarchyElement
isRoot in interface SuppleUiObjectHierarchyElementpublic java.util.Vector getAncestors()
getAncestors in interface SuppleUiObjectHierarchyElementpublic void propertyChange(java.beans.PropertyChangeEvent evt)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||