Package eu.essilab.lablib.checkboxtree
Class TreeCheckingMode
java.lang.Object
eu.essilab.lablib.checkboxtree.TreeCheckingMode
- Direct Known Subclasses:
- PropagatePreservingCheckTreeCheckingMode,- PropagatePreservingUncheckTreeCheckingMode,- PropagateTreeCheckingMode,- PropagateUpWhiteTreeCheckingMode,- SimpleTreeCheckingMode,- SingleTreeCheckingMode
The model for checking/unchecking the nodes of a CheckboxTree. Alterations of
 a node state may propagate on descendants/ascendants, according to the
 behavior of the model. Several default behavioral modes are defined. The
 models must use the methods addToCheckedSet and removeFromCheckedSet from
 DefaultTreeCheckingModel to add/remove the single paths from the checking
 set.
- Author:
- bigagli, boldrini
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionabstract voidChecks the specified path and propagates the checking according to the strategyabstract voiduncheckPath(TreePath path) Unchecks the specified path and propagates the checking according to the strategyabstract voidUpdate the check of the given path after the insertion of some of its children, according to the strategyabstract voidUpdate the check of the given path after the removal of some of its children, according to the strategyabstract voidUpdate the check of the given path after the structure change, according to the strategy
- 
Field Details- 
model
 
- 
- 
Method Details- 
checkPathChecks the specified path and propagates the checking according to the strategy- Parameters:
- path- the path to be added.
 
- 
uncheckPathUnchecks the specified path and propagates the checking according to the strategy- Parameters:
- path- the path to be removed.
 
- 
updateCheckAfterChildrenInsertedUpdate the check of the given path after the insertion of some of its children, according to the strategy- Parameters:
- path-
 
- 
updateCheckAfterChildrenRemovedUpdate the check of the given path after the removal of some of its children, according to the strategy- Parameters:
- path-
 
- 
updateCheckAfterStructureChangedUpdate the check of the given path after the structure change, according to the strategy- Parameters:
- path-
 
 
-