T
- the type of the itempublic class AbstractCompositeItems<T>
extends java.lang.Object
Constructor and Description |
---|
AbstractCompositeItems()
Constructs instance with an empty item list.
|
Modifier and Type | Method and Description |
---|---|
OrderedCompositeItem<T> |
getItems()
Gets the items.
|
void |
register(T item)
Register a new item.
|
void |
setItems(java.util.List<? extends T> items)
Sets the list of items.
|
void |
unregister(T item)
Unregister a item.
|
public AbstractCompositeItems()
public void setItems(java.util.List<? extends T> items)
items
- the new itemspublic void register(T item)
item
- the itempublic void unregister(T item)
item
- the itempublic OrderedCompositeItem<T> getItems()