fr.ifremer.coser.ui.option
Class ValidatorsTreeModel

java.lang.Object
  extended by fr.ifremer.coser.ui.option.ValidatorsTreeModel
All Implemented Interfaces:
TreeModel

public class ValidatorsTreeModel
extends Object
implements TreeModel

Validators tree model.

Version:
$Revision: 932 $ Last update : $Date: 2011-12-23 16:13:27 +0100 (Fri, 23 Dec 2011) $ By : $Author: echatellier $
Author:
chatellier

Field Summary
protected  CoserConstants.Category[] dataCategory
           
protected  org.jdesktop.swingx.tree.TreeModelSupport support
           
 
Constructor Summary
ValidatorsTreeModel()
           
 
Method Summary
 void addTreeModelListener(TreeModelListener l)
           
 Object getChild(Object parent, int index)
           
 int getChildCount(Object parent)
           
 int getIndexOfChild(Object parent, Object child)
           
 Object getRoot()
           
 boolean isLeaf(Object node)
           
 void removeTreeModelListener(TreeModelListener l)
           
 void valueForPathChanged(TreePath path, Object newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

support

protected org.jdesktop.swingx.tree.TreeModelSupport support

dataCategory

protected CoserConstants.Category[] dataCategory
Constructor Detail

ValidatorsTreeModel

public ValidatorsTreeModel()
Method Detail

getRoot

public Object getRoot()
Specified by:
getRoot in interface TreeModel

getChild

public Object getChild(Object parent,
                       int index)
Specified by:
getChild in interface TreeModel

getChildCount

public int getChildCount(Object parent)
Specified by:
getChildCount in interface TreeModel

isLeaf

public boolean isLeaf(Object node)
Specified by:
isLeaf in interface TreeModel

valueForPathChanged

public void valueForPathChanged(TreePath path,
                                Object newValue)
Specified by:
valueForPathChanged in interface TreeModel

getIndexOfChild

public int getIndexOfChild(Object parent,
                           Object child)
Specified by:
getIndexOfChild in interface TreeModel

addTreeModelListener

public void addTreeModelListener(TreeModelListener l)
Specified by:
addTreeModelListener in interface TreeModel

removeTreeModelListener

public void removeTreeModelListener(TreeModelListener l)
Specified by:
removeTreeModelListener in interface TreeModel


Copyright © 2010-2012 Ifremer. All Rights Reserved.