public class TreeAddRemoveListModel extends java.lang.Object implements AddRemoveListModel
Constructor and Description |
---|
TreeAddRemoveListModel(javax.swing.tree.TreeModel treeModel) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.Object item) |
java.util.List |
getItems() |
javax.swing.tree.TreeModel |
getTreeModel() |
void |
remove(java.lang.Object item) |
void |
setItems(java.util.Collection items) |
public TreeAddRemoveListModel(javax.swing.tree.TreeModel treeModel)
public javax.swing.tree.TreeModel getTreeModel()
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 remove(java.lang.Object item)
remove
in interface AddRemoveListModel