|
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.ScrollableProxy com.rational.test.ft.domain.java.swt.ScrollableSwtGraphicalSubitemProxy
public abstract class ScrollableSwtGraphicalSubitemProxy
Abstract proxy class implements IGraphicalSubitem.
ScrollGuiSubitemTestObject
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. |
text | The visible text of the button. If there is no visible text this property is omitted. |
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 | |
---|---|
ScrollableSwtGraphicalSubitemProxy(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 |
click(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem)
Perform a mouse click action at the specified object relative coordinates within the associated TestObject. |
void |
click(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Perform a mouse click action on the specified coordinates relative to the associated TestObject. |
void |
click(com.rational.test.ft.script.Subitem subitem)
Left mouse click on the center point of the associated subitem. |
void |
click(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Left mouse click on the specified coordinates relative to the associated TestObject. |
void |
doubleClick(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem)
Perform a mouse dbl-click action at the specified object relative coordinates within the associated TestObject. |
void |
doubleClick(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Perform a mouse dbl-click action on the specified coordinates relative to the associated TestObject. |
void |
doubleClick(com.rational.test.ft.script.Subitem subitem)
Left mouse dbl-click on the center point of the associated TestObject. |
void |
doubleClick(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Left mouse dbl-click on the specified coordinates relative to the associated TestObject. |
void |
drag(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem)
Perform a drag action against the associated TestObject with the supplied set of mouse modifiers. |
void |
drag(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem1, java.awt.Point pt1, com.rational.test.ft.script.Subitem subitem2, java.awt.Point pt2)
Perform a drag action against the associated TestObject. |
void |
drag(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem1, com.rational.test.ft.script.Subitem subitem2)
Perform a drag action against the associated TestObject. |
void |
drag(com.rational.test.ft.script.Subitem subitem)
Perform a MOUSE_LEFT drag action against the associated TestObject. |
void |
drag(com.rational.test.ft.script.Subitem subitem1, java.awt.Point pt1, com.rational.test.ft.script.Subitem subitem2, java.awt.Point pt2)
Perform a MOUSE_LEFT drag action against the associated TestObject. |
void |
drag(com.rational.test.ft.script.Subitem subitem1, com.rational.test.ft.script.Subitem subitem2)
Perform a MOUSE_LEFT drag action against the associated TestObject. |
void |
dragToScreenPoint(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point screenPt)
Perform a drag action against the associated TestObject. |
void |
dragToScreenPoint(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point subitemPt, java.awt.Point screenPt)
Perform a drag action against the associated TestObject. |
void |
dragToScreenPoint(com.rational.test.ft.script.Subitem subitem, java.awt.Point screenPt)
Perform a MOUSE_LEFT drag action against the associated TestObject. |
void |
dragToScreenPoint(com.rational.test.ft.script.Subitem subitem, java.awt.Point subitemPt, java.awt.Point screenPt)
Perform a MOUSE_LEFT drag action against the associated TestObject. |
java.awt.Point |
getScreenPoint(com.rational.test.ft.script.Subitem subitem)
Returns the screen relative point to the center of the supplied subitem. |
java.awt.Point |
getScreenPoint(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Returns the screen relative point given a subitem and a subitem relative point. |
abstract java.awt.Rectangle |
getScreenRectangle(com.rational.test.ft.script.Subitem subitem)
Returns the rectangle that contains the component being evaluated relative to the top left corner of the screen. |
abstract java.lang.Object |
getSubitem(com.rational.test.ft.script.Subitem subitem)
Returns an object that represents the specified subitem in the associated test object. |
java.lang.String |
getTestObjectClassName()
Return the GuiSubitemTestObject classname. |
void |
hover(double secondDelay, com.rational.test.ft.script.Subitem subitem)
Hover the mouse over the center of the specified subitem. |
void |
hover(double secondDelay, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Hover the mouse over the specified coordinates relative to the specified subitem. |
void |
hover(com.rational.test.ft.script.Subitem subitem)
Hover the mouse over the center of the specified subitem. |
void |
hover(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Hover the mouse over the specified coordinates relative to the specified subitem. |
void |
hScrollTo(int value)
This method scrolls the control horizontally. |
void |
mouseMove(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem)
Perform a move action against the associated TestObject. |
void |
mouseMove(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Perform a move action against the associated TestObject. |
void |
mouseMove(com.rational.test.ft.script.Subitem subitem)
Perform a MOUSE_LEFT move action against the associated TestObject. |
void |
mouseMove(com.rational.test.ft.script.Subitem subitem, java.awt.Point subitemPt)
Perform a MOUSE_LEFT move action against the associated TestObject. |
void |
nClick(int clickCount, com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Perform a mouse n-click action on the specified coordinates relative to the associated TestObject. |
void |
nClickDrag(int clickCount, com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem1, java.awt.Point pt1, com.rational.test.ft.script.Subitem subitem2, java.awt.Point pt2)
Perform a mouse n-click drag action on the specified coordinates relative to the associated TestObject. |
void |
nClickDrag(int clickCount, com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem1, com.rational.test.ft.script.Subitem subitem2)
Perform a mouse n-click drag action on the specified coordinates relative to the associated TestObject. |
void |
nClickDragToScreenPoint(int clickCount, com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point screenPt)
Perform a mouse n-click drag action on the specified coordinates relative the screen relative screenPt coordinates. |
void |
nClickDragToScreenPoint(int clickCount, com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point subitemPt, java.awt.Point screenPt)
Perform a mouse n-click drag action on the specified coordinates relative the screen relative screenPt coordinates. |
void |
scrollLineDown()
Moves a vertical scrollbar one line (also called a unit) down in position. |
void |
scrollLineLeft()
Moves a horizontal scrollbar one line (also called a unit) left in position. |
void |
scrollLineRight()
Moves a horizontal scrollbar one line (also called a unit) right in position. |
void |
scrollLineUp()
Moves a vertical scrollbar one line (also called a unit) up in position. |
void |
scrollPageDown()
This action moves a vertical scrollbar one page (also called a block) down in position. |
void |
scrollPageLeft()
This action moves a horizontal scrollbar one page (also called a block) left in position. |
void |
scrollPageRight()
This action moves a horizontal scrollbar one page (also called a block) right in position. |
void |
scrollPageUp()
This action moves a vertical scrollbar one page (also called a block) up in position. |
void |
setState(com.rational.test.ft.script.Action action)
This method performs a specific action against the JTree. |
void |
vScrollTo(int value)
This method scrolls the control vertically. |
Methods inherited from class com.rational.test.ft.domain.java.swt.ScrollableProxy |
---|
canBeScrolled, getClientArea, getHorizontalBar, getVerticalBar, hScroll, isHorizontalScrollable, isPointInClientArea, isScrollable, isVerticalScrollable, processSingleMouseEvent, scrollRectToVisible, vScroll |
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, getMethodSpecForPoint, 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, 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 |
Constructor Detail |
---|
public ScrollableSwtGraphicalSubitemProxy(java.lang.Object theObjectInTheSUT)
Method Detail |
---|
public java.lang.String getTestObjectClassName()
getTestObjectClassName
in interface IProxyBase
getTestObjectClassName
in class ScrollableProxy
public void setState(com.rational.test.ft.script.Action action)
action
- The action that should be performed.public abstract java.awt.Rectangle getScreenRectangle(com.rational.test.ft.script.Subitem subitem)
getScreenRectangle
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public java.awt.Point getScreenPoint(com.rational.test.ft.script.Subitem subitem)
getScreenPoint
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
subitem
- The subitem the resultant screen point is
relative to.
public java.awt.Point getScreenPoint(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
getScreenPoint
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
subitem
- The subitem the resultant screen point is
relative to.pt
- The subitem relative point.
public abstract 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
subitem
- The subitem to fetch an object for.
public void click(com.rational.test.ft.script.Subitem subitem)
click
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void click(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem)
click
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void click(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
click
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void click(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
click
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void doubleClick(com.rational.test.ft.script.Subitem subitem)
doubleClick
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void doubleClick(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem)
doubleClick
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void doubleClick(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
doubleClick
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void doubleClick(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
doubleClick
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void nClick(int clickCount, com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
nClick
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void drag(com.rational.test.ft.script.Subitem subitem)
drag
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void drag(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem)
drag
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void drag(com.rational.test.ft.script.Subitem subitem1, com.rational.test.ft.script.Subitem subitem2)
drag
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void drag(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem1, com.rational.test.ft.script.Subitem subitem2)
drag
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void drag(com.rational.test.ft.script.Subitem subitem1, java.awt.Point pt1, com.rational.test.ft.script.Subitem subitem2, java.awt.Point pt2)
drag
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void drag(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem1, java.awt.Point pt1, com.rational.test.ft.script.Subitem subitem2, java.awt.Point pt2)
drag
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void nClickDrag(int clickCount, com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem1, com.rational.test.ft.script.Subitem subitem2)
nClickDrag
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void nClickDrag(int clickCount, com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem1, java.awt.Point pt1, com.rational.test.ft.script.Subitem subitem2, java.awt.Point pt2)
nClickDrag
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void dragToScreenPoint(com.rational.test.ft.script.Subitem subitem, java.awt.Point screenPt)
dragToScreenPoint
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void dragToScreenPoint(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point screenPt)
dragToScreenPoint
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void dragToScreenPoint(com.rational.test.ft.script.Subitem subitem, java.awt.Point subitemPt, java.awt.Point screenPt)
dragToScreenPoint
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void dragToScreenPoint(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point subitemPt, java.awt.Point screenPt)
dragToScreenPoint
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void nClickDragToScreenPoint(int clickCount, com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point screenPt)
nClickDragToScreenPoint
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void nClickDragToScreenPoint(int clickCount, com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point subitemPt, java.awt.Point screenPt)
nClickDragToScreenPoint
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void mouseMove(com.rational.test.ft.script.Subitem subitem)
mouseMove
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void mouseMove(com.rational.test.ft.script.Subitem subitem, java.awt.Point subitemPt)
mouseMove
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void mouseMove(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem)
mouseMove
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void mouseMove(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
mouseMove
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void hover(double secondDelay, com.rational.test.ft.script.Subitem subitem)
hover
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void hover(double secondDelay, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
hover
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void hover(com.rational.test.ft.script.Subitem subitem)
hover
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void hover(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
hover
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void hScrollTo(int value)
hScrollTo
in interface com.rational.test.ft.object.interfaces.IScrollable
hScrollTo
in class ScrollableProxy
value
- The position of the vertical scrollbar after this action is completed.hScrollTo(int)
public void vScrollTo(int value)
vScrollTo
in interface com.rational.test.ft.object.interfaces.IScrollable
vScrollTo
in class ScrollableProxy
value
- The position of the horizontal scrollbar after this action is completed.vScrollTo(int)
public void scrollPageUp()
scrollPageUp
in interface com.rational.test.ft.object.interfaces.IScrollable
scrollPageUp
in class ScrollableProxy
public void scrollPageDown()
scrollPageDown
in interface com.rational.test.ft.object.interfaces.IScrollable
scrollPageDown
in class ScrollableProxy
public void scrollPageLeft()
scrollPageLeft
in interface com.rational.test.ft.object.interfaces.IScrollable
scrollPageLeft
in class ScrollableProxy
public void scrollPageRight()
scrollPageRight
in interface com.rational.test.ft.object.interfaces.IScrollable
scrollPageRight
in class ScrollableProxy
public void scrollLineUp()
scrollLineUp
in interface com.rational.test.ft.object.interfaces.IScrollable
scrollLineUp
in class ScrollableProxy
public void scrollLineDown()
scrollLineDown
in interface com.rational.test.ft.object.interfaces.IScrollable
scrollLineDown
in class ScrollableProxy
public void scrollLineLeft()
scrollLineLeft
in interface com.rational.test.ft.object.interfaces.IScrollable
scrollLineLeft
in class ScrollableProxy
public void scrollLineRight()
scrollLineRight
in interface com.rational.test.ft.object.interfaces.IScrollable
scrollLineRight
in class ScrollableProxy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |