|
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.ScaleProxy
public class ScaleProxy
This is the proxy class for org.eclipse.swt.widgets.Scale
.
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. |
.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. |
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 | |
---|---|
ScaleProxy(java.lang.Object theObjectInTheSUT)
This sole constructor for all proxy objects sets the SUT object as a member variable for the proxy. |
Method Summary | |
---|---|
protected int |
getMaximum()
Returns the maximum value supported by the Scale. |
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. |
protected int |
getMinimum()
Returns the minimum value supported by the Scale. |
java.lang.String |
getRole()
Returns TestObjectRole.ROLE_SLIDER . |
java.lang.String |
getTestObjectClassName()
Return the test object that implements IGraphicalSubitem. |
protected int |
getValue()
Get the Scale's current value. |
void |
processSingleMouseEvent(IMouseActionInfo action)
Return a MethodSpecification for the specified mouse event. |
void |
setState(com.rational.test.ft.script.Action action)
This method performs a specific action against the JScale. |
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 at a specified index. |
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. |
protected void |
setValue(int value)
Set the Scale's current value. |
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, 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 ScaleProxy(java.lang.Object theObjectInTheSUT)
Method Detail |
---|
public java.lang.String getRole()
TestObjectRole.ROLE_SLIDER
.
getRole
in class ControlProxy
public java.lang.String getTestObjectClassName()
getTestObjectClassName
in interface IProxyBase
getTestObjectClassName
in class JavaGuiProxy
protected int getMaximum()
protected int getMinimum()
protected int getValue()
protected void setValue(int value)
public void setState(com.rational.test.ft.script.Action action)
setState
in interface com.rational.test.ft.object.interfaces.ISubitem
action
- The action that should be performed.public void setState(com.rational.test.ft.script.Action action, com.rational.test.ft.script.Subitem item)
setState
in interface com.rational.test.ft.object.interfaces.ISubitem
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)
setState
in interface com.rational.test.ft.object.interfaces.ISubitem
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 void processSingleMouseEvent(IMouseActionInfo action)
processSingleMouseEvent
in class JavaGuiProxy
action
- The event cache and other mouse state information for this mouse action.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |