|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultMutableTreeNode org.bibalex.daf.commongui.datamodels.CheckNode
public class CheckNode
Field Summary | |
---|---|
static int |
DIG_IN_SELECTION
|
protected boolean |
isSelected
|
private int |
permissionID
|
protected int |
selectionMode
|
static int |
SINGLE_SELECTION
|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
---|---|
CheckNode()
|
|
CheckNode(java.lang.Object userObject,
boolean allowsChildren,
boolean isSelected)
|
|
CheckNode(java.lang.Object userObject,
int permissionID)
|
Method Summary | |
---|---|
int |
getPermID()
|
int |
getSelectionMode()
|
boolean |
isSelected()
Determine if the currnet node is checked or not |
void |
setSelected(boolean isSelected)
|
void |
setSelectedSingle(boolean isSelected)
set only the current selected node. |
void |
setSelectionMode(int mode)
|
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
add, breadthFirstEnumeration, children, clone, 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, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int SINGLE_SELECTION
public static final int DIG_IN_SELECTION
protected int selectionMode
protected boolean isSelected
private int permissionID
Constructor Detail |
---|
public CheckNode()
public CheckNode(java.lang.Object userObject, int permissionID)
public CheckNode(java.lang.Object userObject, boolean allowsChildren, boolean isSelected)
Method Detail |
---|
public void setSelectionMode(int mode)
public int getSelectionMode()
public void setSelected(boolean isSelected)
public boolean isSelected()
public void setSelectedSingle(boolean isSelected)
isSelected
- public int getPermID()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |