|
IBM Rational Functional Tester Version 8.1.1000 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.Object com.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.ControlProxy com.rational.test.ft.domain.java.swt.SwtGraphicalSubitemProxy com.rational.test.ft.domain.java.swt.CTabFolderProxy
public class CTabFolderProxy
This is the proxy class for org.eclipse.swt.custom.CTabFolder
.
GuiSubitemTestObject
Type | Desciption | Data Class |
---|---|---|
list | List Elements | ITestDataList |
selected | Selected Tab Element | ITestDataList |
Property | Usage |
---|---|
.class | The Java full class name of the TestObject. |
.classIndex | The zero-based index of the class relative to the immediate parent in the object map. |
.priorLabel | The text of a preceding label. Suppressed if there is no preceding label. |
.groupText | The text of a group parent. Only available if parent is a group. Omitted if the group parent has no visible text. |
.toolTipText | The text from the associated tool tip, omitted if there is no associated tool tip. |
.tabs | The text for the up to ten items from the tabs list. |
tabCount | The number of tabs registered with the tab control. |
Subitem | Usage |
---|---|
Text |
Defines the tab with the specified visible text. |
Index |
Defines the tab at the specified zero-based index. |
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.rational.test.ft.domain.java.swt.ControlProxy |
---|
ControlProxy.ChildEnumerator, ControlProxy.ImmediateChildEnumerator |
Field Summary |
---|
Fields inherited from class com.rational.test.ft.domain.java.swt.ControlProxy |
---|
childrenEnumerated, CLASSINDEX, CLASSINDEXWEIGHT, clickArgs, currentMethod, GROUPTEXT, GROUPTEXTWEIGHT, HANDLE, MAPPABLECLASSINDEX, MAPPABLECLASSINDEXWEIGHT, MAX_NAME, predownScreenRect, PRIORLABEL, PRIORLABELWEIGHT, TOOLTIPTEXT, TOOLTIPTEXTWEIGHT |
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 | |
---|---|
CTabFolderProxy(java.lang.Object theObjectInTheSUT)
This sole constructor for all proxy objects sets the SUT object as a member variable for the proxy. |
Method Summary | |
---|---|
void |
childConstructed(ProxyTestObject child)
Inform the parent when child proxies are constructed so additional recognition properties can be added when needed. |
java.util.Enumeration |
getImmediateChildren()
If return the enumeration of immediate children. |
protected int |
getItemIndex(com.rational.test.ft.script.Subitem item)
|
protected int |
getItemIndex(com.rational.test.ft.script.Text item)
|
com.rational.test.ft.sys.MethodSpecification |
getMethodSpecForPoint(java.awt.Point pt)
Return a MethodSpecification for a method that returns a java.awt.Point for the specified coordinates. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Get the value for a specific property. |
java.lang.String |
getRole()
Returns TestObjectRole.ROLE_PAGE_TAB_LIST . |
java.awt.Rectangle |
getScreenRectangle(CTabItem item)
Returns the rectangle that contains the component being evaluated relative to the top left corner of the screen. |
int |
getSelectionIndex()
Gets the index of the selected item. |
int[] |
getSelectionIndices()
|
java.lang.Object |
getSubitem(com.rational.test.ft.script.Subitem subitem)
Returns an object that represents the specified subitem in the associated test object. |
protected java.lang.String |
getTabText(int index)
|
com.rational.test.ft.vp.ITestData |
getTestData(java.lang.String testDataType)
This method constructs the specified verification data object. |
java.util.Hashtable |
getTestDataTypes()
Returns a hashtable of data type descriptions of the verification point data available with the associated object in the SUT. |
void |
processSingleMouseEvent(IMouseActionInfo action)
Return a MethodSpecification for the specified mouse event. |
void |
setPreUpTabItem(java.awt.Point preupPoint)
|
void |
setSelection(int index)
Sets the selection. |
void |
setState(com.rational.test.ft.script.Action action)
This method performs a specific action against the JTabbedPane. |
void |
setState(com.rational.test.ft.script.Action action, com.rational.test.ft.script.Subitem item)
This method performs a specific action against the subitem. |
void |
setState(com.rational.test.ft.script.Action action, com.rational.test.ft.script.Subitem start, com.rational.test.ft.script.Subitem end)
This method performs a specific action against the subitem range defined by the specified indices. |
com.rational.test.ft.vp.ITestData |
updateTestData(java.lang.String testDataType, com.rational.test.ft.vp.ITestData testData)
This method updates the supplied test data object and returns it. |
Methods inherited from class com.rational.test.ft.domain.java.swt.SwtGraphicalSubitemProxy |
---|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getScreenPoint, getScreenPoint, getTestObjectClassName, hover, hover, hover, hover, mouseMove, mouseMove, mouseMove, mouseMove, nClick, nClickDrag, nClickDrag, nClickDragToScreenPoint, nClickDragToScreenPoint |
Methods inherited from class com.rational.test.ft.domain.java.JavaGuiProxy |
---|
activateTopWindow, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dumpAction, ensureObjectIsVisible, getActionRect, getCachedRectX, getCachedRectY, getChildAtPoint, getClippedRect, getProcessMouseEventHandler, getRegisteredTopLevelWindow, getScreenPoint, getScreenPoint, getScriptCommandFlags, getTopMappableWindow, getTopWindow, hover, hover, hover, hover, isDrag, isOpaque, isPointInObject, isPointInObject, modifiersChanged, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint, processMouseEvent, setProcessMouseEventHandler, setTopLevelWindow, shouldBeMapped |
Methods inherited from class com.rational.test.ft.domain.java.JavaProxy |
---|
addMappableChildrenToVector, addRecognitionProperty, allowProperty, getAddedRecognitionPropertyValue, getChildren, getIndexer, getIndexers, getMappableChildren, getMethods, getNonValueProperties, getProperties, getRecognitionProperties, getRecognitionPropertyWeight, getStandardProperties, 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 |
Constructor Detail |
---|
public CTabFolderProxy(java.lang.Object theObjectInTheSUT)
Method Detail |
---|
public java.lang.String getRole()
TestObjectRole.ROLE_PAGE_TAB_LIST
.
getRole
in class ControlProxy
public java.util.Enumeration getImmediateChildren()
getImmediateChildren
in class ControlProxy
public java.lang.Object getProperty(java.lang.String propertyName)
getProperty
in class ControlProxy
propertyName
- The name of the property to fetch.
ProxyTestObject.getProperties()
,
ProxyTestObject.setProperty(String,Object)
,
ProxyTestObject.getRecognitionProperties()
,
ProxyTestObject.addRecognitionProperty(String,Object,int)
public void childConstructed(ProxyTestObject child)
childConstructed
in class ControlProxy
child
- The child proxy that was just constructed.public java.lang.Object getSubitem(com.rational.test.ft.script.Subitem subitem)
SubitemNotFoundException
will be thrown if the specified subitem is invalid relative to the associated test object. null
may be returned if the subitem does not have an object association that can be returned.
getSubitem
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
getSubitem
in class SwtGraphicalSubitemProxy
subitem
- The subitem to fetch an object for.
public void setPreUpTabItem(java.awt.Point preupPoint)
protected int getItemIndex(com.rational.test.ft.script.Text item)
protected int getItemIndex(com.rational.test.ft.script.Subitem item)
protected java.lang.String getTabText(int index)
public java.awt.Rectangle getScreenRectangle(CTabItem item)
SwtGraphicalSubitemProxy
getScreenRectangle
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
getScreenRectangle
in class SwtGraphicalSubitemProxy
public int getSelectionIndex()
public int[] getSelectionIndices()
public void setSelection(int index)
index
- the index of the itempublic void processSingleMouseEvent(IMouseActionInfo action)
processSingleMouseEvent
in class JavaGuiProxy
action
- The event cache and other mouse state information for this mouse action.MethodSpecification
public void setState(com.rational.test.ft.script.Action action)
action
- The action that should be performed.public void setState(com.rational.test.ft.script.Action action, com.rational.test.ft.script.Subitem item)
item
- The item to act upon.action
- The action that should be performed.public void setState(com.rational.test.ft.script.Action action, com.rational.test.ft.script.Subitem start, com.rational.test.ft.script.Subitem end)
start
- The first item to act upon.end
- The last item to act upon.action
- The action that should be performed.public com.rational.test.ft.sys.MethodSpecification getMethodSpecForPoint(java.awt.Point pt)
IGraphical.getScreenPoint
will be returned. However, if a proxy can find
getMethodSpecForPoint
in class JavaGuiProxy
x
- The screen relative x coordinate.y
- The screen relative y coordinate.MethodSpecification
public java.util.Hashtable getTestDataTypes()
getTestDataTypes
in class JavaProxy
getTestData(String)
,
ITestData
public com.rational.test.ft.vp.ITestData getTestData(java.lang.String testDataType)
getTestDataTypes
.
getTestData
in class ProxyTestObject
testDataType
- A test data type supplied by
getTestDataTypes
.
getTestDataTypes()
,
ITestData
public com.rational.test.ft.vp.ITestData updateTestData(java.lang.String testDataType, com.rational.test.ft.vp.ITestData testData)
getTestDataTypes
.
The testData is a previously supplied ITestData
object that needs to be updated to reflect the current state of the associated test object.
updateTestData
in class ProxyTestObject
testDataType
- A test data type supplied by
getTestDataTypes
.testData
- The test data base object that requires
updating.
getTestDataTypes()
,
ITestData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |