public class FastAccessList
extends org.zkoss.zul.Listbox
Listbox that displays the fast access buttons.| Constructor and Description |
|---|
FastAccessList(NavigationView navigationView,
NavigationPresenter presenter)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
FastAccessItem |
addFastAccess(String ddc,
String path,
String name,
boolean temporary)
Creates a new fast access entry.
|
Map<String,FastAccessItem> |
getFastAccessItems() |
void |
loadSavedItems()
Loads the default or the stored fast access items.
|
void |
onCreate(org.zkoss.zk.ui.event.Event event)
OnCreate event handler.
|
void |
onFastAccessInvalid(org.zkoss.zk.ui.event.Event event)
Is called if an invalid fast access item was clicked (i.e.
|
void |
removeFastAccessAndWrite(FastAccessItem item)
Removes a fast access entry and saves the reduced fast access list.
|
void |
selectItemByPath(String path)
Selects the fast access item with the given path.
|
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, service, 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, waitgetActivePage, 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, setZIndexaddEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, containsVariable, detach, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, 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, invalidate, isInvalidated, isListenerAvailable, isVisible, removeAttribute, removeAttribute, removeEventListener, removeForward, removeForward, setAttribute, setAttribute, setAuService, setId, setPage, setPageBefore, setParent, setStubonly, setVariable, setVisible, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, unsetVariablepublic FastAccessList(NavigationView navigationView, NavigationPresenter presenter)
navigationView - navigation viewpresenter - navigation presenterpublic void loadSavedItems()
throws AuthenticationException,
NgcUiException
NgcUiException - exception to be handled by viewAuthenticationException - re-logon requiredpublic Map<String,FastAccessItem> getFastAccessItems()
public void onCreate(org.zkoss.zk.ui.event.Event event)
event - eventpublic FastAccessItem addFastAccess(String ddc, String path, String name, boolean temporary) throws AuthenticationException, NgcUiException
ddc - folder ddcpath - path for the new rootname - name of the entrytemporary - temporary items are not stored in user settingsNgcUiException - exception to be handled by viewAuthenticationException - re-logon requiredpublic void removeFastAccessAndWrite(FastAccessItem item) throws AuthenticationException, NgcUiException
item - item to removeNgcUiException - exception to be handled by viewAuthenticationException - re-logon requiredpublic void onFastAccessInvalid(org.zkoss.zk.ui.event.Event event)
event - The event to notify the FastAccessList.public void selectItemByPath(String path)
path - path to selectCopyright © 2016 SAPERION AG. All rights reserved.