|
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.JLabelProxy
public class JLabelProxy
Proxy for the javax.swing.JLabel
class.
GuiTestObject
Type | Desciption | Data Class |
---|---|---|
text | Label Visible Text | ITestDataText |
icontext | Label Icon Description | ITestDataText |
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. |
iconDescription | The description associated with the icon on the label. If there is no icon or icon description this property is omitted. |
name | The name property, suppressed if default formatted (default form = className+count). |
text | The visible text of the label. If there is no visible text this property is omitted. |
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 |
---|
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 | |
---|---|
JLabelProxy(java.lang.Object theObjectInTheSUT)
This sole constructor for all proxy objects sets the SUT object as a member variable for the proxy. |
Method Summary | |
---|---|
java.lang.String |
getDescriptiveName()
Returns a name that can be used to describe the associated UI object in a script. |
protected java.lang.String |
getIconDescription()
Returns the Text for the icon on the label object. |
protected java.lang.String |
getLabelText()
This method returns the label text associated with an isLabelled
proxy. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Get the value for a specific property. |
java.lang.String |
getRole()
Returns TestObjectRole.ROLE_LABEL . |
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 |
getText()
Returns the Text for the Label object. |
protected boolean |
isLabelled()
This method should return true if the particular proxy has a label that can be used as a recognition property for a another test object. |
void |
processSingleMouseEvent(IMouseActionInfo action)
Return a MethodSpecification for the specified mouse event. |
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, 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, getComponentChildren, getEmbeddedBrowsers, getImmediateChildren, getLeadingLabel, getLocationOnScreen, getMappableChildren, getMappableParent, getName, getOwnedObjects, getOwner, getParent, getParent2, getParentObject, getScreenRectangle, getTopParent, getWindow, isDopeyDynamicName, isEnabled, isHScroll, isRecognitionProperty, isShowing, isVScroll, setParent |
Methods inherited from class com.rational.test.ft.domain.java.JavaProxy |
---|
addMappableChildrenToVector, addRecognitionProperty, allowProperty, getAddedRecognitionPropertyValue, getChildren, 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 |
Constructor Detail |
---|
public JLabelProxy(java.lang.Object theObjectInTheSUT)
Method Detail |
---|
public java.lang.String getRole()
TestObjectRole.ROLE_LABEL
.
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)
protected boolean isLabelled()
true
if the particular proxy has a label that can be used as a recognition property for a another test object.
isLabelled
in class ComponentProxy
true
if the particular proxy has a label that can be used
as a recognition property for a another test object.ComponentProxy.getChildrenEnumeration()
,
getLabelText()
protected java.lang.String getLabelText()
isLabelled
proxy. This text is used in recognition of siblings in the test object finds. This
method is only called if the proxy has reported itself as isLabelled()
.
getLabelText
in class ComponentProxy
isLabelled
proxy.ComponentProxy.getChildrenEnumeration()
,
isLabelled()
public java.lang.String getText()
protected java.lang.String getIconDescription()
public java.lang.String getDescriptiveName()
getDescriptiveName
in class JComponentProxy
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 |