|
IBM Rational Functional Tester Version 8.2.1 IBM Rational Functional Tester Proxy SDK Reference Project Version 2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rational.test.ft.sys.RegisteredObject
com.rational.test.ft.domain.ProxyTestObject
com.rational.test.ft.domain.java.JavaProxy
com.rational.test.ft.domain.java.JavaGuiProxy
com.rational.test.ft.domain.java.swt.WidgetProxy
public abstract class WidgetProxy
This is the proxy class for org.eclipse.swt.widgets.Widget.
TestObject
| Property | Usage |
|---|---|
| .class | The Java full class name of the test object. |
| .classIndex | The zero-based index of the class relative to the immediate parent in the object map. |
| Nested Class Summary | |
|---|---|
protected class |
WidgetProxy.ChildEnumerator
|
protected class |
WidgetProxy.ImmediateChildEnumerator
|
| Field Summary | |
|---|---|
protected static java.lang.String |
CLASSINDEX
|
protected static int |
CLASSINDEXWEIGHT
|
protected static java.lang.String |
MAPPABLECLASSINDEX
|
protected static int |
MAPPABLECLASSINDEXWEIGHT
|
protected static int |
MAX_NAME
|
| Fields inherited from class com.rational.test.ft.domain.java.JavaGuiProxy |
|---|
LEFT, preDownState, processMouseEventHandler, ROLEINDEX, ROLEINDEXWEIGHT, TESTDATA_SPECIALFRAMESTATE, TESTDATA_SPECIALFRAMESTATE_DESCRIPTION, topLevelWindow |
| Fields inherited from class com.rational.test.ft.domain.java.JavaProxy |
|---|
debug, uniqueId |
| Fields inherited from class com.rational.test.ft.sys.RegisteredObject |
|---|
theTestObject |
| Fields inherited from interface com.rational.test.ft.domain.IDataDriven |
|---|
INCLUDE_ALL, INCLUDE_JUSTOBJECT, INCLUDE_SIBLINGS |
| Constructor Summary | |
|---|---|
WidgetProxy(java.lang.Object theObjectInTheSUT)
This sole constructor for all proxy objects sets the SUT object as a member variable for the proxy. |
|
| Method Summary | |
|---|---|
IChannel |
getChannel()
return a channel for the object. |
protected ProxyTestObject |
getChildProxy(java.lang.Object childObject)
|
java.util.Enumeration |
getChildrenEnumeration()
Return an enumeration of proxies for the children of this object. |
java.lang.String |
getDescriptiveName()
Returns a name that can be used to describe the associated UI object in a script. |
java.util.Enumeration |
getImmediateChildren()
Return an enumeration of proxies for the children of this object. |
protected java.lang.String |
getLeadingLabel()
This method is used to generate an interesting descriptive name for controls without persistent text. |
java.awt.Point |
getLocationOnScreen()
Return the location on the screen. |
ProxyTestObject |
getMappableParent()
Returns a proxy object for the parent of this object. |
java.lang.String |
getName()
get the name of the object |
ProxyTestObject[] |
getOwnedObjects()
Return an array of proxies for the objects owned by this object. |
ProxyTestObject |
getOwner()
Returns a proxy object for the owner of this object. |
ProxyTestObject |
getParent()
Returns a proxy object for the parent of this object. |
java.lang.Object |
getParentObject()
Returns an object for the parent of this object. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Get the value for a specific property. |
java.lang.String |
getRole()
Returns TestObjectRole.ROLE_SWT. |
java.awt.Rectangle |
getScreenRectangle()
Returns the rectangle that contains the component being evaluated relative to the top left corner of the screen. |
ProxyTestObject |
getTopMappableParent()
Returns a proxy object for the top parent of this object. |
ProxyTestObject |
getTopParent()
Returns a proxy object for the top parent of this object. |
boolean |
hasFocus()
The hasFocus method is private in the SWT world, so this method always returns false. |
| Methods inherited from class com.rational.test.ft.domain.java.JavaProxy |
|---|
addMappableChildrenToVector, addRecognitionProperty, allowProperty, childConstructed, getAddedRecognitionPropertyValue, getChildren, getIndexer, getIndexers, getMappableChildren, getMethods, getNonValueProperties, getProperties, getRecognitionProperties, getRecognitionPropertyWeight, getStandardProperties, getTestDataTypes, getTestDomain, getUniqueId, getVisualClippableParent, hasAddedRecognitionProperties, isRecognitionProperty, setIndexer, setProperty |
| Methods inherited from class com.rational.test.ft.sys.RegisteredObject |
|---|
addProxyReference, dereference, getObject, getRegisteredId, getTransactionId, isReferenced, isReleaseRequired, register, registerTransiently, release, toString, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final int MAX_NAME
protected static final java.lang.String CLASSINDEX
protected static final int CLASSINDEXWEIGHT
protected static final java.lang.String MAPPABLECLASSINDEX
protected static final int MAPPABLECLASSINDEXWEIGHT
| Constructor Detail |
|---|
public WidgetProxy(java.lang.Object theObjectInTheSUT)
| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getDescriptiveName()
getDescriptiveName in class JavaGuiProxypublic java.lang.String getRole()
TestObjectRole.ROLE_SWT.
getRole in class JavaProxypublic java.lang.Object getProperty(java.lang.String propertyName)
getProperty in class JavaProxypropertyName - The name of the property to fetch.
ProxyTestObject.getProperties(),
ProxyTestObject.setProperty(String,Object),
ProxyTestObject.getRecognitionProperties(),
ProxyTestObject.addRecognitionProperty(String,Object,int)public boolean hasFocus()
hasFocus in interface com.rational.test.ft.object.interfaces.IGraphicalhasFocus in class JavaGuiProxypublic java.awt.Rectangle getScreenRectangle()
getScreenRectangle in interface com.rational.test.ft.object.interfaces.IGraphicalgetScreenRectangle in class JavaGuiProxyIGraphical.isPointInObject(java.awt.Point),
IGraphical.getClippedScreenRectangle()public java.awt.Point getLocationOnScreen()
public ProxyTestObject getParent()
getParent in class JavaGuiProxypublic java.lang.Object getParentObject()
getParentObject in class JavaGuiProxypublic ProxyTestObject getMappableParent()
getMappableParent in class JavaGuiProxypublic ProxyTestObject getTopParent()
getTopParent in class JavaProxypublic ProxyTestObject getTopMappableParent()
getTopMappableParent in class JavaProxyprotected ProxyTestObject getChildProxy(java.lang.Object childObject)
public java.util.Enumeration getChildrenEnumeration()
getChildrenEnumeration in class JavaGuiProxypublic java.util.Enumeration getImmediateChildren()
getImmediateChildren in class JavaGuiProxypublic ProxyTestObject getOwner()
getOwner in class JavaProxypublic ProxyTestObject[] getOwnedObjects()
getOwnedObjects in class JavaProxyprotected java.lang.String getLeadingLabel()
public IChannel getChannel()
getChannel in interface IChannelObjectgetChannel in class ProxyTestObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||