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 voidadd(Object item)ListgetItems()ListModelgetListModel()voidremove(Object item)voidsetItems(Collection items)voidsetSorted(boolean sorted)
-
-
-
Constructor Detail
-
DefaultAddRemoveListModel
public DefaultAddRemoveListModel(DefaultListModel listModel)
-
-
Method Detail
-
getListModel
public ListModel getListModel()
-
add
public void add(Object item)
- Specified by:
addin interfaceAddRemoveListModel
-
setItems
public void setItems(Collection items)
- Specified by:
setItemsin interfaceAddRemoveListModel
-
getItems
public List getItems()
- Specified by:
getItemsin interfaceAddRemoveListModel
-
setSorted
public void setSorted(boolean sorted)
-
remove
public void remove(Object item)
- Specified by:
removein interfaceAddRemoveListModel
-
-