|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.safs.GuiObjectRecognition
org.safs.selenium.SGuiObjectRecognition
Part of the required implementation to support SAFS "standard" recognition strings.
External users would normally not use this class directly.
Consequently, the API and associated data is subject to change without notice.
| Nested Class Summary |
| Nested classes inherited from class org.safs.GuiObjectRecognition |
GuiObjectRecognition.GORInfo |
| Field Summary |
| Constructor Summary | |
SGuiObjectRecognition(java.lang.String objectInfo)
Standard Constructor |
|
SGuiObjectRecognition(java.lang.String objectInfo,
java.lang.String aQualifierSeparator)
Constructor with Alternate Qualifier Separator |
|
| Method Summary | |
java.lang.Object |
getMatchingPathObject(java.lang.Object theObject,
java.lang.String thePath)
Used internally by GuiObjectRecognition superclass. Mechanism to provide the requested information. |
java.lang.String |
getObjectCaption(java.lang.Object theObject)
Used internally by GuiObjectRecognition superclass. Mechanism to provide the requested information. |
java.lang.String |
getObjectClassName(java.lang.Object theObject)
Used internally by GuiObjectRecognition superclass. |
java.lang.String |
getObjectID(java.lang.Object theObject)
Used internally by GuiObjectRecognition superclass. Mechanism to provide the requested information. |
int |
getObjectLevel(java.lang.Object theObject)
not yet implemented Used internally by GuiObjectRecognition superclass. Mechanism to provide the requested information. |
java.lang.String |
getObjectName(java.lang.Object theObject)
Used internally by GuiObjectRecognition superclass. Mechanism to provide the requested information. |
java.lang.String |
getObjectProperty(java.lang.Object theObject,
java.lang.String theProperty)
Used internally by GuiObjectRecognition superclass. Mechanism to provide the requested information. |
java.lang.String |
getObjectText(java.lang.Object theObject)
Used internally by GuiObjectRecognition superclass. Mechanism to provide the requested information. |
boolean |
isMatchingPath(java.lang.Object theObject,
java.lang.String thePath)
Used internally by GuiObjectRecognition superclass. Mechanism to determine the requested information. |
boolean |
isMatchingSubClass(java.lang.Object theObject,
java.lang.String theClass,
java.lang.String parentClass)
Used internally by GuiObjectRecognition superclass. Mechanism to simply forward this request on to the SGuiClassData.isMatched function. |
boolean |
isMatchingType(java.lang.Object theObject,
java.lang.String theClass)
Determine if the provided Object matches our segment of the recognition string. |
boolean |
isObjectShowing(java.lang.Object theObject)
Used internally by GuiObjectRecognition superclass. Mechanism to provide the requested information. |
protected void |
listProperties(java.lang.Object obj)
Writes the list of object property names and current values to Log.debug output. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SGuiObjectRecognition(java.lang.String objectInfo)
public SGuiObjectRecognition(java.lang.String objectInfo,
java.lang.String aQualifierSeparator)
| Method Detail |
public java.lang.String getObjectClassName(java.lang.Object theObject)
getObjectClassName in class GuiObjectRecognition
public boolean isMatchingType(java.lang.Object theObject,
java.lang.String theClass)
isMatchingType in class GuiObjectRecognitiontheClass - information provided and forwarded to SGuiClassData.isMappedClassType.
public boolean isMatchingSubClass(java.lang.Object theObject,
java.lang.String theClass,
java.lang.String parentClass)
isMatchingSubClass in class GuiObjectRecognitiontheClass - information from GuiObjectRecognition and forwarded
to SGuiClassData.isMatched.parentClass - information provided and forwarded to
SGuiClassData.isMatched.
public boolean isObjectShowing(java.lang.Object theObject)
isObjectShowing in class GuiObjectRecognitionpublic java.lang.String getObjectCaption(java.lang.Object theObject)
getObjectCaption in class GuiObjectRecognitionpublic java.lang.String getObjectName(java.lang.Object theObject)
getObjectName in class GuiObjectRecognitionpublic int getObjectLevel(java.lang.Object theObject)
Level is considered to be the Z-Order--often of top level window objects-- of components on the desktop or in a container. The highest Level is Level=1, and this usually indicates the item is visible and forefront. The next Level is Level=2, and so on.
The information is used to determine if a particular object is a match for our stored recognition information.
getObjectLevel in class GuiObjectRecognitionpublic java.lang.String getObjectText(java.lang.Object theObject)
getObjectText in class GuiObjectRecognitionpublic java.lang.String getObjectID(java.lang.Object theObject)
getObjectID in class GuiObjectRecognition
public java.lang.String getObjectProperty(java.lang.Object theObject,
java.lang.String theProperty)
getObjectProperty in class GuiObjectRecognitiontheProperty - name of the property value to be evaluated in the object.
public java.lang.Object getMatchingPathObject(java.lang.Object theObject,
java.lang.String thePath)
getMatchingPathObject in class GuiObjectRecognitionthePath - information to locate another object or subitem relative to theObject.
this is usually something like a menuitem or tree node where supported.
public boolean isMatchingPath(java.lang.Object theObject,
java.lang.String thePath)
isMatchingPath in class GuiObjectRecognitionthePath - information to locate another object or subitem relative to theObject.
this is usually something like a menuitem or tree node where supported.
protected void listProperties(java.lang.Object obj)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||