|
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.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.ControlProxy
com.rational.test.ft.domain.java.swt.ButtonProxy
com.rational.test.ft.domain.java.swt.CoolItemProxy
public class CoolItemProxy
This is the proxy class for org.eclipse.swt.widgets.CoolItem.
GuiTestObject
| Type | Desciption | Data Class |
|---|---|---|
| text | Button Visible Text | ITestDataText |
| state | Toggle Button State | ITestData |
| 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. |
| .groupText | The text of a group parent. Only available if parent is a group. Suppressed if the group parent has no visible text. |
| .toolTipText | The text from the associated tool tip, omitted if there is no associated tool tip. |
| text | The visible text of the coolitem. 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 | |
|---|---|
CoolItemProxy(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 |
drag(com.rational.test.ft.script.MouseModifiers modifiers, java.awt.Point pt1, java.awt.Point pt2)
Perform a drag action against the associated TestObject. |
IChannel |
getChannel()
return a channel for the object. |
java.util.Enumeration |
getChildrenEnumeration()
Return an enumeration of proxies for the children of this object. |
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. |
ProxyTestObject |
getMappableParent()
Returns a proxy object for the parent of this 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.awt.Rectangle |
getScreenRectangle()
Returns the rectangle that contains the component being evaluated relative to the top left corner of the screen. |
protected int |
getStyle()
|
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 |
isEnabled()
Check the component under evaluation to determine if it is enabled or disabled. |
boolean |
isShowing()
Check the component under evaluation to determine if it is showing (as apposed to hidden). |
void |
processMouseEvent(IMouseActionInfo action)
Return a MethodSpecification for the specified mouse event. |
| Methods inherited from class com.rational.test.ft.domain.java.swt.ButtonProxy |
|---|
clickToState, clickToState, deselect, dragToState, dragToState, getDescriptiveName, getLabel, getMethodSpecForPoint, getRole, getState, getTestData, getTestDataTypes, getTestObjectClassName, getUniqueId, indeterminate, processSingleMouseEvent, select, setState, updateTestData |
| Methods inherited from class com.rational.test.ft.domain.java.swt.ControlProxy |
|---|
childConstructed, getActionArgs, getChildProxy, getClippedScreenRectangle, getDefaultActionArgs, getHandle, getLabelText, getLocationOnScreen, getName, getReorderedChildren, getToolTipText, getVisualClippedRectangle, hasFocus, isGTK, isLabelled, isObjectMoved, isShell, processHoverMouseEvent, processPreDownMouseEvent, processPreUpMouseEvent, scrollRectToVisible, setClickArgs, setDownPointArgs, setDrag, setMethodSpecification, setMultiClickAction, setRecordCache |
| Methods inherited from class com.rational.test.ft.domain.java.JavaGuiProxy |
|---|
activateTopWindow, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, 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, 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, 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 CoolItemProxy(java.lang.Object theObjectInTheSUT)
| Method Detail |
|---|
public boolean isShowing()
isShowing in interface com.rational.test.ft.object.interfaces.IGraphicalisShowing in class ControlProxypublic boolean isEnabled()
isEnabled in interface com.rational.test.ft.object.interfaces.IGraphicalisEnabled in class ControlProxypublic java.awt.Rectangle getScreenRectangle()
getScreenRectangle in interface com.rational.test.ft.object.interfaces.IGraphicalgetScreenRectangle in class ControlProxyIGraphical.isPointInObject(java.awt.Point),
IGraphical.getClippedScreenRectangle()protected int getStyle()
getStyle in class ControlProxypublic ProxyTestObject getParent()
getParent in class ControlProxypublic ProxyTestObject getMappableParent()
getMappableParent in class ControlProxypublic ProxyTestObject getTopParent()
getTopParent in class ControlProxypublic ProxyTestObject getTopMappableParent()
getTopMappableParent in class ControlProxypublic java.lang.Object getParentObject()
getParentObject in class ControlProxypublic java.util.Enumeration getChildrenEnumeration()
getChildrenEnumeration in class ControlProxypublic java.util.Enumeration getImmediateChildren()
getImmediateChildren in class ControlProxypublic ProxyTestObject getOwner()
getOwner in class ControlProxypublic ProxyTestObject[] getOwnedObjects()
getOwnedObjects in class ControlProxyprotected java.lang.String getLeadingLabel()
getLeadingLabel in class ControlProxypublic java.lang.Object getProperty(java.lang.String propertyName)
getProperty in class ButtonProxypropertyName - The name of the property to fetch.
ProxyTestObject.getProperties(),
ProxyTestObject.setProperty(String,Object),
ProxyTestObject.getRecognitionProperties(),
ProxyTestObject.addRecognitionProperty(String,Object,int)public IChannel getChannel()
getChannel in interface IChannelObjectgetChannel in class ControlProxypublic void processMouseEvent(IMouseActionInfo action)
JavaGuiProxy
processMouseEvent in class JavaGuiProxyaction - The event cache and other mouse state information
for this mouse action.MethodSpecificationpublic 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||