Package ca.phon.ui.tristatecheckbox
Class TristateCheckBoxTreeModel
java.lang.Object
javax.swing.tree.DefaultTreeModel
ca.phon.ui.tristatecheckbox.TristateCheckBoxTreeModel
- All Implemented Interfaces:
Serializable
,TreeModel
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class javax.swing.tree.DefaultTreeModel
asksAllowsChildren, listenerList, root
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearCheckedNodes
(TreeNode root) void
fireTreeNodeCheckingChanged
(Object source, Object[] path, int[] childIndices, Object[] children, TristateCheckBoxState state) void
void
valueForPathChanged
(TreePath path, Object newValue) Methods inherited from class javax.swing.tree.DefaultTreeModel
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot
-
Constructor Details
-
TristateCheckBoxTreeModel
-
-
Method Details
-
getCheckingMode
-
setCheckingMode
-
valueForPathChanged
- Specified by:
valueForPathChanged
in interfaceTreeModel
- Overrides:
valueForPathChanged
in classDefaultTreeModel
-
fireTreeNodeCheckingChanged
public void fireTreeNodeCheckingChanged(Object source, Object[] path, int[] childIndices, Object[] children, TristateCheckBoxState state) -
clearCheckedNodes
-