public interface ViewItemContainer
Modifier and Type | Method and Description |
---|---|
void |
addViewItem(ViewItem item)
Add a view item in the container
|
List<ViewItem> |
getViewItems()
Retrieves all the view items of this container
|
boolean |
hasViewItem(String itemName)
Checks if there is a view item with the given name
|
void |
insertViewItem(ViewItem item,
int index)
Insert a view item in the container at the given index
|
List<ViewItem> getViewItems()
boolean hasViewItem(String itemName)
itemName
- the name of the itemtrue
if the container contains an item with the given name, false
otherwisevoid addViewItem(ViewItem item)
item
- the item to addvoid insertViewItem(ViewItem item, int index)
item
- the item to insertindex
- index at which the item has to be inserted