public class ObjTreeNodeSearch extends DefaultMutableTreeNode
限定符和类型 | 字段和说明 |
---|---|
static String |
LAYER |
static String |
WORKSPACE |
EMPTY_ENUMERATION
构造器和说明 |
---|
ObjTreeNodeSearch(Object userObject,
String nodeType) |
ObjTreeNodeSearch(TreeNodeData userObject,
String nodeType) |
限定符和类型 | 方法和说明 |
---|---|
TreeNode |
getChildAt(int index) |
int |
getChildCount() |
Vector |
getChildNodes() |
static String |
getSearchText(String nodeType) |
Object |
getUserObject() |
boolean |
isContainSearchText() |
boolean |
isVisible() |
boolean |
refreshNodeVisibleState(Function<TreeNodeData,String> treeNodeDataToString,
Predicate<TreeNodeData> filter) |
void |
removeChildNodes() |
static boolean |
searchTextNotNull(String nodeType) |
static void |
setSearchText(String text,
String nodeType) |
void |
setVisible(boolean visible) |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
public ObjTreeNodeSearch(TreeNodeData userObject, String nodeType)
public int getChildCount()
getChildCount
在接口中 TreeNode
getChildCount
在类中 DefaultMutableTreeNode
public TreeNode getChildAt(int index)
getChildAt
在接口中 TreeNode
getChildAt
在类中 DefaultMutableTreeNode
public Object getUserObject()
getUserObject
在类中 DefaultMutableTreeNode
public boolean refreshNodeVisibleState(Function<TreeNodeData,String> treeNodeDataToString, Predicate<TreeNodeData> filter)
public static boolean searchTextNotNull(String nodeType)
public void setVisible(boolean visible)
public boolean isVisible()
public boolean isContainSearchText()
public void removeChildNodes()
public Vector getChildNodes()
Copyright © 2021–2024 SuperMap. All rights reserved.