public class LayersTreeModel extends Object implements TreeModel
Constructor and Description |
---|
LayersTreeModel(FLayers layers) |
Modifier and Type | Method and Description |
---|---|
void |
addTreeModelListener(TreeModelListener listener) |
Object |
getChild(Object parent,
int index) |
int |
getChildCount(Object parent) |
int |
getIndexOfChild(Object parent,
Object child) |
Object |
getRoot() |
boolean |
isLeaf(Object node) |
void |
reload() |
void |
removeTreeModelListener(TreeModelListener listener) |
void |
setFilter(Evaluator filter) |
void |
valueForPathChanged(TreePath path,
Object value) |
protected FLayers layers
public LayersTreeModel(FLayers layers)
public void setFilter(Evaluator filter)
public int getChildCount(Object parent)
getChildCount
in interface TreeModel
public int getIndexOfChild(Object parent, Object child)
getIndexOfChild
in interface TreeModel
public void valueForPathChanged(TreePath path, Object value)
valueForPathChanged
in interface TreeModel
public void addTreeModelListener(TreeModelListener listener)
addTreeModelListener
in interface TreeModel
public void removeTreeModelListener(TreeModelListener listener)
removeTreeModelListener
in interface TreeModel
public void reload()