|
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
public class ScrollableProxy
This is the proxy class for org.eclipse.swt.widgets.Control.Scrollable
.
ScrollTestObject
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 | |
---|---|
ScrollableProxy(java.lang.Object theObjectInTheSUT)
This sole constructor for all proxy objects sets the SUT object as a member variable for the proxy. |
Method Summary | |
---|---|
boolean |
canBeScrolled()
Returns true if the object is associated with scrollbar(s). |
org.eclipse.swt.graphics.Rectangle |
getClientArea()
Returns a rectangle which describes the area of the receiver which is capable of displaying data (that is, not covered by the "trimmings"). |
org.eclipse.swt.widgets.ScrollBar |
getHorizontalBar()
Gets the horizontal Scroll Bar. |
java.lang.String |
getTestObjectClassName()
Returns the classname of a scrollable test object. |
org.eclipse.swt.widgets.ScrollBar |
getVerticalBar()
Gets the vertical Scroll Bar. |
void |
hScroll(int value)
This method scrolls the control horizontally. |
void |
hScrollTo(int value)
This method scrolls the control horizontally. |
boolean |
isHorizontalScrollable(int style)
|
protected boolean |
isPointInClientArea(java.awt.Point pt)
|
boolean |
isScrollable(int style)
|
boolean |
isVerticalScrollable(int style)
|
void |
processSingleMouseEvent(IMouseActionInfo action)
|
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 |
scrollRectToVisible(java.awt.Rectangle rect)
Scrolls so that given rectangle becomes visible. |
void |
vScroll(int value)
This method scrolls the control vertically. |
void |
vScrollTo(int value)
This method scrolls the control vertically. |
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 ScrollableProxy(java.lang.Object theObjectInTheSUT)
Method Detail |
---|
public java.lang.String getTestObjectClassName()
getTestObjectClassName
in interface IProxyBase
getTestObjectClassName
in class JavaGuiProxy
public org.eclipse.swt.widgets.ScrollBar getHorizontalBar()
public org.eclipse.swt.widgets.ScrollBar getVerticalBar()
public org.eclipse.swt.graphics.Rectangle getClientArea()
public void processSingleMouseEvent(IMouseActionInfo action)
processSingleMouseEvent
in class JavaGuiProxy
public void hScrollTo(int value)
value
- The position of the vertical scrollbar after this action is completed.hScrollTo(int)
public void hScroll(int value)
value
- The position of the vertical scrollbar after this action is completed.hScrollTo(int)
public void vScrollTo(int value)
value
- The position of the horizontal scrollbar after this action is completed.vScrollTo(int)
public void vScroll(int value)
value
- The position of the horizontal scrollbar after this action is completed.vScrollTo(int)
public void scrollPageUp()
public void scrollPageDown()
public void scrollPageLeft()
public void scrollPageRight()
public void scrollLineUp()
public void scrollLineDown()
public void scrollLineLeft()
public void scrollLineRight()
public boolean canBeScrolled()
protected boolean isPointInClientArea(java.awt.Point pt)
public boolean isScrollable(int style)
public boolean isHorizontalScrollable(int style)
public boolean isVerticalScrollable(int style)
public void scrollRectToVisible(java.awt.Rectangle rect)
scrollRectToVisible
in class ControlProxy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |