public class StaticListPageElement<T> extends ListPageElement<T>
ListPageElement.ListTableInfo, ListPageElement.SelectableItem, ListPageElement.SelectionSet
beanClass, items, selectedItems
Constructor and Description |
---|
StaticListPageElement(Page page,
Class<T> beanClass,
String propertyName) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T item) |
boolean |
add(T item,
int index) |
boolean |
contains(T item) |
ListPageElement.ListTableInfo |
getTableInfo()
session scoped properties
|
boolean |
move(T item,
int index) |
protected void |
onInitPage() |
boolean |
remove(T item) |
void |
setItems(List<T> items) |
int |
size() |
void |
update() |
assignSelectionMap, clearItems, clearSelection, getItemCount, getItems, getSelectedItemCount, getSelectedItems, isBlank, isEmpty, isHasSelection, isInvertSelection, isNotEmpty, isSingleSelection, isValid, setInvertSelection, setSelection, setSelection, setSingleSelection
getConnection, getConnection, getPage, getPropertyName, getSessionObject, onRefreshPage, removeSessionObject, setSessionObject
protected void onInitPage()
onInitPage
in class PageElement
public ListPageElement.ListTableInfo getTableInfo()
ListPageElement
getTableInfo
in class ListPageElement<T>
public int size()
public boolean contains(T item)
public boolean add(T item)
public boolean add(T item, int index)
public boolean move(T item, int index)
public boolean remove(T item)
public void update()
Copyright © 2008–2015 Apache Software Foundation. All rights reserved.