|
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.awt.ComponentProxy com.rational.test.ft.domain.java.jfc.JComponentProxy com.rational.test.ft.domain.java.jfc.JSliderProxy
public class JSliderProxy
Proxy class for javax.swing.JSlider.
SubitemTestObject
Type | Desciption | Data Class |
---|---|---|
JSliderValues | Slider value properties | 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. |
.labelText | The ordered set of labels associated with the slider. |
.priorLabel | The text of a preceding label. Suppressed if there is no preceding label. |
accessibleContext.accessibleName | A programmatically defined name for the component. |
labelCount | The number of labels associated with the slider. |
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. |
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 | |
---|---|
JSliderProxy(java.lang.Object theObjectInTheSUT)
This sole constructor for all proxy objects sets the SUT object as a member variable for the proxy. |
Method Summary | |
---|---|
ProxyTestObject[] |
getChildren()
Return null for JSliderProxy. |
java.util.Enumeration |
getChildrenEnumeration()
Return an enumeration of proxies for the children of this object. |
protected java.lang.String |
getLabelAt(int index)
Return the text of the label at specified index. |
protected java.util.Dictionary |
getLabelTable()
Return the dictionary of what labels to draw at which values. |
protected int |
getMajorTickSpacing()
|
protected int |
getMaximum()
Returns the maximum value supported by the slider. |
protected int |
getMinimum()
Returns the minimum value supported by the slider. |
protected int |
getMinorTickSpacing()
|
int |
getOrientation()
Returns the slider's orientation (horizontal or vertical). |
java.lang.Object |
getProperty(java.lang.String propertyName)
Get the value for a specific property. |
java.lang.String |
getRole()
Returns TestObjectRole.ROLE_SLIDER . |
com.rational.test.ft.vp.ITestData |
getTestData(java.lang.String testDataType)
This method constructs the specified verification data object. |
java.util.Hashtable |
getTestDataTypes()
Returns a hashtable of data type descriptions of the verification point data available with the associated object in the SUT. |
java.lang.String |
getTestObjectClassName()
Return the TestObject classname, the default JSlider test object. |
protected int |
getValue()
Get the slider'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 JSlider. |
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 slider's current value. |
com.rational.test.ft.vp.ITestData |
updateTestData(java.lang.String testDataType, com.rational.test.ft.vp.ITestData testData)
This method updates the supplied test data object and returns it. |
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, 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, 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, getIndexer, getIndexers, getMethods, getNonValueProperties, getRecognitionProperties, getRecognitionPropertyWeight, 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 JSliderProxy(java.lang.Object theObjectInTheSUT)
Method Detail |
---|
public java.lang.String getTestObjectClassName()
getTestObjectClassName
in interface IProxyBase
getTestObjectClassName
in class JavaGuiProxy
public java.lang.String getRole()
TestObjectRole.ROLE_SLIDER
.
getRole
in class JComponentProxy
public java.lang.Object getProperty(java.lang.String propertyName)
getProperty
in class JComponentProxy
propertyName
- The name of the property to fetch.
ProxyTestObject.getProperties()
,
ProxyTestObject.setProperty(String,Object)
,
ProxyTestObject.getRecognitionProperties()
,
ProxyTestObject.addRecognitionProperty(String,Object,int)
public java.util.Enumeration getChildrenEnumeration()
getChildrenEnumeration
in class ComponentProxy
public ProxyTestObject[] getChildren()
getChildren
in class JavaProxy
public int getOrientation()
protected java.util.Dictionary getLabelTable()
protected java.lang.String getLabelAt(int index)
index
- the index of the label protected int getMaximum()
protected int getMinimum()
protected int getMajorTickSpacing()
protected int getMinorTickSpacing()
protected void setValue(int value)
protected int getValue()
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 void processSingleMouseEvent(IMouseActionInfo action)
processSingleMouseEvent
in class JavaGuiProxy
action
- The event cache and other mouse state information for this mouse action.public java.util.Hashtable getTestDataTypes()
getTestDataTypes
in class JavaProxy
getTestData(String)
,
ITestData
public com.rational.test.ft.vp.ITestData getTestData(java.lang.String testDataType)
getTestDataTypes
.
getTestData
in class ProxyTestObject
testDataType
- A test data type supplied by getTestDataTypes
.
getTestDataTypes()
,
ITestData
public com.rational.test.ft.vp.ITestData updateTestData(java.lang.String testDataType, com.rational.test.ft.vp.ITestData testData)
getTestDataTypes
.
The testData is a previously supplied ITestData
object that needs to be updated to reflect the current state of the associated test object.
updateTestData
in class ProxyTestObject
testDataType
- A test data type supplied by getTestDataTypes
.testData
- The test data base object that requires updating.
getTestDataTypes()
,
ITestData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |