Package eu.essilab.lablib.checkboxtree
Class SingleTreeCheckingMode
java.lang.Object
eu.essilab.lablib.checkboxtree.TreeCheckingMode
eu.essilab.lablib.checkboxtree.SingleTreeCheckingMode
SingleTreeCheckingMode defines a TreeCheckingMode without recursion. In this
simple mode the check state always changes only the current node: no
recursion. Also, only a single node of the tree is allowed to have a check at
a given time.
- Author:
- Boldrini
-
Field Summary
Fields inherited from class eu.essilab.lablib.checkboxtree.TreeCheckingMode
model -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks the specified path and propagates the checking according to the strategyvoiduncheckPath(TreePath path) Unchecks the specified path and propagates the checking according to the strategyvoidUpdate the check of the given path after the insertion of some of its children, according to the strategyvoidUpdate the check of the given path after the removal of some of its children, according to the strategyvoidUpdate the check of the given path after the structure change, according to the strategy
-
Method Details
-
checkPath
Description copied from class:TreeCheckingModeChecks the specified path and propagates the checking according to the strategy- Specified by:
checkPathin classTreeCheckingMode- Parameters:
path- the path to be added.
-
uncheckPath
Description copied from class:TreeCheckingModeUnchecks the specified path and propagates the checking according to the strategy- Specified by:
uncheckPathin classTreeCheckingMode- Parameters:
path- the path to be removed.
-
updateCheckAfterChildrenInserted
Description copied from class:TreeCheckingModeUpdate the check of the given path after the insertion of some of its children, according to the strategy- Specified by:
updateCheckAfterChildrenInsertedin classTreeCheckingMode
-
updateCheckAfterChildrenRemoved
Description copied from class:TreeCheckingModeUpdate the check of the given path after the removal of some of its children, according to the strategy- Specified by:
updateCheckAfterChildrenRemovedin classTreeCheckingMode
-
updateCheckAfterStructureChanged
Description copied from class:TreeCheckingModeUpdate the check of the given path after the structure change, according to the strategy- Specified by:
updateCheckAfterStructureChangedin classTreeCheckingMode
-