public class ResultListImpl extends org.zkoss.zul.Listbox implements ResultList
ResultList. This implementation extends Listbox.| Constructor and Description |
|---|
ResultListImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<ResultListItem> |
getAllListItems() |
List<HeaderInformation> |
getHeaderInformation()
Returns information about the headers representing the columns of this ResultList.
|
int |
getListItemCount() |
int |
getSelectedListIndex() |
DraggableListItem |
getSelectedListItem() |
List<ResultListItem> |
getSelectedListItems() |
void |
init(ResultSetViewImpl parent,
ResultSetPresenter presenter)
Gets called directly after the new instance was created.
|
void |
renderQueryResult(List<ResultProperties> resultList)
Renders the list of properties that represents the result of the previous query.
|
void |
service(org.zkoss.zk.au.AuRequest request,
boolean everError) |
void |
setContextMenu(org.zkoss.zul.Menupopup popup)
Sets a
Menupopup to be used as context-menu of this ResultList. |
void |
setSelectedListIndex(int index)
Selects the item with the specified index in the list.
|
addItemToSelection, addItemToSelectionApi, afterInsert, appendItem, appendItemApi, beforeChildAdded, beforeRemove, clearSelection, clone, getChildren, getEmptyMessage, getExtraCtrl, getFrozen, getGroupCount, getGroups, getGroupsModel, getHeads, getIndexOfItem, getIndexOfItemApi, getInnerWidth, getItemAtIndex, getItemAtIndexApi, getItemCount, getItemRenderer, getItems, getListfoot, getListfootApi, getListhead, getListheadApi, getListModel, getMaxlength, getModel, getName, getNonselectableTags, getOddRowSclass, getPaginal, getPagingChild, getPagingChildApi, getPreloadSize, getRows, getSelectedCount, getSelectedIndex, getSelectedItem, getSelectedItemApi, getSelectedItems, getSeltype, getTabindex, getVisibleItemCount, getZclass, hasGroup, insertBefore, isCheckmark, isDisabled, isFixedLayout, isMultiple, isVflex, onInitRender, onPageAttached, onPagingInitRender, pgi, removeChild, removeItemAt, removeItemAtApi, removeItemFromSelection, removeItemFromSelectionApi, renderAll, renderItem, renderItemApi, renderItems, renderProperties, selectAll, selectItem, selectItemApi, sessionDidActivate, sessionWillPassivate, setActivePage, setActivePage, setCheckmark, setDisabled, setEmptyMessage, setFixedLayout, setInnerWidth, setItemRenderer, setItemRenderer, setMaxlength, setModel, setModel, setMold, setMultiple, setName, setNonselectableTags, setOddRowSclass, setPaginal, setPreloadSize, setRows, setSelectedIndex, setSelectedItem, setSelectedItemApi, setSelectedItems, setSeltype, setTabindex, setVflex, toggleItemSelection, toggleItemSelectionApigetActivePage, getPageCount, getPageSize, getPagingPosition, getSpan, isAutopaging, isSizedByContent, isSpan, setActivePage, setAutopaging, setPageSize, setPagingPosition, setSizedByContent, setSpan, setSpangetContext, getCtrlKeys, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltipfocus, getAction, getDraggable, getDroppable, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, setAction, setClass, setDraggable, setDroppable, setFocus, setHeight, setHeightDirectly, setHflex, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTooltiptext, setTop, setTopDirectly, setVflex, setWidth, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectlyaddAnnotation, addAnnotation, addClientEvent, addEventHandler, addEventListener, addForward, addForward, addForward, addForward, addMoved, addScopeListener, addSharedAnnotationMap, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildRemoved, beforeParentChanged, containsVariable, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableClientUpdate, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getStubonly, getUuid, getVariable, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, invalidate, isChildable, isInvalidated, isListenerAvailable, isVisible, newChildren, newExtraCtrl, onChildAdded, onChildRemoved, onPageDetached, onWrongValue, redraw, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeEventListener, removeForward, removeForward, removeScopeListener, render, render, render, renderIdSpace, response, response, setAttribute, setAttribute, setAttribute, setAuService, setDefinition, setDefinition, setId, setPage, setPageBefore, setParent, setStubonly, setVariable, setVisible, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, unsetVariable, updateByClient, willPassivate, willPassivate, willSerialize, willSerializefinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, clone, containsVariable, detach, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getChildren, getDefinition, getDesktop, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getStubonly, getUuid, getVariable, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, insertBefore, invalidate, isInvalidated, isListenerAvailable, isVisible, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, setAttribute, setAttribute, setAuService, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setVariable, setVisible, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, unsetVariableaddScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttributegetActivePage, getPageCount, getPageSize, getSpan, isAutopaging, isSizedByContent, isSpan, setActivePage, setAutopaging, setPageSize, setPagingPosition, setSizedByContent, setSpan, setSpangetContext, getCtrlKeys, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltipfocus, getHeight, getLeft, getRenderdefer, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setRenderdefer, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndexpublic void init(ResultSetViewImpl parent, ResultSetPresenter presenter)
ResultListinit in interface ResultListparent - the ResultSetViewImpl instance using this ResultListpresenter - the ResultSetPresenter used by the parentpublic void service(org.zkoss.zk.au.AuRequest request,
boolean everError)
service in interface org.zkoss.zk.ui.sys.ComponentCtrlservice in class org.zkoss.zul.Listboxpublic int getListItemCount()
getListItemCount in interface ResultListpublic void setSelectedListIndex(int index)
ResultListsetSelectedListIndex in interface ResultListindex - index of the item to selectpublic int getSelectedListIndex()
getSelectedListIndex in interface ResultListpublic List<ResultListItem> getAllListItems()
getAllListItems in interface ResultListpublic List<ResultListItem> getSelectedListItems()
getSelectedListItems in interface ResultListpublic DraggableListItem getSelectedListItem()
getSelectedListItem in interface ResultListpublic void renderQueryResult(List<ResultProperties> resultList)
ResultListrenderQueryResult in interface ResultListresultList - list of properties to renderpublic void setContextMenu(org.zkoss.zul.Menupopup popup)
ResultListMenupopup to be used as context-menu of this ResultList.
Implementations can either use the given context-menu or use this method as a notification
to create or update their own context menu. This method gets called when
setContextMenu in interface ResultListpopup - default context-menu-popuppublic List<HeaderInformation> getHeaderInformation()
ResultListgetHeaderInformation in interface ResultListCopyright © 2016 SAPERION AG. All rights reserved.