public class FlexViewStackProxy extends FlexContainerProxy
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
PROPERTY_SELINDEX |
POLICY_ALL, POLICY_AUTO, POLICY_NONE, POLICY_QUEUED, PROPERTY_CREATIONINDEX, PROPERTY_CREATIONPOLICY, PROPERTY_LABEL, PROPERTY_NUMCHILDREN
addedRecProps, addedRecPropsWeight, ARG_SEPARATOR, COLUMN_SEPARATOR, debug, domain, m_automationID, m_className, MAX_NAME, preDownState, PROPERTY_AUTOMATIONCLASSNAME, PROPERTY_AUTOMATIONINDEX, PROPERTY_AUTOMATIONNAME, PROPERTY_CLASSNAME, PROPERTY_CURRENTSTATE, PROPERTY_ENABLED, PROPERTY_FOCUSENABLED, PROPERTY_ID, PROPERTY_MOUSEENABLED, PROPERTY_TABENABLED, PROPERTY_TABINDEX, PROPERTY_TOOLTIP, PROPERTY_VISIBLE, transactionId
BROWSERTABTESTOBJECT_CLASSNAME, BROWSERTESTOBJECT_CLASSNAME, COLORDIALOGTESTOBJECT_CLASSNAME, CROSSDOMAINCONTAINER_CLASSNAME, DOCUMENTTESTOBJECT_CLASSNAME, DOMAINTESTOBJECT_CLASSNAME, ECLIPSETOPLEVELTESTOBJECT_CLASSNAME, EMBEDDEDBROWSERTESTOBJECT_CLASSNAME, FILEDIALOGTESTOBJECT_CLASSNAME, FRAMESUBITEMTESTOBJECT_CLASSNAME, FRAMETESTOBJECT_CLASSNAME, GEFEDITPARTTESTOBJECT_CLASSNAME, GUISUBITEMTESTOBJECT_CLASSNAME, GUITESTOBJECT_CLASSNAME, INTERNALFRAMETESTOBJECT_CLASSNAME, MESSAGEBOXTESTOBJECT_CLASSNAME, PALETTEGUISUBITEMTESTOBJECT_CLASSNAME, PROCESSTESTOBJECT_CLASSNAME, SCROLLSUBITEMTESTOBJECT_CLASSNAME, SCROLLTESTOBJECT_CLASSNAME, SELECTGUISUBITEMTESTOBJECT_CLASSNAME, SELECTSCROLLGUISUBITEMTESTOBJECT_CLASSNAME, SHELLTESTOBJECT_CLASSNAME, STATELESSGUISUBITEMTESTOBJECT_CLASSNAME, SUBITEMTESTOBJECT_CLASSNAME, TABITEMTESTOBJECT_CLASSNAME, TESTOBJECT_CLASSNAME, TEXTGUISUBITEMTESTOBJECT_CLASSNAME, TEXTGUITESTOBJECT_CLASSNAME, TEXTSCROLLTESTOBJECT_CLASSNAME, TEXTSELECTGUISUBITEMTESTOBJECT_CLASSNAME, TIMEOUTTESTOBJECT_CLASSNAME, TOGGLEGUITESTOBJECT_CLASSNAME, TOGGLETESTOBJECT_CLASSNAME, TOPLEVELSUBITEMTESTOBJECT_CLASSNAME, TOPLEVELTESTOBJECT_CLASSNAME, TRACKBARTESTOBJECT_CLASSNAME, vomClippedRectangle
INCLUDE_ALL, INCLUDE_JUSTOBJECT, INCLUDE_SIBLINGS
Constructor and Description |
---|
FlexViewStackProxy(FlexTestDomainImplementation theDomain,
IChannel channel,
java.lang.String theAutomationID) |
FlexViewStackProxy(FlexTestDomainImplementation theDomain,
java.lang.String theAutomationID) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getChildContainerLabels() |
java.util.Hashtable |
getProperties()
Returns a complete set of properties for the associated
test object.
|
java.lang.String |
getRole()
Returns a brief type name that describes the role this object plays in the
UI.
|
int |
getSelectedIndex() |
java.lang.String |
getTestObjectClassName()
Returns a valid class name specification.
|
void |
select(int index) |
dragCancel, dragCancel, dragDrop, dragDrop, dragDrop, dragDrop, dragStart, dragStart, dragStart, GetMethodSpec, getNumChildren, mousescroll, scroll, scroll, setProperty
addAdditionalRecognitionProperties, addRecognitionProperty, changeFocus, changeFocus, changeFocus, changeFocus, click, click, click, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getAddedRecognitionProperty, getAddedRecognitionPropertyValue, getAddedRecognitionPropertyWeight, getAutomationChildAt, getChildAtPoint, getChildren, getClientRectangle, getClippedScreenRectangle, getDataDrivableCommand, getDescriptiveName, getIndexer, getIndexers, getLabel, getMappableChildren, getMappableParent, getMethods, getMethodSpecForPoint, getNonValueProperties, getObjectClassName, getOwnedObjects, getOwner, getParent, getPlayerId, getPropertiesList, getProperty, getRecognitionProperties, getRecognitionPropertyWeight, getScreenPoint, getScreenPoint, getScreenRectangle, getScriptCommandFlags, getStandardProperties, getTestDataTypes, getTestDomain, getTopMappableParent, getTopParent, getTransactionId, getUniqueId, getValue, getVisualTopParent, hasAddedRecognitionProperties, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint, performAction, performAction, performAction, performAction, performAction, performAction, processMouseEvent, setIndexer, setTransactionId, shouldBeMapped, suppressKeyAction
addDataDrivableCommands, baseClassMatch, canTakeVP, equals, findChildrenWithProperties, findChildrenWithPropertiesAndInvoke, getChannel, getChildren, getDataDrivableCommands, getElementWithFocus, getField, getIgnorableProperties, getMappableChildren, getMappableParent, getObjectCustomClassName, getOwnedObjects, getParent, getProxy, getScriptCommandAnchor, getTestData, getVisualClippableParent, getVisualClippedRectangle, getVisualMappableChildren, getVOMSpecificProperty, hasSpecialFrameState, isClassIndexConsidered, isSameObject, isValidObject, ping, updateTestData
protected static final java.lang.String PROPERTY_SELINDEX
public FlexViewStackProxy(FlexTestDomainImplementation theDomain, IChannel channel, java.lang.String theAutomationID)
public FlexViewStackProxy(FlexTestDomainImplementation theDomain, java.lang.String theAutomationID)
public java.lang.String getTestObjectClassName()
FlexObjectProxy
TestObject
class. The testObject
performs a cross-process (and cross-JVM) call to the
same method against an associated proxy, which is this proxy.
This method should never return null
, even if shouldBeMapped()
returns false
. User may still access objects such as this through
scripting method calls and can return references to them.
If a null were returned, the marshalling code would be confused and would not
be able to construct a test object.
This method may be called from any thread.
getTestObjectClassName
in interface IProxyBase
getTestObjectClassName
in class FlexContainerProxy
testObject
class full name.public java.lang.String getRole()
FlexObjectProxy
java.awt.Button
might return button.
There are suggested role constants in the TestObjectRole
class. However, proxies are not limited to these constants.
The role is used for several purposes by the test infrastructure. First, the
role can be used in the construction of object names in scripts, augmenting
the name returned by getDescriptiveName()
.
The role is also used in the UI to decorate nodes in the map with icons that
help users quickly associate the nodes with the roles they play in the system
under test.
getRole
in class FlexObjectProxy
public java.util.Hashtable getProperties()
FlexObjectProxy
This method does not return properties whose values are references
to objects. The method FlexObjectProxy.getNonValueProperties()
returns
information about such properties.
getProperties
in class FlexObjectProxy
FlexObjectProxy.getProperty(String)
,
FlexObjectProxy.setProperty(String,Object)
,
FlexObjectProxy.getStandardProperties()
,
FlexObjectProxy.getNonValueProperties()
public int getSelectedIndex()
public void select(int index)
public java.lang.String[] getChildContainerLabels()