public class JMenuBarAgent extends JMenuBarAgent
Modifier and Type | Field and Description |
---|---|
protected ComponentTester |
tester |
objectType
alternateAncestor, alternateAncestorClassname, factory
Constructor and Description |
---|
JMenuBarAgent()
Creates a new instance of JMenuBarAgent
|
Modifier and Type | Method and Description |
---|---|
TestRecordData |
process(java.lang.Object object,
TestRecordData testRecordData)
Process the action provided in the testRecordData.
|
doClick, getMatchingPathObject, getSubItemAtIndex, isMatchingPath, traverseMenu
getChildCount, getChildren
convertCoords, validateActionCommand, validateComponent
getAlternateAncestor, getAlternateAncestorClassname, getAncestorAgent, getCaption, getClassName, getID, getLevel, getLocalAgentFactory, getName, getProperty, getPropertyNames, getStringData, getSuperClassNames, getText, isShowing, isValid, processAncestor, setAlternateAncestor, setAlternateAncestorClassname, setLocalAgentFactory
public TestRecordData process(java.lang.Object object, TestRecordData testRecordData)
process
in interface LocalAgent
process
in class ObjectAgent
testRecordData
- provides all the information needed by the Agent to perform the action.