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
Modifier and TypeFieldDescriptionprotected Collection<TreeModelListener>
Tree model listeners.protected Factor
Tree model root. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
getChildCount
(Object parent) int
getIndexOfChild
(Object parent, Object child) getRoot()
boolean
void
void
setRootFactor
(Factor rootFactor) void
valueForPathChanged
(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:
getChildCount
in interfaceTreeModel
-
getIndexOfChild
- Specified by:
getIndexOfChild
in interfaceTreeModel
-
isLeaf
-
addTreeModelListener
- Specified by:
addTreeModelListener
in interfaceTreeModel
-
getRoot
-
removeTreeModelListener
- Specified by:
removeTreeModelListener
in interfaceTreeModel
-
valueForPathChanged
- Specified by:
valueForPathChanged
in interfaceTreeModel
-