|
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.awt.ComponentProxy
com.rational.test.ft.domain.java.jfc.JComponentProxy
com.rational.test.ft.domain.java.jfc.JfcGraphicalSubitemProxy
com.rational.test.ft.domain.java.jfc.JToolBarProxy
public class JToolBarProxy
Proxy class for javax.swing.JToolBar.
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. |
| Subitem | Usage |
|---|---|
Separator |
Defines a specific separator located on the toolbar. |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.rational.test.ft.domain.java.awt.ComponentProxy |
|---|
ComponentProxy.ImmediateChildEnumerator |
| Field Summary |
|---|
| Fields inherited from class com.rational.test.ft.domain.java.jfc.JComponentProxy |
|---|
TAB_INDEX, TAB_TEXT |
| Fields inherited from class com.rational.test.ft.domain.java.awt.ComponentProxy |
|---|
childrenEnumerated, CLASSINDEX, CLASSINDEXWEIGHT, MAX_NAME, NAMEPROPERTY, NAMEPROPERTYWEIGHT, PRIORLABEL, PRIORLABELWEIGHT |
| 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 | |
|---|---|
JToolBarProxy(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. |
void |
drag(com.rational.test.ft.script.MouseModifiers modifiers,
java.awt.Point pt1,
java.awt.Point pt2)
Perform a drag action against the associated TestObject. |
void |
dragToScreenPoint(com.rational.test.ft.script.MouseModifiers modifiers,
java.awt.Point objectPt,
java.awt.Point screenPt)
Perform a drag action against the associated TestObject. |
void |
dragToScreenPoint(java.awt.Point screenPt)
Performs a MOUSE_LEFT drag action against the associated TestObject. |
void |
dragToScreenPoint(java.awt.Point objectPt,
java.awt.Point screenPt)
Perform a MOUSE_LEFT drag action against the associated TestObject. |
java.util.Enumeration |
getChildrenEnumeration()
Return an enumeration of proxies for the children of this object. |
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.String |
getRole()
Returns TestObjectRole.ROLE_TOOL_BAR. |
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. |
JSeparatorProxy |
getSeparatorProxy(com.rational.test.ft.script.Subitem item)
This method gets the proxy related to the Subitem. |
protected ProxyTestObject[] |
getSeparatorsArray()
|
void |
nClickDrag(int clickCount,
com.rational.test.ft.script.MouseModifiers modifiers,
java.awt.Point pt1,
java.awt.Point pt2)
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,
java.awt.Point objectPt,
java.awt.Point screenPt)
Perform a mouse n-click drag action on the specified coordinates relative to the associated TestObject. |
void |
processSingleMouseEvent(IMouseActionInfo action)
Return a MethodSpecification for the specified mouse event. |
| Methods inherited from class com.rational.test.ft.domain.java.jfc.JfcGraphicalSubitemProxy |
|---|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getScreenPoint, getScreenPoint, getSubitem, getTestObjectClassName, hover, hover, hover, hover, mouseMove, mouseMove, mouseMove, mouseMove, nClick, nClickDrag, nClickDrag, nClickDragToScreenPoint, nClickDragToScreenPoint |
| Methods inherited from class com.rational.test.ft.domain.java.jfc.JComponentProxy |
|---|
getBorderTitle, getClippedRect, getClippedScreenRectangle, getDescriptiveName, getProperties, getProperty, getStandardProperties, getText, getVisibleRectangle, getVisualClippedRectangle, hasFocus, isOpaque, isPointInObject, isType, scrollRectToVisible |
| Methods inherited from class com.rational.test.ft.domain.java.awt.ComponentProxy |
|---|
canBeScrolled, getChildAtPoint, getChildProxy, getComponentChildren, getEmbeddedBrowsers, getImmediateChildren, getLabelText, getLeadingLabel, getLocationOnScreen, getMappableChildren, getMappableParent, getName, getOwnedObjects, getOwner, getParent, getParent2, getParentObject, getScreenRectangle, getTopParent, getWindow, isDopeyDynamicName, isEnabled, isHScroll, isLabelled, isRecognitionProperty, isShowing, isVScroll, setParent |
| Methods inherited from class com.rational.test.ft.domain.java.JavaGuiProxy |
|---|
activateTopWindow, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, dumpAction, ensureObjectIsVisible, getActionRect, getCachedRectX, getCachedRectY, getProcessMouseEventHandler, getRegisteredTopLevelWindow, getScreenPoint, getScreenPoint, getScriptCommandFlags, getTopMappableWindow, getTopWindow, hover, hover, hover, hover, isDrag, isPointInObject, modifiersChanged, mouseMove, mouseMove, nClick, processHoverMouseEvent, processMouseEvent, setProcessMouseEventHandler, setTopLevelWindow, shouldBeMapped |
| Methods inherited from class com.rational.test.ft.domain.java.JavaProxy |
|---|
addMappableChildrenToVector, addRecognitionProperty, allowProperty, getAddedRecognitionPropertyValue, getChildren, getIndexer, getIndexers, getMethods, getNonValueProperties, getRecognitionProperties, getRecognitionPropertyWeight, getTestDataTypes, getTestDomain, getTopMappableParent, getUniqueId, getVisualClippableParent, hasAddedRecognitionProperties, 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 JToolBarProxy(java.lang.Object theObjectInTheSUT)
| Method Detail |
|---|
public java.lang.String getRole()
TestObjectRole.ROLE_TOOL_BAR.
getRole in class JComponentProxypublic void childConstructed(ProxyTestObject child)
childConstructed in class ComponentProxychild - The child proxy that was just constructed.public java.util.Enumeration getChildrenEnumeration()
getChildrenEnumeration in class ComponentProxyprotected ProxyTestObject[] getSeparatorsArray()
public JSeparatorProxy getSeparatorProxy(com.rational.test.ft.script.Subitem item)
item - Subitem of the JToolBarProxy
public void processSingleMouseEvent(IMouseActionInfo action)
processSingleMouseEvent in class JavaGuiProxyaction - The event cache and other mouse state information
for this mouse action.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 JavaGuiProxyx - The screen relative x coordinate.y - The screen relative y coordinate.MethodSpecificationpublic java.awt.Rectangle getScreenRectangle(com.rational.test.ft.script.Subitem subitem)
getScreenRectangle in interface com.rational.test.ft.object.interfaces.IGraphicalSubitemgetScreenRectangle in class JfcGraphicalSubitemProxy
public void drag(com.rational.test.ft.script.MouseModifiers modifiers,
java.awt.Point pt1,
java.awt.Point pt2)
drag in interface com.rational.test.ft.object.interfaces.IGraphicaldrag in class JavaGuiProxy
public void nClickDrag(int clickCount,
com.rational.test.ft.script.MouseModifiers modifiers,
java.awt.Point pt1,
java.awt.Point pt2)
nClickDrag in interface com.rational.test.ft.object.interfaces.IGraphicalnClickDrag in class JavaGuiProxypublic void dragToScreenPoint(java.awt.Point screenPt)
TestObject.
The action is performed from a valid point within this TestObject to
the screen relative screenPt coordinates.
dragToScreenPoint in interface com.rational.test.ft.object.interfaces.IGraphicaldragToScreenPoint in class JavaGuiProxy
public void dragToScreenPoint(java.awt.Point objectPt,
java.awt.Point screenPt)
dragToScreenPoint in interface com.rational.test.ft.object.interfaces.IGraphicaldragToScreenPoint in class JavaGuiProxy
public void dragToScreenPoint(com.rational.test.ft.script.MouseModifiers modifiers,
java.awt.Point objectPt,
java.awt.Point screenPt)
dragToScreenPoint in interface com.rational.test.ft.object.interfaces.IGraphicaldragToScreenPoint in class JavaGuiProxy
public void nClickDragToScreenPoint(int clickCount,
com.rational.test.ft.script.MouseModifiers modifiers,
java.awt.Point objectPt,
java.awt.Point screenPt)
nClickDragToScreenPoint in interface com.rational.test.ft.object.interfaces.IGraphicalnClickDragToScreenPoint in class JavaGuiProxy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||