Class TreeAddRemoveListModel
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.ui.addremove.TreeAddRemoveListModel
-
- All Implemented Interfaces:
AddRemoveListModel
public class TreeAddRemoveListModel extends Object implements AddRemoveListModel
A read-only tree appropriate for the left-hand panel of an AddRemovePanel. Not for use as the right-hand panel because it is read-only -- it does not have any logic for adding a node to the tree (or removing a node, for that matter).
-
-
Constructor Summary
Constructors Constructor Description TreeAddRemoveListModel(TreeModel treeModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Object item)
List
getItems()
TreeModel
getTreeModel()
void
remove(Object item)
void
setItems(Collection items)
-
-
-
Constructor Detail
-
TreeAddRemoveListModel
public TreeAddRemoveListModel(TreeModel treeModel)
-
-
Method Detail
-
getTreeModel
public TreeModel getTreeModel()
-
add
public void add(Object item)
- Specified by:
add
in interfaceAddRemoveListModel
-
setItems
public void setItems(Collection items)
- Specified by:
setItems
in interfaceAddRemoveListModel
-
getItems
public List getItems()
- Specified by:
getItems
in interfaceAddRemoveListModel
-
remove
public void remove(Object item)
- Specified by:
remove
in interfaceAddRemoveListModel
-
-