|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.safs.jvmagent.agents.ObjectAgent
org.safs.jvmagent.agents.ComponentAgent
org.safs.abbot.jvmagent.agents.ComponentAgent
public class ComponentAgent
| Field Summary | |
|---|---|
protected abbot.tester.ComponentTester |
componenttester
|
| Fields inherited from class org.safs.jvmagent.agents.ComponentAgent |
|---|
objectType |
| Fields inherited from class org.safs.jvmagent.agents.ObjectAgent |
|---|
alternateAncestor, alternateAncestorClassname, factory |
| Constructor Summary | |
|---|---|
ComponentAgent()
Constructor for ComponentAgent. |
|
| Method Summary | |
|---|---|
protected java.awt.Point |
checkForCoord(TestRecordData testRecordData)
Purpose: check 5th parameter for coords, x;y notation, appmap ref is not supported yet |
TestRecordData |
process(java.lang.Object object,
TestRecordData testRecordData)
Process the action provided in the testRecordData. |
| Methods inherited from class org.safs.jvmagent.agents.ComponentAgent |
|---|
convertCoords, validateActionCommand, validateComponent |
| Methods inherited from class org.safs.jvmagent.agents.ObjectAgent |
|---|
getAlternateAncestor, getAlternateAncestorClassname, getAncestorAgent, getCaption, getChildCount, getChildren, getClassName, getID, getLevel, getLocalAgentFactory, getMatchingPathObject, getName, getProperty, getPropertyNames, getStringData, getSubItemAtIndex, getSuperClassNames, getText, isMatchingPath, isShowing, isValid, processAncestor, setAlternateAncestor, setAlternateAncestorClassname, setLocalAgentFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected abbot.tester.ComponentTester componenttester
| Constructor Detail |
|---|
public ComponentAgent()
| Method Detail |
|---|
public TestRecordData process(java.lang.Object object,
TestRecordData testRecordData)
An Agent may throw various types of Agent-specific RuntimeExceptions depending upon failure modes.
process in interface LocalAgentprocess in class ObjectAgenttestRecordData - provides all the information needed by the Agent to perform the action.
SAFSInvalidActionRuntimeException - if action is null or 0-length
SAFSInvalidComponentRuntimeException - if object is not a Component.
SAFSActionErrorRuntimeException( - x.getMessage(), x) if an abbot exception occurs.
SAFSMissingActionArgumentRuntimeException( - action +" null", x) if a required action arg is missing.ComponentAgent.validateActionCommand(TestRecordData),
ComponentAgent.validateComponent(Object),
CFComponent
protected java.awt.Point checkForCoord(TestRecordData testRecordData)
throws SAFSActionErrorRuntimeException
SAFSActionErrorRuntimeException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||