public static class SupportedTaclets.TreeItem extends DefaultMutableTreeNode
Modifier and Type | Class and Description |
---|---|
static class |
SupportedTaclets.TreeItem.SelectionMode |
Modifier and Type | Field and Description |
---|---|
private SupportedTaclets.Category |
category |
private int |
genericCount |
private SupportedTaclets.TreeItem.SelectionMode |
mode |
private int |
selectedChildCount |
private static long |
serialVersionUID |
private String |
text |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Modifier | Constructor and Description |
---|---|
(package private) |
TreeItem(String text,
boolean checked) |
(package private) |
TreeItem(String text,
int genericCount) |
(package private) |
TreeItem(String text,
SupportedTaclets.Category cat) |
private |
TreeItem(String text,
SupportedTaclets.TreeItem.SelectionMode mode,
int selectedChildCount,
int genericCount,
SupportedTaclets.Category category) |
Modifier and Type | Method and Description |
---|---|
SupportedTaclets.TreeItem |
clone() |
SupportedTaclets.Category |
getCategory() |
int |
getGenericCount() |
SupportedTaclets.TreeItem.SelectionMode |
getMode() |
int |
getSelectedChildCount() |
int |
hashCode() |
boolean |
isSelected() |
void |
setMode(SupportedTaclets.TreeItem.SelectionMode mode) |
void |
setSelectedChildCount(int selectedChildCount) |
String |
toComplexString() |
String |
toString() |
add, breadthFirstEnumeration, children, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
private static final long serialVersionUID
private String text
private SupportedTaclets.TreeItem.SelectionMode mode
private int selectedChildCount
private int genericCount
private SupportedTaclets.Category category
TreeItem(String text, int genericCount)
TreeItem(String text, SupportedTaclets.Category cat)
TreeItem(String text, boolean checked)
private TreeItem(String text, SupportedTaclets.TreeItem.SelectionMode mode, int selectedChildCount, int genericCount, SupportedTaclets.Category category)
public SupportedTaclets.TreeItem clone()
clone
in class DefaultMutableTreeNode
public boolean isSelected()
public SupportedTaclets.Category getCategory()
public int getGenericCount()
public int getSelectedChildCount()
public void setSelectedChildCount(int selectedChildCount)
public SupportedTaclets.TreeItem.SelectionMode getMode()
public void setMode(SupportedTaclets.TreeItem.SelectionMode mode)
public String toComplexString()
public String toString()
toString
in class DefaultMutableTreeNode