Class DefaultAddRemoveListModel
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.ui.addremove.DefaultAddRemoveListModel
-
- All Implemented Interfaces:
AddRemoveListModel
public class DefaultAddRemoveListModel extends Object implements AddRemoveListModel
-
-
Constructor Summary
Constructors Constructor Description DefaultAddRemoveListModel(DefaultListModel listModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Object item)
List
getItems()
ListModel
getListModel()
void
remove(Object item)
void
setItems(Collection items)
void
setSorted(boolean sorted)
-
-
-
Constructor Detail
-
DefaultAddRemoveListModel
public DefaultAddRemoveListModel(DefaultListModel listModel)
-
-
Method Detail
-
getListModel
public ListModel getListModel()
-
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
-
setSorted
public void setSorted(boolean sorted)
-
remove
public void remove(Object item)
- Specified by:
remove
in interfaceAddRemoveListModel
-
-