public class DefaultAddRemoveListModel extends Object implements AddRemoveListModel
| Constructor and Description |
|---|
DefaultAddRemoveListModel(DefaultListModel listModel) |
public DefaultAddRemoveListModel(DefaultListModel listModel)
public ListModel getListModel()
public void add(Object item)
add in interface AddRemoveListModelpublic void setItems(Collection items)
setItems in interface AddRemoveListModelpublic List getItems()
getItems in interface AddRemoveListModelpublic void setSorted(boolean sorted)
public void remove(Object item)
remove in interface AddRemoveListModelCopyright © 2015. All rights reserved.