|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.toolbox.ui.widget.tree.DefaultTreeView
public class DefaultTreeView
This is the default TreeView used by DefaultTreeModel.
| Constructor Summary | |
|---|---|
DefaultTreeView()
Creates a DefaultTreeView with an empty DefaultTreeNode as a root node. |
|
DefaultTreeView(DefaultTreeNode root)
Creates a DefaultTreeView with an empty DefaultTreeNode as a root node. |
|
DefaultTreeView(java.lang.Object value)
Creates a DefaultTreeView with an empty DefaultTreeNode as a root node. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public DefaultTreeView()
DefaultTreeNode as a root node.
public DefaultTreeView(DefaultTreeNode root)
DefaultTreeNode as a root node.
public DefaultTreeView(java.lang.Object value)
DefaultTreeNode as a root node.
| Method Detail |
|---|
public boolean allowsChildren(TreeNode node)
allowsChildren in interface TreeView
public boolean allowsChild(TreeNode parent,
TreeNode potentialChild)
allowsChild in interface TreeView
public int compare(java.lang.Object firstNode,
java.lang.Object secondNode)
compare in interface java.util.Comparatorpublic UserTransaction createReadTransaction()
createReadTransaction in interface UserTransactionFactorypublic UserTransaction createWriteTransaction()
createWriteTransaction in interface UserTransactionFactorypublic UserTransaction createWriteTransaction(java.lang.Object source)
createWriteTransaction in interface UserTransactionFactorypublic java.lang.String getAbsolutePath(TreeNode node)
public DefaultTreeNode getChild(DefaultTreeNode parent,
int index)
public int getChildCount(TreeNode parent)
public int getChildIndex(DefaultTreeNode parent,
DefaultTreeNode child)
public java.util.List getChildren(TreeNode parent)
getChildren in interface TreeViewpublic java.util.Iterator iterator()
iterator in interface TreeViewpublic java.util.Iterator iterator(TreeNode startingPoint)
iterator in interface TreeViewpublic java.util.Comparator getComparator()
getComparator in interface TreeViewpublic PropertiedObjectEditor getPropertiedObjectEditor()
getPropertiedObjectEditor in interface PropertiedObjectViewpublic TreeNodeFilter getFilter()
getFilter in interface TreeViewpublic TreeNode getHome()
getHome in interface TreeViewpublic TreeNode getParent(TreeNode child)
getParent in interface TreeViewpublic java.lang.String getPath(TreeNode node)
getPath in interface TreeViewpublic java.util.List getPropertyDefinitions()
getPropertyDefinitions in interface TreeViewpublic DefaultTreeNode getRoot()
public java.util.List getRoots()
getRoots in interface TreeViewpublic java.lang.String getSeparator()
getSeparator in interface TreeViewpublic char getSeparatorChar()
getSeparatorChar in interface TreeViewpublic TreeNodeEditor getTreeNodeEditor()
getTreeNodeEditor in interface TreeViewprotected void initializeDefaultTreeView()
public boolean isAncestorOf(TreeNode ancestor,
TreeNode descendent)
isAncestorOf in interface TreeViewpublic boolean isHidden(TreeNode node)
isHidden in interface TreeViewpublic boolean isMarked(TreeNode node)
isMarked in interface TreeView
public boolean isParentOf(TreeNode parent,
TreeNode child)
isParentOf in interface TreeViewpublic boolean isRoot(TreeNode node)
isRoot in interface TreeViewpublic void setComparator(java.util.Comparator comparator)
setComparator in interface TreeViewpublic void setFilter(TreeNodeFilter filter)
setFilter in interface TreeView
public void setMarked(TreeNode node,
boolean isMarked)
setMarked in interface TreeViewpublic java.util.Set getMarked()
getMarked in interface TreeViewthe - unmodifiable set of marked nodes; never null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||