com.vividsolutions.jump.workbench.ui.addremove
Class DefaultAddRemoveListModel

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.addremove.DefaultAddRemoveListModel
All Implemented Interfaces:
AddRemoveListModel

public class DefaultAddRemoveListModel
extends java.lang.Object
implements AddRemoveListModel


Constructor Summary
DefaultAddRemoveListModel(javax.swing.DefaultListModel listModel)
           
 
Method Summary
 void add(java.lang.Object item)
           
 java.util.List getItems()
           
 javax.swing.ListModel getListModel()
           
 void remove(java.lang.Object item)
           
 void setItems(java.util.Collection items)
           
 void setSorted(boolean sorted)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAddRemoveListModel

public DefaultAddRemoveListModel(javax.swing.DefaultListModel listModel)
Method Detail

getListModel

public javax.swing.ListModel getListModel()

add

public void add(java.lang.Object item)
Specified by:
add in interface AddRemoveListModel

setItems

public void setItems(java.util.Collection items)
Specified by:
setItems in interface AddRemoveListModel

getItems

public java.util.List getItems()
Specified by:
getItems in interface AddRemoveListModel

setSorted

public void setSorted(boolean sorted)

remove

public void remove(java.lang.Object item)
Specified by:
remove in interface AddRemoveListModel