|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultMutableTreeNode oracle.apps.fnd.applseed.config.model.CheckNode
public class CheckNode
Class models a defaultMutableTreeNode that also has a checkbox.
Field Summary |
---|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
---|---|
CheckNode(java.lang.Object obj)
Constructor based on user object. |
|
CheckNode(java.lang.Object obj,
boolean initialCheckValue,
boolean isValueConstrainedByModel)
Constructor based on user object. |
Method Summary | |
---|---|
static CheckNode |
constructCheckNode(javax.swing.tree.DefaultMutableTreeNode node)
Static constructor of Tree of CheckNodes that is a clone of the given node. |
static CheckNode |
constructCheckNode(javax.swing.tree.DefaultMutableTreeNode node,
boolean initialValue,
boolean constrained)
Static constructor of Tree of CheckNodes that is a clone of the given node. |
javax.swing.JCheckBox |
getCheckBox()
Method returns checkbox. |
boolean |
isChecked()
returns status of the check node. |
boolean |
isModelContained()
returns true if the bc4j model has declared this node to be contained. |
void |
toggleCheckBox(boolean isRecursive)
Method reverses state of checkbox for the node. |
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 |
Constructor Detail |
---|
public CheckNode(java.lang.Object obj)
obj
- user object of the nodepublic CheckNode(java.lang.Object obj, boolean initialCheckValue, boolean isValueConstrainedByModel)
obj
- user object of the nodeinitialCheckValue
- check is selectedisValueConstrainedByModel
- is value changeableMethod Detail |
---|
public javax.swing.JCheckBox getCheckBox()
public static CheckNode constructCheckNode(javax.swing.tree.DefaultMutableTreeNode node, boolean initialValue, boolean constrained)
node
- node to copyinitialValue
- check valueconstrained
- model restricted
public static CheckNode constructCheckNode(javax.swing.tree.DefaultMutableTreeNode node)
node
- node to copy
public boolean isChecked()
public boolean isModelContained()
public void toggleCheckBox(boolean isRecursive)
isRecursive
- reverse state of child nodes also.
|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |