Package eu.essilab.lablib.checkboxtree
Class PropagatePreservingUncheckTreeCheckingMode
java.lang.Object
eu.essilab.lablib.checkboxtree.TreeCheckingMode
eu.essilab.lablib.checkboxtree.PropagatePreservingUncheckTreeCheckingMode
PropagatePreservingUncheckTreeCheckingMode define a TreeCheckingMode with
 down and up recursion of the check when nodes are clicked. It propagates the
 change not only to descendants but also to ancestors. With regard to
 descendants this mode behaves exactly like the Propagate mode. With regard to
 ancestors it checks/unchecks them as needed so that a node is unchecked if
 and only if all of its children are unchecked.
- Author:
- Boldrini
- 
Field SummaryFields inherited from class eu.essilab.lablib.checkboxtree.TreeCheckingModemodel
- 
Method SummaryModifier 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- 
checkPathDescription copied from class:TreeCheckingModeChecks the specified path and propagates the checking according to the strategy- Specified by:
- checkPathin class- TreeCheckingMode
- Parameters:
- path- the path to be added.
 
- 
uncheckPathDescription copied from class:TreeCheckingModeUnchecks the specified path and propagates the checking according to the strategy- Specified by:
- uncheckPathin class- TreeCheckingMode
- Parameters:
- path- the path to be removed.
 
- 
updateCheckAfterChildrenInsertedDescription 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 class- TreeCheckingMode
 
- 
updateCheckAfterChildrenRemovedDescription 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 class- TreeCheckingMode
 
- 
updateCheckAfterStructureChangedDescription copied from class:TreeCheckingModeUpdate the check of the given path after the structure change, according to the strategy- Specified by:
- updateCheckAfterStructureChangedin class- TreeCheckingMode
 
 
-