|
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.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.JSplitPaneProxy
public class JSplitPaneProxy
Proxy class for javax.swing.JSplitPane.
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). |
| orientation | Integer value Adjustable.VERTICAL or Adjustable.HORIZONTAL depending on the layout of the component. |
| toolTipText | The text from the associated tool tip, omitted if there is no associated tool tip. |
| Subitem | Usage |
|---|---|
Location |
Defines the splitter subobject to act upon. Note that only scroll button Location items are supported (these locations refer to the optional one-hit buttons on the splitter). |
position |
Defines a (pixel) position for the splitter relative to the left (or top if split vertically) side of the pane. |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.rational.test.ft.domain.java.awt.ComponentProxy |
|---|
ComponentProxy.ChildEnumerator, ComponentProxy.ImmediateChildEnumerator |
| Field Summary | |
|---|---|
protected static int |
HORIZONTAL
Horizontal orientation. |
protected static int |
VERTICAL
Vertical orientation. |
| 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 | |
|---|---|
JSplitPaneProxy(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, com.rational.test.ft.script.Subitem subitem)
Perform a drag action against the associated TestObject with the supplied set of mouse modifiers. |
protected java.awt.Component[] |
getComponentChildren()
|
protected java.awt.Container |
getDivider()
Return the divider. |
protected AbstractButtonProxy |
getDownButtonProxy()
|
protected int |
getLastDividerLocation()
|
protected AbstractButtonProxy |
getLeftButtonProxy()
|
protected java.awt.Component |
getLeftComponent()
Return the component to the left (or above) the divider. |
protected int |
getMaximum()
Returns the maximum location of the divider from the look and feel implementation. |
protected int |
getMinimum()
Returns the minimum location of the divider from the look and feel implementation. |
protected void |
getOneTouchButtons()
|
protected int |
getOrientation()
Returns the split pane's orientation (horizontal or vertical). |
java.lang.Object |
getProperty(java.lang.String propertyName)
Get the value for a specific property. |
protected AbstractButtonProxy |
getRightButtonProxy()
|
protected java.awt.Component |
getRightComponent()
Return the component to the right (or below) the divider. |
java.lang.String |
getRole()
Returns TestObjectRole.ROLE_SPLIT_PANE. |
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.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.String |
getTestObjectClassName()
Return the TestObject classname, the default JSplitPane test object. |
protected AbstractButtonProxy |
getUpButtonProxy()
|
protected int |
getValue()
Get the split pane'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 JSplitPane. |
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. |
void |
setValue(int value)
Set the split pane's current value. |
| 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, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getScreenPoint, getSubitem, 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, getStandardProperties, getText, getVisibleRectangle, getVisualClippedRectangle, hasFocus, isOpaque, isPointInObject, isType, scrollRectToVisible |
| Methods inherited from class com.rational.test.ft.domain.java.awt.ComponentProxy |
|---|
canBeScrolled, childConstructed, getChildAtPoint, getChildProxy, getChildrenEnumeration, 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, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dumpAction, ensureObjectIsVisible, getActionRect, getCachedRectX, getCachedRectY, getMethodSpecForPoint, getProcessMouseEventHandler, getRegisteredTopLevelWindow, getScreenPoint, getScreenPoint, getScriptCommandFlags, getTopMappableWindow, getTopWindow, hover, hover, hover, hover, isDrag, isPointInObject, modifiersChanged, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint, 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 |
| Field Detail |
|---|
protected static final int HORIZONTAL
protected static final int VERTICAL
| Constructor Detail |
|---|
public JSplitPaneProxy(java.lang.Object theObjectInTheSUT)
| Method Detail |
|---|
public java.lang.String getTestObjectClassName()
getTestObjectClassName in interface IProxyBasegetTestObjectClassName in class JfcGraphicalSubitemProxypublic java.lang.String getRole()
TestObjectRole.ROLE_SPLIT_PANE.
getRole in class JComponentProxypublic java.lang.Object getProperty(java.lang.String propertyName)
getProperty in class JComponentProxypropertyName - The name of the property to fetch.
ProxyTestObject.getProperties(),
ProxyTestObject.setProperty(String,Object),
ProxyTestObject.getRecognitionProperties(),
ProxyTestObject.addRecognitionProperty(String,Object,int)protected java.awt.Component[] getComponentChildren()
getComponentChildren in class ComponentProxyprotected java.awt.Component getLeftComponent()
protected java.awt.Component getRightComponent()
protected java.awt.Container getDivider()
protected void getOneTouchButtons()
protected AbstractButtonProxy getLeftButtonProxy()
protected AbstractButtonProxy getRightButtonProxy()
protected AbstractButtonProxy getUpButtonProxy()
protected AbstractButtonProxy getDownButtonProxy()
protected int getOrientation()
protected int getMaximum()
protected int getMinimum()
public void setValue(int value)
protected int getValue()
protected int getLastDividerLocation()
public java.awt.Rectangle getScreenRectangle(com.rational.test.ft.script.Subitem subitem)
getScreenRectangle in interface com.rational.test.ft.object.interfaces.IGraphicalSubitemgetScreenRectangle in class JfcGraphicalSubitemProxypublic java.awt.Point getScreenPoint(com.rational.test.ft.script.Subitem subitem)
getScreenPoint in interface com.rational.test.ft.object.interfaces.IGraphicalSubitemgetScreenPoint in class JfcGraphicalSubitemProxysubitem - The subitem the resultant screen point is
relative to.
public void setState(com.rational.test.ft.script.Action action)
setState in interface com.rational.test.ft.object.interfaces.ISubitemaction - 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.ISubitemitem - 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.ISubitemstart - The first item to act upon.end - The last item to act upon.action - The action that should be performed.public void processSingleMouseEvent(IMouseActionInfo action)
processSingleMouseEvent in class JavaGuiProxyaction - The event cache and other mouse state information
for this mouse action.public 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.IGraphicalSubitemdrag in class JfcGraphicalSubitemProxy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||