|
|||||||||
| 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
public class ComponentAgent
| Field Summary | |
|---|---|
static java.lang.String |
objectType
"Component" (Subclasses will override) The generic object type supported by this Agent helper class. |
| Fields inherited from class org.safs.jvmagent.agents.ObjectAgent |
|---|
alternateAncestor, alternateAncestorClassname, factory |
| Constructor Summary | |
|---|---|
ComponentAgent()
Constructor for ComponentAgent. |
|
| Method Summary | |
|---|---|
java.awt.Point |
convertCoords(java.lang.String coords)
Convert coordinates string of the formats: "x;y" "x,y" "Coords=x;y" "Coords=x,y" into a java.awt.Point object. |
protected java.lang.String |
validateActionCommand(TestRecordData testRecordData)
Verify testRecordData.getCommand() is not null or 0-length. |
protected java.awt.Component |
validateComponent(java.lang.Object object)
Verify the object is an instanceof java.awt.Component. |
| 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, process, processAncestor, setAlternateAncestor, setAlternateAncestorClassname, setLocalAgentFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String objectType
GuiClassData.getGenericObjectType(String),
Constant Field Values| Constructor Detail |
|---|
public ComponentAgent()
| Method Detail |
|---|
protected java.lang.String validateActionCommand(TestRecordData testRecordData)
SAFSInvalidActionRuntimeException("Invalid - Action") if action is null or 0-length.protected java.awt.Component validateComponent(java.lang.Object object)
SAFSObjectNotFoundRuntimeException("Invalid - object") if component is null.
SAFSInvalidComponentRuntimeException(object.getClass().getName()) - if component is not a java.awt.Component.public java.awt.Point convertCoords(java.lang.String coords)
Subclasses may override to convert alternative values, such as Row and Col values as is done in org.safs.rational.CFTable
coords, - String x;y or x,y or Coords=x;y or Coords=x,y
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||