public class SPCTreeNode
extends javax.swing.tree.DefaultMutableTreeNode
Modifier and Type | Field and Description |
---|---|
java.awt.Rectangle |
bounds |
(package private) java.lang.String |
CLASS_SFATTR
"CLASS="
|
(package private) java.lang.String |
CLASS_XPATTR
"@CLASS='"
|
SPCTreeNode |
frame
If the item is in a frame, a reference to that frame will be stored here.
|
(package private) java.lang.String |
ID_SFATTR
"ID="
|
(package private) java.lang.String |
ID_XPATTR
"@ID='"
|
(package private) java.lang.String |
NAME_SFATTR
"NAME="
|
(package private) java.lang.String |
NAME_XPATTR
"@NAME='"
|
java.lang.String |
xpart
last child xpath portion only.
|
java.lang.String |
xpath
full hierarchy xpath
|
Constructor and Description |
---|
SPCTreeNode() |
SPCTreeNode(java.lang.String[] all)
Expects a String[5] containing:
|
Modifier and Type | Method and Description |
---|---|
SPCTreeNode |
findChild(java.lang.String xpart) |
SPCTreeNode |
findFrame(java.lang.String frameRS) |
java.lang.String |
generateComponentName()
Generate a simple name for an element that can be temporarily used in an App Map.
|
java.lang.Object |
getAccessibilities() |
java.lang.String |
getAttrClass() |
java.lang.String |
getCompType() |
java.lang.String |
getCssDisplay() |
java.lang.String |
getCssVisibility() |
java.lang.String |
getDomain() |
java.lang.String |
getDomainClass() |
java.lang.String |
getDomainRecognition() |
java.lang.String |
getId() |
java.lang.String |
getName() |
java.lang.String |
getParentFrameRS() |
java.lang.String |
getRecognitionString() |
java.lang.String |
getSubType() |
java.lang.String |
getTag() |
java.lang.String |
getText() |
java.lang.String |
getTitle() |
java.lang.String |
getXpath() |
boolean |
isVisible() |
static void |
resetCompNamesCache()
reset the cache of compnames already generated to insure we start fresh with any indices.
|
void |
setAccessibilities(java.lang.Object accessibilities) |
void |
setAttrClass(java.lang.String attrClass) |
void |
setCompType(java.lang.String compType) |
void |
setCssDisplay(java.lang.String cssDisplay) |
void |
setCssVisibility(java.lang.String cssVisibility) |
void |
setDomain(java.lang.String domain) |
void |
setDomainClass(java.lang.String domainClass) |
void |
setDomainRecognition(java.lang.String domainRecognition) |
void |
setId(java.lang.String id) |
void |
setName(java.lang.String name) |
void |
setParentFrameRS(java.lang.String parentFrameRS) |
void |
setRecognitionString(java.lang.String recognitionString) |
void |
setSubType(java.lang.String subType) |
void |
setTag(java.lang.String tag) |
void |
setText(java.lang.String text) |
void |
setTitle(java.lang.String title) |
void |
setVisible(boolean visible)
Set true if the item was visible during last query of this state.
|
void |
setXpath(java.lang.String xpath) |
java.lang.String |
toString()
This ends up being the visible node text in the TreePanel.
|
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
public SPCTreeNode frame
public java.lang.String xpath
public java.lang.String xpart
public java.awt.Rectangle bounds
java.lang.String CLASS_XPATTR
java.lang.String ID_XPATTR
java.lang.String NAME_XPATTR
java.lang.String CLASS_SFATTR
java.lang.String ID_SFATTR
java.lang.String NAME_SFATTR
public SPCTreeNode()
public SPCTreeNode(java.lang.String[] all)
all[0] = xpath all[1] = x all[2] = y all[3] = w all[4] = h
all
- public SPCTreeNode findChild(java.lang.String xpart)
public SPCTreeNode findFrame(java.lang.String frameRS)
public java.lang.String getCssDisplay()
public void setCssDisplay(java.lang.String cssDisplay)
public java.lang.String getCssVisibility()
public void setCssVisibility(java.lang.String cssVisibility)
public java.lang.String getRecognitionString()
public void setRecognitionString(java.lang.String recognitionString)
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getXpath()
public void setXpath(java.lang.String xpath)
public java.lang.String getText()
public void setText(java.lang.String text)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public java.lang.String getTag()
public void setTag(java.lang.String tag)
public java.lang.String getAttrClass()
public void setAttrClass(java.lang.String attrClass)
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
public java.lang.String getDomain()
public void setDomain(java.lang.String domain)
domain
- the domain to setpublic java.lang.String getDomainRecognition()
public void setDomainRecognition(java.lang.String domainRecognition)
domainRecognition
- the domainRecognition to setpublic java.lang.String getDomainClass()
public void setDomainClass(java.lang.String domainClass)
domainClass
- the domainClass to setpublic java.lang.String getCompType()
public void setCompType(java.lang.String compType)
compType
- the mapped compType to setpublic java.lang.String getSubType()
public void setSubType(java.lang.String subType)
subType
- the element subType, if any. For example, input element 'type' attribute.public boolean isVisible()
public void setVisible(boolean visible)
visible
- --public java.lang.String generateComponentName()
public static void resetCompNamesCache()
public java.lang.String getParentFrameRS()
public void setParentFrameRS(java.lang.String parentFrameRS)
public java.lang.Object getAccessibilities()
public void setAccessibilities(java.lang.Object accessibilities)
Copyright © SAS Institute. All Rights Reserved.