public class CatalogListNavigator extends Listbox implements SourceNavigator
| Modifier and Type | Field and Description |
|---|---|
static String |
ICON_URL |
protected boolean |
treePagingActive |
| Constructor and Description |
|---|
CatalogListNavigator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addButtons(Component component)
Adds navigator buttons to the passed component.
|
Object |
exportData(Component component) |
ListNavigationModel |
getCatalogListModel()
Getters and setters
|
void |
init(XulElement parentComponent)
Initializes navigator component with default/start data.
|
boolean |
isSearchable()
Inidicates if navigator is able to perform search
|
void |
performSearch(String searchTerm)
Performs search for given search term in the embedded model
|
void |
reload()
Invalidates navigator data model and resets its view
|
void |
setSearchTerm(String searchTerm)
Only applicable for navigators that are searchable
|
void |
show()
Shows navigator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSelectedItemspublic static final String ICON_URL
protected final boolean treePagingActive
public void addButtons(Component component)
SourceNavigatoraddButtons in interface SourceNavigatorcomponent - where navigator button will be placedpublic void init(XulElement parentComponent)
SourceNavigatorinit in interface SourceNavigatorparentComponent - - component where navigator will be appended after calling show() methodpublic boolean isSearchable()
SourceNavigatorisSearchable in interface SourceNavigatorpublic void setSearchTerm(String searchTerm)
SourceNavigatorsetSearchTerm in interface SourceNavigatorpublic void reload()
SourceNavigatorreload in interface SourceNavigatorpublic void show()
SourceNavigatororg.zkoss.zk.ui.event.Events#ON_USER event to parentComponent passed in
SourceNavigator.init(XulElement) method, so the controller will be notified, and navigator will be set as active.show in interface SourceNavigatorpublic Object exportData(Component component)
exportData in interface DataTransferProviderpublic void performSearch(String searchTerm)
public ListNavigationModel getCatalogListModel()
Copyright © 2017 SAP SE. All Rights Reserved.