public class JSeparatorProxy extends JMenuItemProxy
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. |
| accessibleContext.accessibleName | A programmatically defined name for the component. |
| name | The name property, suppressed if default formatted (default form = className+count). |
| text | The visible text of the button. 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. |
JMenuItemProxy.ChildEnumeratorComponentProxy.ImmediateChildEnumeratorinitRect, NAME_LENGTH, thePathList, theSubitemTAB_INDEX, TAB_TEXTchildrenEnumerated, CLASSINDEX, CLASSINDEXWEIGHT, MAX_NAME, NAMEPROPERTY, NAMEPROPERTYWEIGHT, PRIORLABEL, PRIORLABELWEIGHTLEFT, preDownState, processMouseEventHandler, ROLEINDEX, ROLEINDEXWEIGHT, TESTDATA_SPECIALFRAMESTATE, TESTDATA_SPECIALFRAMESTATE_DESCRIPTION, topLevelWindowBROWSERTABTESTOBJECT_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, vomClippedRectangleINCLUDE_ALL, INCLUDE_JUSTOBJECT, INCLUDE_SIBLINGS| Constructor and Description |
|---|
JSeparatorProxy(java.lang.Object theObjectInTheSUT)
This sole constructor for all proxy objects sets the SUT object
as a member variable for the proxy.
|
| Modifier and Type | Method and Description |
|---|---|
ProxyTestObject |
getAssociateProxy()
Return the proxy we want to record the actions against.
|
Subitem[] |
getPath()
Returns an array of Subitems can be used to describe the path of this JMenuItem.
|
java.lang.Object |
getProperty(java.lang.String propertyName)
Get the value for a specific property.
|
java.lang.String |
getRole()
Returns
TestObjectRole.ROLE_SEPARATOR. |
Subitem |
getSubitem()
Return the Subitem describes this JSeparator.
|
java.lang.String |
getTestObjectClassName()
Return the test object that implements IGraphicalSubitem.
|
boolean |
isOpaque()
Check the component under evaluation to determine if it is
opaque or transparent.
|
void |
processSingleMouseEvent(IMouseActionInfo action)
Return a MethodSpecification for the specified mouse event.
|
protected void |
setIndex()
Set the index of this Separator.
|
getChildrenEnumeration, getDescriptiveName, getIndex, getMenuChildrenArray, getMenuItemProxy, getMethodSpecForPoint, getName, getParentObject, getPathTextclickToState, clickToState, deselect, dragToState, dragToState, getDataDrivableCommands, getDataDrivenRecognitionProperties, getIconDescription, getRadioButtonGroup, getState, getTestData, getTestDataTypes, getText, getVariableDataDrivenRecognitionProperty, hasSpecialFrameState, indeterminate, isRadioSelected, select, setState, shouldBeMapped, updateTestDatagetBorderTitle, getClippedRect, getClippedScreenRectangle, getProperties, getStandardProperties, getText, getVisibleRectangle, getVisualClippedRectangle, hasFocus, isPointInObject, isType, scrollRectToVisiblecanBeScrolled, childConstructed, getChildAtPoint, getChildProxy, getComponentChildren, getElementWithFocus, getEmbeddedBrowsers, getImmediateChildren, getLabelText, getLeadingLabel, getLocationOnScreen, getMappableChildren, getMappableParent, getOwnedObjects, getOwner, getParent, getParent2, getScreenRectangle, getTopParent, getWindow, isDopeyDynamicName, isEnabled, isHScroll, isLabelled, isRecognitionProperty, isShowing, isVScroll, setParentactivateTopWindow, click, click, click, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dumpAction, ensureObjectIsVisible, getActionRect, getCachedRectX, getCachedRectY, getProcessMouseEventHandler, getRegisteredTopLevelWindow, getScreenPoint, getScreenPoint, getScriptCommandFlags, getTopMappableWindow, getTopWindow, hover, hover, hover, hover, invokeMethodOnEDT, isDrag, isPointInObject, modifiersChanged, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint, processHoverMouseEvent, processMouseEvent, setProcessMouseEventHandler, setTopLevelWindowaddMappableChildrenToVector, addRecognitionProperty, allowProperty, getAddedRecognitionPropertyValue, getChildren, getIndexer, getIndexers, getMethods, getNonValueProperties, getRecognitionProperties, getRecognitionPropertyWeight, getTestDomain, getTopMappableParent, getUniqueId, getVisualClippableParent, hasAddedRecognitionProperties, setIndexer, setPropertyaddDataDrivableCommands, baseClassMatch, canTakeVP, equals, findChildrenWithProperties, findChildrenWithPropertiesAndInvoke, getChannel, getChildren, getDataDrivableCommand, getField, getIgnorableProperties, getMappableChildren, getMappableParent, getObjectClassName, getObjectCustomClassName, getOwnedObjects, getParent, getProxy, getScriptCommandAnchor, getVisualMappableChildren, getVisualTopParent, getVOMSpecificProperty, isClassIndexConsidered, isSameObject, isValidObject, ping, suppressKeyActionpublic JSeparatorProxy(java.lang.Object theObjectInTheSUT)
public java.lang.String getTestObjectClassName()
getTestObjectClassName in interface IProxyBasegetTestObjectClassName in class AbstractButtonProxypublic java.lang.String getRole()
TestObjectRole.ROLE_SEPARATOR.getRole in class JMenuItemProxypublic java.lang.Object getProperty(java.lang.String propertyName)
getProperty in class AbstractButtonProxypropertyName - The name of the property to fetch.ProxyTestObject.getProperties(),
ProxyTestObject.setProperty(String,Object),
ProxyTestObject.getRecognitionProperties(),
ProxyTestObject.addRecognitionProperty(String,Object,int)public boolean isOpaque()
isOpaque in class JMenuItemProxypublic Subitem getSubitem()
getSubitem in class JMenuItemProxyprotected void setIndex()
public Subitem[] getPath()
JMenuItemProxygetPath in class JMenuItemProxypublic ProxyTestObject getAssociateProxy()
getAssociateProxy in class JMenuItemProxypublic void processSingleMouseEvent(IMouseActionInfo action)
processSingleMouseEvent in class JMenuItemProxyaction - The event cache and other mouse state information
for this mouse action.