Class FactorTreeModel
java.lang.Object
fr.ifremer.isisfish.ui.sensitivity.model.FactorTreeModel
- All Implemented Interfaces:
TreeModel
Cette classe gere l'affichage d'une liste de facteurs dans l'arbre.
- Version:
- $Revision$ Last update : $Date: 2008-06-13 11:05:57 +0200 (ven., 13 juin 2008) $ By : $Author$
- Author:
- chatellier
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Collection<TreeModelListener>Tree model listeners.protected FactorTree model root. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintgetChildCount(Object parent) intgetIndexOfChild(Object parent, Object child) getRoot()booleanvoidvoidsetRootFactor(Factor rootFactor) voidvalueForPathChanged(TreePath path, Object newValue)
-
Field Details
-
rootFactor
Tree model root. -
modelListeners
Tree model listeners.
-
-
Constructor Details
-
FactorTreeModel
Constructor.- Parameters:
rootFactor- root factor (typically, aFactorGroup)
-
-
Method Details
-
setRootFactor
-
getChild
-
getChildCount
- Specified by:
getChildCountin interfaceTreeModel
-
getIndexOfChild
- Specified by:
getIndexOfChildin interfaceTreeModel
-
isLeaf
-
addTreeModelListener
- Specified by:
addTreeModelListenerin interfaceTreeModel
-
getRoot
-
removeTreeModelListener
- Specified by:
removeTreeModelListenerin interfaceTreeModel
-
valueForPathChanged
- Specified by:
valueForPathChangedin interfaceTreeModel
-