public class LoadingNode extends java.lang.Object implements TagPathTreeNode
Constructor and Description |
---|
LoadingNode(TagPathTreeNode parent) |
Modifier and Type | Method and Description |
---|---|
void |
blockLoad()
Noop - no children
|
java.util.Enumeration |
children() |
TagPathTreeNode |
findChildNodeByName(java.lang.String name)
Returns a child tree node identified by the given name, or null if none was found by that name.
|
boolean |
getAllowsChildren() |
TagPathTreeNode |
getChildAt(int idx)
Narrowed return type from getChildAt in TreeNode
|
int |
getChildCount() |
int |
getIndex(javax.swing.tree.TreeNode node) |
ClientTagManager |
getManager()
Returns the root ClientTagManager that loaded this node
|
java.lang.String |
getName()
Returns the name, as it would be represented in a TagPath, of this node
|
TagPathTreeNode |
getParent()
Narrowing return for getParent
|
TagPath |
getTagPath()
Returns the tag path for this tree node
|
java.lang.String |
getTooltipText()
Returns the tooltip text for the tree node
|
boolean |
hasChild(java.lang.String name)
Returns a boolean indicating if this node has a child of the given name
|
void |
install(SQLTagTreeModel 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 |
reload() |
void |
setVisible(boolean visible)
Notifies this node if it is currently displayed or not.
|
java.lang.String |
toString() |
void |
uninstall()
Called when the node is destroyed.
|
public LoadingNode(TagPathTreeNode parent)
public TagPathTreeNode findChildNodeByName(java.lang.String name)
TagPathTreeNode
findChildNodeByName
in interface TagPathTreeNode
public boolean hasChild(java.lang.String name)
TagPathTreeNode
hasChild
in interface TagPathTreeNode
public TagPathTreeNode getChildAt(int idx)
TagPathTreeNode
getChildAt
in interface TagPathTreeNode
getChildAt
in interface javax.swing.tree.TreeNode
public TagPathTreeNode getParent()
TagPathTreeNode
getParent
in interface TagPathTreeNode
getParent
in interface javax.swing.tree.TreeNode
public TagPath getTagPath()
TagPathTreeNode
getTagPath
in interface TagPathHolder
getTagPath
in interface TagPathTreeNode
public java.lang.String getTooltipText()
TagPathTreeNode
getTooltipText
in interface TagPathTreeNode
public void install(SQLTagTreeModel model, int index)
TagPathTreeNode
install
in interface TagPathTreeNode
index
- The index at which this node occurs in its parentpublic ClientTagManager getManager()
TagPathTreeNode
getManager
in interface TagPathTreeNode
public boolean isMetaNode()
TagPathTreeNode
isMetaNode
in interface TagPathTreeNode
public boolean isVisible()
isVisible
in interface TagPathTreeNode
public void reload()
reload
in interface TagPathTreeNode
public void setVisible(boolean visible)
TagPathTreeNode
setVisible
in interface TagPathTreeNode
public void uninstall()
TagPathTreeNode
uninstall
in interface TagPathTreeNode
public java.util.Enumeration children()
children
in interface javax.swing.tree.TreeNode
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
public int getChildCount()
getChildCount
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.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
TagPathTreeNode
getName
in interface TagPathTreeNode
public void blockLoad()
blockLoad
in interface TagPathTreeNode
blockLoad
in interface AsynchronousTreeNode