public class DefaultAddRemoveListModel extends java.lang.Object implements AddRemoveListModel
Constructor and Description |
---|
DefaultAddRemoveListModel(javax.swing.DefaultListModel listModel) |
public DefaultAddRemoveListModel(javax.swing.DefaultListModel listModel)
public javax.swing.ListModel getListModel()
public void add(java.lang.Object item)
add
in interface AddRemoveListModel
public void setItems(java.util.Collection items)
setItems
in interface AddRemoveListModel
public java.util.List getItems()
getItems
in interface AddRemoveListModel
public void setSorted(boolean sorted)
public void remove(java.lang.Object item)
remove
in interface AddRemoveListModel