Package org.cristalise.gui.tree
Class Node
java.lang.Object
org.cristalise.gui.tree.Node
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
DynamicTreeBuilder,NodeCollection,NodeContext,NodeItem
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Pathprotected ItemTabManagerprotected Iconprotected booleanprotected ItemPathprotected DynamicTreeBuilderprotected Stringprotected ArrayList<NodeSubscriber> protected Stringprotected DefaultMutableTreeNodeprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidvoidend(boolean more) getChildNode(Path itsPath) getIcon()getName()getPath()getType()abstract voidvoidloadMore()voidInserts a tree builder as the first child of the node, so it can be opened in the treevoidrefresh()voidvoidvoidrun()voidvoidsetToolTip(String tip) voidsetTreeNode(DefaultMutableTreeNode treeNode) voidsubscribeNode(NodeSubscriber target) Subscription for loading node children.toString()voidunsubscribeNode(NodeSubscriber target)
-
Field Details
-
binding
-
treeNode
-
name
-
itemPath
-
type
-
toolTip
-
icon
-
isExpandable
protected boolean isExpandable -
childNodes
-
subscribers
-
loader
-
desktop
-
-
Constructor Details
-
Node
-
Node
-
-
Method Details
-
createTreeNode
protected void createTreeNode() -
getDesktop
-
newNode
-
makeExpandable
public void makeExpandable()Inserts a tree builder as the first child of the node, so it can be opened in the tree -
getTreeNode
-
setTreeNode
-
subscribeNode
Subscription for loading node children. Note this is separate from the itemproxy subscription as it included query of the naming service and eventually should not require access to the item at all for higher performance -
loadMore
public void loadMore() -
unsubscribeNode
-
add
-
remove
-
removeAllChildren
public void removeAllChildren() -
getChildNode
-
end
public void end(boolean more) -
run
public void run() -
loadChildren
public abstract void loadChildren() -
refresh
public void refresh() -
getItemPath
-
getName
-
getType
-
getPath
-
getTreeBuilder
-
toString
-
getIcon
-
getIconName
-
setIcon
-
getPopupMenu
-
getToolTip
-
setToolTip
-