|
TPTP 4.4.0 Testing Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Represents a UI object such as a widget.
| Method Summary | |
|---|---|
void |
addChild(IUIObject child)
Adds a child to this object. |
void |
addProperty(java.lang.String name,
java.lang.String value)
Add a property to this UI object. |
int |
childCount()
Returns the number of children that this UI object has |
IUIObject |
findChild(java.lang.String referenceId)
Returns the child with a matching reference id passed in; null if none is found |
IUIObject[] |
getChildren()
Returns the children of this UI object |
java.lang.String |
getContextId()
Returns the context id of this object |
java.lang.Object |
getData()
Returns the data associated with this object. |
java.lang.String |
getDescriptive()
Returns the descriptive field of this object. |
java.util.LinkedList |
getHierarchicalRelation()
Returns the hierarchical relationshipt of this object relative to its parents. |
java.lang.String |
getObjectId()
Returns the id of this object. |
IUIObject |
getParent()
Returns the parent of this UI object |
java.util.Map |
getProperties()
Returns the properties of this UI object. |
java.lang.String |
getProperty(java.lang.String name)
Returns the property of this object |
java.lang.String |
getReferenceId()
Return the reference id of this object |
java.lang.String |
getResolverId()
Returns the resolver id that has resolved this object |
IUIObject |
removeChild(IUIObject child)
Removes a child from this object |
void |
setContextId(java.lang.String contextId)
Sets the context id of this object |
void |
setData(java.lang.Object data)
Can be used to associate a general data object with this object. |
void |
setDescriptive(java.lang.String descriptive)
Returns the descriptive field of this object. |
void |
setObjectId(java.lang.String objectId)
Sets the id of this object. |
void |
setParent(IUIObject parent)
Set the parent of this UI object |
void |
setReferenceId(java.lang.String referenceId)
Set the reference id of this object. |
void |
setResolver(java.lang.String resolverId)
Sets the resolver id for this object. |
| Method Detail |
public java.util.LinkedList getHierarchicalRelation()
public void setReferenceId(java.lang.String referenceId)
referenceId - The reference idpublic java.lang.String getReferenceId()
public void setContextId(java.lang.String contextId)
contextId - The context id of this objectpublic java.lang.String getContextId()
public void setObjectId(java.lang.String objectId)
public java.lang.String getObjectId()
public void setDescriptive(java.lang.String descriptive)
descriptive - fieldpublic java.lang.String getDescriptive()
public void addProperty(java.lang.String name,
java.lang.String value)
name - The name of the propertyvalue - The value of the propertypublic java.lang.String getProperty(java.lang.String name)
name - The name of the property.
public java.util.Map getProperties()
public void setParent(IUIObject parent)
parent - The parentpublic IUIObject getParent()
public void setResolver(java.lang.String resolverId)
resolverId - The resolver id.public java.lang.String getResolverId()
public int childCount()
public IUIObject[] getChildren()
public void addChild(IUIObject child)
throws org.eclipse.core.runtime.CoreException
child - The child to add
org.eclipse.core.runtime.CoreException - In case of any unexpected errorpublic IUIObject removeChild(IUIObject child)
child - The child to remove
public java.lang.Object getData()
public void setData(java.lang.Object data)
data - The datapublic IUIObject findChild(java.lang.String referenceId)
referenceId - The reference id of the child
|
TPTP 4.4.0 Testing Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||