de.mindcrimeilab.xsanalyzer.model
Class FilteredTreeModel
java.lang.Object
de.mindcrimeilab.swing.util.AbstractTreeModel
de.mindcrimeilab.xsanalyzer.model.FilteredTreeModel
- All Implemented Interfaces:
- Observer, TreeModel
public class FilteredTreeModel
- extends AbstractTreeModel
- implements TreeModel, Observer
- Version:
- $Revision: 140 $
- Author:
- Michael Engelhardt, $Author: agony $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilteredTreeModel
public FilteredTreeModel(TreeModel model,
org.springframework.core.closure.Constraint constraint)
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
getIndexOfChild
public int getIndexOfChild(Object parent,
Object child)
- Specified by:
getIndexOfChild
in interface TreeModel
getRoot
public Object getRoot()
- Specified by:
getRoot
in interface TreeModel
isLeaf
public boolean isLeaf(Object node)
- Specified by:
isLeaf
in interface TreeModel
getConstraint
public org.springframework.core.closure.Constraint getConstraint()
- Returns:
- the constraint
setConstraint
public final void setConstraint(org.springframework.core.closure.Constraint constraint)
- Parameters:
constraint
- the constraint to set
update
public void update(Observable o,
Object arg)
- Specified by:
update
in interface Observer
Copyright © 2010. All Rights Reserved.