public class SimpleTreeGroupNode extends java.lang.Object implements SimpleTreeNode
Constructor and Description |
---|
SimpleTreeGroupNode() |
Modifier and Type | Method and Description |
---|---|
void |
addChild(SimpleTreeNode child) |
SimpleTreeNode |
getChild(int index) |
int |
getChildCount() |
int |
getIndexOfChild(SimpleTreeNode child) |
java.lang.String |
getName()
TreeTable support: get name of the node
|
java.lang.String |
getValue()
TreeTable support: get value of the node
|
boolean |
isLeaf() |
void |
removeAllChildren() |
SimpleTreeNode |
removeChild(int index) |
public int getChildCount()
getChildCount
in interface SimpleTreeNode
public SimpleTreeNode getChild(int index)
getChild
in interface SimpleTreeNode
public void addChild(SimpleTreeNode child)
public SimpleTreeNode removeChild(int index)
public void removeAllChildren()
public boolean isLeaf()
isLeaf
in interface SimpleTreeNode
public int getIndexOfChild(SimpleTreeNode child)
getIndexOfChild
in interface SimpleTreeNode
public java.lang.String getName()
SimpleTreeNode
getName
in interface SimpleTreeNode
public java.lang.String getValue()
SimpleTreeNode
getValue
in interface SimpleTreeNode
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.