public class ArrayValueTreeNode extends java.lang.Object implements BrowseTreeNode, ValueNode
NO_TYPES
Constructor and Description |
---|
ArrayValueTreeNode(TagTreeNode valueSource,
BrowseTreeNode parent,
int index) |
ArrayValueTreeNode(TagTreeNode valueSource,
BrowseTreeNode parent,
int row,
int col) |
Modifier and Type | Method and Description |
---|---|
void |
blockLoad()
Force this tree node to load it's children (if not already loaded) synchronously.
|
java.util.Enumeration |
children() |
BrowseTreeNode |
findChildNodeByName(java.lang.String name) |
java.util.Set<TagTypeDescriptor> |
getAllowedNewObjectTypes()
Returns the type of objects that can be added at this level.
|
boolean |
getAllowsChildren() |
int |
getArrayIndex() |
javax.swing.tree.TreeNode |
getChildAt(int childIndex) |
int |
getChildCount() |
int |
getColumn() |
EditRights |
getEditRights() |
int |
getIndex(javax.swing.tree.TreeNode node) |
NodeBrowseInfo |
getInfo() |
java.lang.String |
getName()
Returns the name, as it would be represented in a TagPath, of this node
|
BrowseTreeNode |
getParent()
Narrowing return for getParent
|
int |
getRow() |
TagPath |
getTagPath()
Returns the tag path for this tree node
|
java.lang.String |
getTooltipText()
Returns the tooltip text for the tree node
|
QualifiedValue |
getValue() |
boolean |
hasChild(java.lang.String name) |
void |
install(TagTreeModel model,
int index)
Called then the node is created.
|
boolean |
isLeaf() |
boolean |
isMetaNode()
Returns true if this node is a meta node.
|
boolean |
isVisible() |
void |
maybeBrowseAsync()
Will perform an async browse and load for the children of this node if they have not already been loaded.
|
void |
reload()
Will perform a full browse a reload for the children of this node
|
void |
setVisible(boolean visible)
Notifies this node if it is currently displayed or not.
|
java.lang.String |
toString() |
void |
uninstall() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTagType
public ArrayValueTreeNode(TagTreeNode valueSource, BrowseTreeNode parent, int index)
public ArrayValueTreeNode(TagTreeNode valueSource, BrowseTreeNode parent, int row, int col)
public BrowseTreeNode getParent()
BrowseTreeNode
getParent
in interface BrowseTreeNode
getParent
in interface javax.swing.tree.TreeNode
public NodeBrowseInfo getInfo()
getInfo
in interface BrowseTreeNode
getInfo
in interface InfoNode
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
public int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
public TagPath getTagPath()
BrowseTreeNode
getTagPath
in interface BrowseTreeNode
public java.lang.String getName()
BrowseTreeNode
getName
in interface BrowseTreeNode
public java.lang.String getTooltipText()
BrowseTreeNode
getTooltipText
in interface BrowseTreeNode
public java.lang.String toString()
toString
in class java.lang.Object
public int getArrayIndex()
public int getRow()
public int getColumn()
public QualifiedValue getValue()
public javax.swing.tree.TreeNode getChildAt(int childIndex)
getChildAt
in interface javax.swing.tree.TreeNode
public int getIndex(javax.swing.tree.TreeNode node)
getIndex
in interface javax.swing.tree.TreeNode
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
public java.util.Enumeration children()
children
in interface javax.swing.tree.TreeNode
public java.util.Set<TagTypeDescriptor> getAllowedNewObjectTypes()
BrowseTreeNode
getAllowedNewObjectTypes
in interface BrowseTreeNode
public EditRights getEditRights()
getEditRights
in interface BrowseTreeNode
public boolean isMetaNode()
BrowseTreeNode
isMetaNode
in interface BrowseTreeNode
public boolean hasChild(java.lang.String name)
hasChild
in interface BrowseTreeNode
public BrowseTreeNode findChildNodeByName(java.lang.String name)
findChildNodeByName
in interface BrowseTreeNode
public void reload()
BrowseTreeNode
reload
in interface BrowseTreeNode
public void maybeBrowseAsync()
BrowseTreeNode
maybeBrowseAsync
in interface BrowseTreeNode
public void install(TagTreeModel model, int index)
BrowseTreeNode
install
in interface BrowseTreeNode
index
- The index at which this node occurs in its parentpublic void uninstall()
uninstall
in interface BrowseTreeNode
public boolean isVisible()
isVisible
in interface BrowseTreeNode
public void setVisible(boolean visible)
BrowseTreeNode
setVisible
in interface BrowseTreeNode
public void blockLoad()
AsynchronousTreeNode
blockLoad
in interface AsynchronousTreeNode