public class SelectionTreeModel extends Objectimplements TreeModel , SelectionChangeListener
| Constructor and Description |
|---|
SelectionTreeModel(Selection
Create a new SelectionTreeModel for the denoted selection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTreeModelListener(TreeModelListener
|
void |
geographicValuesChanged()
Triggered when the geographic instance's values changed.
|
Object |
getChild(Object
|
int |
getChildCount(Object
|
Geometry |
getGeometry(TreePath
Retrieve the geometry at the denoted path within the tree.
|
int |
getIndexForPath(TreePath
Retrieve the index of the denoted path within the tree.
|
int |
getIndexOfChild(Object
|
Object |
getRoot()
|
Selection |
getSelection()
|
boolean |
isLeaf(Object
|
void |
pixelValuesChanged()
Triggered when the pixel instance's values changed.
|
void |
remove(TreePath
Remove the element pointed to with the denoted path.
|
void |
removeTreeModelListener(TreeModelListener
|
void |
selectionChanged()
Triggered when a complex change happened to the selection.
|
void |
valueForPathChanged(TreePath
|
public SelectionTreeModel(Selectionselection)
selection - the selection to build a model for.
public ObjectgetRoot()
public SelectiongetSelection()
public int getChildCount(Objectparent)
public boolean isLeaf(Objectnode)
public void addTreeModelListener(TreeModelListenerl)
public void removeTreeModelListener(TreeModelListenerl)
public void pixelValuesChanged()
SelectionChangeListener
public void geographicValuesChanged()
SelectionChangeListener
public void selectionChanged()
SelectionChangeListener
public void remove(TreePathpath)
path - the element to remove.
public int getIndexForPath(TreePathpath)
path - the path to retrieve the index for.