public class AGuiObjectVector extends GuiObjectVector
Modifier and Type | Field and Description |
---|---|
(package private) static AGuiClassData |
classdata
our static instance of AGuiClassData
|
ACTIVE_WINDOW_REFERENCE, cache, childName, childSeparator, DEFAULT_CHILD_SEPARATOR, DESKTOP_REFERENCE, DOTNET_POPUPMENU, FULLPATH_SEARCH_MODE_PREFIX, GENERIC_OBJECTTYPE_POPUPWINDOW, INITIAL_CACHE_SIZE, isFullPathSearchString, isMappedClassSearchString, isRftFindSearchString, MAPPEDCLASS_SEARCH_MODE_PREFIX, MODE_ENGINE_PROCESSING, MODE_EXTERNAL_PROCESSING, OBJECTTYPE_POPUPCONTAINER, OBJECTTYPE_POPUPMENU, OBJECTTYPE_POPUPWINDOW, path, pathVector, process_mode, recognitionStringPrefixes, RFT_FIND_SEARCH_MODE_PREFIX, SIMPLETYPE_POPUPMENU, WIN_POPUPMENU, windowName
Constructor and Description |
---|
AGuiObjectVector(java.lang.String window,
java.lang.String child,
java.lang.String pathString)
Default Constructor for our AGuiObjectVector.
|
Modifier and Type | Method and Description |
---|---|
GuiChildIterator |
createGuiChildIterator(java.util.List gather)
Provide a GuiChildIterator instance as required.
|
GuiChildIterator |
createGuiChildIterator(java.lang.Object aparent,
GuiObjectVector govVector,
java.util.List gather)
Provide our GuiChildIterator instance as required.
|
GuiObjectRecognition |
createGuiObjectRecognition(java.lang.String subpath,
int govLevel)
Provide our AGuiObjectRecognition instance as required during initialization.
|
java.lang.Object[] |
getChildObjects(java.lang.Object parent)
Return an array representing all known child objects of the parent.
|
AGuiObjectRecognition |
getChildRecognition(int index)
Casts the GuiObjectRecognition from getChildGuiObjectRecognition to
our subclass.
|
java.lang.Object[] |
getDomainParentObjects(java.lang.String domainname)
Return an array representing all known top level window objects.
|
GuiClassData |
getGuiClassData()
Return our AGuiClassData subclass as required.
|
java.lang.Object[] |
getParentObjects()
Return an array representing all known top level window objects.
|
boolean |
isValidGuiContainer(java.lang.Object object)
Return true if the object is a Container.
|
boolean |
isValidGuiObject(java.lang.Object object)
Return true if the object is a Component.
|
void |
setActiveWindow(java.lang.Object _comp)
Make the Window referenced by _comp the active window.
|
convertToKeys, getCachedItem, getChildGuiObjectRecognition, getChildMatchData, getChildName, getFinalChildGuiObjectRecognition, getGuiObjectType, getMatchingChildObject, getMatchingParentObject, getParentGuiObjectRecognition, getPathVector, getProcessMode, getRecognitionDepth, getVectorString, getWindowName, initGuiObjectRecognition, isFullPathSearchMode, isMappedClassSearchMode, isMatchingParent, isRftFindSearchMode, isSeekingPopupMenu, isTopLevelPopupContainer, isTopLevelPopupWindow, iterateChildMatchData, iterateChildren, makeUniqueCacheKey, putCachedItem, removeCachedItem, removeRStringPrefixes, resetExternalModeCache, setChildName, setFullPathSearchMode, setMappedClassSearchMode, setPathVector, setProcessMode, setRftFindSearchMode, setWindowName
static AGuiClassData classdata
public AGuiObjectVector(java.lang.String window, java.lang.String child, java.lang.String pathString)
public GuiChildIterator createGuiChildIterator(java.lang.Object aparent, GuiObjectVector govVector, java.util.List gather)
createGuiChildIterator
in class GuiObjectVector
aparent
- is NOT a cached key, but should be the actual
engine-specific object that should have already been retrieved from
internal cache if MODE_EXTERNAL_PROCESSING.public GuiChildIterator createGuiChildIterator(java.util.List gather)
createGuiChildIterator
in class GuiObjectVector
public GuiObjectRecognition createGuiObjectRecognition(java.lang.String subpath, int govLevel)
createGuiObjectRecognition
in class GuiObjectVector
public GuiClassData getGuiClassData()
getGuiClassData
in class GuiObjectVector
public AGuiObjectRecognition getChildRecognition(int index)
public java.lang.Object[] getParentObjects()
public java.lang.Object[] getDomainParentObjects(java.lang.String domainname)
getDomainParentObjects
in class GuiObjectVector
domainname
- should be one of the supported org.safs.Domains constants like
"Java", "Html", "Win", etc..GuiObjectVector.convertToKeys(Object[])
,
GuiObjectVector.makeUniqueCacheKey(Object)
,
GuiObjectVector.putCachedItem(Object, Object)
,
GuiObjectVector.getCachedItem(Object)
public java.lang.Object[] getChildObjects(java.lang.Object parent)
getChildObjects
in class GuiObjectVector
GuiObjectVector.convertToKeys(Object[])
,
GuiObjectVector.makeUniqueCacheKey(Object)
,
GuiObjectVector.putCachedItem(Object, Object)
,
GuiObjectVector.getCachedItem(Object)
public boolean isValidGuiObject(java.lang.Object object)
isValidGuiObject
in class GuiObjectVector
GuiObjectVector.getCachedItem(Object)
public boolean isValidGuiContainer(java.lang.Object object)
isValidGuiContainer
in class GuiObjectVector
GuiObjectVector.getCachedItem(Object)
public void setActiveWindow(java.lang.Object _comp)
GuiObjectVector
setActiveWindow
in class GuiObjectVector
_comp
- is a String key used to retrieve cached items or an
engine-specific proxy implementation of the component itself. This is
usually one the objects returned in the Object[] from getParentObjects();GuiObjectVector.setActiveWindow(java.lang.Object)