public abstract class JfcGraphicalSubitemProxy extends JComponentProxy implements com.rational.test.ft.object.interfaces.IGraphicalSubitem
IGraphicalSubitem interface.
GuiSubitemTestObject
| 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. |
| .priorLabel | The text of a preceding label. Suppressed if there is no preceding label. |
| accessibleContext.accessibleName | A programmatically defined name for the component. |
| name | The name property, suppressed if default formatted (default form = className+count). |
| toolTipText | The text from the associated tool tip, omitted if there is no associated tool tip. |
ComponentProxy.ChildEnumerator, ComponentProxy.ImmediateChildEnumeratorTAB_INDEX, TAB_TEXTchildrenEnumerated, CLASSINDEX, CLASSINDEXWEIGHT, MAX_NAME, NAMEPROPERTY, NAMEPROPERTYWEIGHT, PRIORLABEL, PRIORLABELWEIGHTLEFT, preDownState, processMouseEventHandler, ROLEINDEX, ROLEINDEXWEIGHT, TESTDATA_SPECIALFRAMESTATE, TESTDATA_SPECIALFRAMESTATE_DESCRIPTION, topLevelWindowBROWSERTABTESTOBJECT_CLASSNAME, BROWSERTESTOBJECT_CLASSNAME, COLORDIALOGTESTOBJECT_CLASSNAME, CROSSDOMAINCONTAINER_CLASSNAME, DOCUMENTTESTOBJECT_CLASSNAME, DOMAINTESTOBJECT_CLASSNAME, ECLIPSETOPLEVELTESTOBJECT_CLASSNAME, EMBEDDEDBROWSERTESTOBJECT_CLASSNAME, FILEDIALOGTESTOBJECT_CLASSNAME, FRAMESUBITEMTESTOBJECT_CLASSNAME, FRAMETESTOBJECT_CLASSNAME, GEFEDITPARTTESTOBJECT_CLASSNAME, GUISUBITEMTESTOBJECT_CLASSNAME, GUITESTOBJECT_CLASSNAME, INTERNALFRAMETESTOBJECT_CLASSNAME, MESSAGEBOXTESTOBJECT_CLASSNAME, PALETTEGUISUBITEMTESTOBJECT_CLASSNAME, PROCESSTESTOBJECT_CLASSNAME, SCROLLSUBITEMTESTOBJECT_CLASSNAME, SCROLLTESTOBJECT_CLASSNAME, SELECTGUISUBITEMTESTOBJECT_CLASSNAME, SELECTSCROLLGUISUBITEMTESTOBJECT_CLASSNAME, SHELLTESTOBJECT_CLASSNAME, STATELESSGUISUBITEMTESTOBJECT_CLASSNAME, SUBITEMTESTOBJECT_CLASSNAME, TABITEMTESTOBJECT_CLASSNAME, TESTOBJECT_CLASSNAME, TEXTGUISUBITEMTESTOBJECT_CLASSNAME, TEXTGUITESTOBJECT_CLASSNAME, TEXTSCROLLTESTOBJECT_CLASSNAME, TEXTSELECTGUISUBITEMTESTOBJECT_CLASSNAME, TIMEOUTTESTOBJECT_CLASSNAME, TOGGLEGUITESTOBJECT_CLASSNAME, TOGGLETESTOBJECT_CLASSNAME, TOPLEVELSUBITEMTESTOBJECT_CLASSNAME, TOPLEVELTESTOBJECT_CLASSNAME, TRACKBARTESTOBJECT_CLASSNAME, vomClippedRectangle| Constructor and Description |
|---|
JfcGraphicalSubitemProxy(java.lang.Object theObjectInTheSUT)
This sole constructor for all proxy objects sets the SUT object
as a member variable for the proxy.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 |
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.
|
getBorderTitle, getClippedRect, getClippedScreenRectangle, getDescriptiveName, getProperties, getProperty, getRole, getStandardProperties, getText, getVisibleRectangle, getVisualClippedRectangle, hasFocus, isOpaque, isPointInObject, isType, scrollRectToVisiblecanBeScrolled, childConstructed, getChildAtPoint, getChildProxy, getChildrenEnumeration, getComponentChildren, getElementWithFocus, getEmbeddedBrowsers, getImmediateChildren, getLabelText, getLeadingLabel, getLocationOnScreen, getMappableChildren, getMappableParent, getName, getOwnedObjects, getOwner, getParent, getParent2, getParentObject, getScreenRectangle, getTopParent, getWindow, isDopeyDynamicName, isEnabled, isHScroll, isLabelled, isRecognitionProperty, isShowing, isVScroll, setParentactivateTopWindow, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dumpAction, ensureObjectIsVisible, getActionRect, getCachedRectX, getCachedRectY, getMethodSpecForPoint, getProcessMouseEventHandler, getRegisteredTopLevelWindow, getScreenPoint, getScreenPoint, getScriptCommandFlags, getTopMappableWindow, getTopWindow, hover, hover, hover, hover, invokeMethodOnEDT, isDrag, isPointInObject, modifiersChanged, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint, processHoverMouseEvent, processMouseEvent, processSingleMouseEvent, setProcessMouseEventHandler, setTopLevelWindow, shouldBeMappedaddMappableChildrenToVector, addRecognitionProperty, allowProperty, getAddedRecognitionPropertyValue, getChildren, getIndexer, getIndexers, getMethods, getNonValueProperties, getRecognitionProperties, getRecognitionPropertyWeight, getTestDataTypes, getTestDomain, getTopMappableParent, getUniqueId, getVisualClippableParent, hasAddedRecognitionProperties, setIndexer, setPropertyaddDataDrivableCommands, baseClassMatch, canTakeVP, equals, findChildrenWithProperties, findChildrenWithPropertiesAndInvoke, getChannel, getChildren, getDataDrivableCommand, getDataDrivableCommands, getField, getIgnorableProperties, getMappableChildren, getMappableParent, getObjectClassName, getObjectCustomClassName, getOwnedObjects, getParent, getProxy, getScriptCommandAnchor, getTestData, getVisualMappableChildren, getVisualTopParent, getVOMSpecificProperty, hasSpecialFrameState, isClassIndexConsidered, isSameObject, isValidObject, ping, suppressKeyAction, updateTestDatapublic JfcGraphicalSubitemProxy(java.lang.Object theObjectInTheSUT)
public java.lang.String getTestObjectClassName()
getTestObjectClassName in interface com.rational.test.ft.domain.IProxyBasegetTestObjectClassName in class JavaGuiProxypublic abstract java.awt.Rectangle getScreenRectangle(com.rational.test.ft.script.Subitem subitem)
getScreenRectangle in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic java.awt.Point getScreenPoint(com.rational.test.ft.script.Subitem subitem)
getScreenPoint in interface com.rational.test.ft.object.interfaces.IGraphicalSubitemsubitem - 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.IGraphicalSubitemsubitem - The subitem the resultant screen point is
relative to.pt - The subitem relative point.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.IGraphicalSubitemsubitem - 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.IGraphicalSubitempublic 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.IGraphicalSubitempublic void click(com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt)
click in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic 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.IGraphicalSubitempublic void doubleClick(com.rational.test.ft.script.Subitem subitem)
doubleClick in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic 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.IGraphicalSubitempublic void doubleClick(com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt)
doubleClick in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic 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.IGraphicalSubitempublic 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.IGraphicalSubitempublic void drag(com.rational.test.ft.script.Subitem subitem)
drag in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic 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.IGraphicalSubitempublic 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.IGraphicalSubitempublic 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.IGraphicalSubitempublic 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.IGraphicalSubitempublic 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.IGraphicalSubitempublic 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.IGraphicalSubitempublic 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.IGraphicalSubitempublic void dragToScreenPoint(com.rational.test.ft.script.Subitem subitem,
java.awt.Point screenPt)
dragToScreenPoint in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic 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.IGraphicalSubitempublic 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.IGraphicalSubitempublic 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.IGraphicalSubitempublic 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.IGraphicalSubitempublic 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.IGraphicalSubitempublic void mouseMove(com.rational.test.ft.script.Subitem subitem)
mouseMove in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void mouseMove(com.rational.test.ft.script.Subitem subitem,
java.awt.Point subitemPt)
mouseMove in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic 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.IGraphicalSubitempublic 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.IGraphicalSubitempublic void hover(double secondDelay,
com.rational.test.ft.script.Subitem subitem)
hover in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void hover(double secondDelay,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt)
hover in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void hover(com.rational.test.ft.script.Subitem subitem)
hover in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void hover(com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt)
hover in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem