public class AttributeListNavigator extends Listbox implements SourceNavigator
| Modifier and Type | Field and Description |
|---|---|
protected ListitemRenderer |
attributeListItemRenderer |
protected ListNavigationModel |
attributeListModel |
static String |
ICON_URL |
protected XulElement |
parentComponent |
protected String |
searchTerm |
| Constructor and Description |
|---|
AttributeListNavigator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addButtons(Component component)
Adds navigator buttons to the passed component.
|
Object |
exportData(Component component) |
void |
init(XulElement parentComponent)
Initializes navigator component with default/start data.
|
boolean |
isSearchable()
Inidicates if navigator is able to perform search
|
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 ListNavigationModel attributeListModel
protected ListitemRenderer attributeListItemRenderer
protected String searchTerm
protected XulElement parentComponent
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 reload()
SourceNavigatorreload in interface SourceNavigatorpublic void setSearchTerm(String searchTerm)
SourceNavigatorsetSearchTerm 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 DataTransferProviderCopyright © 2017 SAP SE. All Rights Reserved.