public class ManageFacetPopup
extends org.zkoss.zul.Window
| Modifier and Type | Class and Description |
|---|---|
protected class |
ManageFacetPopup.FacetSelectionStatus |
AFTER_PAGE_ATTACHED, AFTER_PAGE_DETACHED| Constructor and Description |
|---|
ManageFacetPopup(WidgetInstanceManager widgetInstanceManager,
Function<Collection<FacetData>,?> applyCallback) |
beforeChildAdded, clone, doEmbedded, doHighlighted, doModal, doOverlapped, doPopup, getBorder, getCaption, getContentSclass, getContentStyle, getDefaultActionOnShow, getMinheight, getMinwidth, getMode, getModeType, getPosition, getTitle, getZclass, inEmbedded, inHighlighted, inModal, inOverlapped, inPopup, insertBefore, isClosable, isCollapsible, isMaximizable, isMaximized, isMinimizable, isMinimized, isShadow, isSizable, onChildRemoved, onClose, onModal, onPageDetached, renderProperties, service, setBorder, setBorder, setClosable, setContentSclass, setContentStyle, setDefaultActionOnShow, setDraggable, setMaximizable, setMaximized, setMinheight, setMinimizable, setMinimized, setMinwidth, setMode, setMode, setMode, setPosition, setShadow, setSizable, setTitle, setTopmost, setVisiblegetContext, getCtrlKeys, getPopup, getPropertyAccess, getTooltip, setContext, setContext, setContextAttributes, setCtrlKeys, setPopup, setPopup, setPopupAttributes, setTooltip, setTooltip, setTooltipAttributesfocus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTabindexInteger, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, setAction, setClass, setDroppable, setFocus, setHeight, setHeight0, setHeightDirectly, setHflex, setHflex0, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTabindex, setTabindex, setTooltiptext, setTop, setTopDirectly, setVflex, setVflex0, setVflexDirectly, setWidth, setWidth0, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectlyaddAnnotation, addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildRemoved, beforeParentChanged, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableBindingAnnotation, disableClientUpdate, enableBindingAnnotation, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getCallback, getChildren, getClientAttribute, getClientDataAttribute, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getEventListenerMap, getEventListeners, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRedrawCallback, getRoot, getShadowFellowIfAny, getShadowRoots, getShadowVariable, getShadowVariable, getShadowVariable0, getSpaceOwner, getSpecialRendererOutput, getStubonly, getSubBindingAnnotationCount, getTemplate, getTemplateNames, getUuid, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasBindingAnnotation, hasFellow, hasFellow, hasSubBindingAnnotation, invalidate, isChildable, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onPageAttached, onWrongValue, query, queryAll, redraw, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeCallback, removeChild, removeEventListener, removeForward, removeForward, removeRedrawCallback, removeScopeListener, removeShadowRoot, render, render, render, replace, response, response, response, service, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setStubonly, setSubBindingAnnotationCount, setTemplate, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerializefinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final int DEFAULT_MAX_NUMBER_OF_FACET_VALUES_TO_DISPLAY
public static final String FACET_WITH_COUNT_PATTERN
public static final String I18N_FACET_SUPPORT_APPLY
public static final String I18N_FACET_SUPPORT_CLOSE
public static final String I18N_FACET_SUPPORT_CLEAR
public static final String I18N_FACET_SUPPORT_TYPE
public static final String I18N_FACET_SUPPORT_VALUE
public static final String I18N_FACET_SUPPORT_SHOW_ALL_FACET_VALUES
public static final String I18N_FACET_SUPPORT_BACK
public static final String I18N_FACET_SUPPORT_SELECTED_NUMBER
public static final String I18N_FACET_SUPPORT_LIST_NO_MATCHES_FOR_QUERY
public static final String SCLASS_YW_APPLY_LABEL
public static final String SCLASS_YW_CANCEL_LABEL
public static final String SCLASS_YW_CLEAR_LABEL
public static final String SCLASS_YW_APPLY_CONTAINER
public static final String SCLASS_YW_TYPE_CONTAINER
public static final String SCLASS_YW_VALUE_CONTAINER
public static final String SCLASS_YW_FACET_MAIN_CONTAINER
public static final String SCLASS_YW_FACET_SELECT_POPUP_CONTAINER
public static final String SCLASS_YW_FACET_LABEL_SELECTED_COUNT
public static final String SCLASS_YW_FACET_VALUE_CONTAINER
public static final String SCLASS_YW_FACET_CONTAINER
public static final String SCLASS_YW_FACET_LABEL_CONTAINER
public static final String SCLASS_YW_FACET_LABEL_MORE
public static final String SCLASS_YW_FACET_SELECTOR_INPUT
public static final String SCLASS_YW_FACET_LIST
public static final String ON_EMPTY_LIST
public static final String MODEL_KEY_FACET_SELECTION_STATUS
public static final String MODEL_KEY_FILTER_QUERY_FACET_POPUP
public ManageFacetPopup(WidgetInstanceManager widgetInstanceManager, Function<Collection<FacetData>,?> applyCallback)
protected void initializeComponents(boolean makeVisible)
public void clearAllFacets(Boolean isDisabledAutoSearch)
protected void initializeInlineChooser()
protected int getMaxNumberOfInlineFacets()
protected org.zkoss.zul.Div renderFacets(Collection<ManageFacetPopup.FacetSelectionStatus> facetSelectionStatuses, int maxNumberOfFacets)
protected boolean isInstant()
protected void showAlternativeContainer(org.zkoss.zul.Div mainContainer,
org.zkoss.zul.Div alternativeFacetContainer,
String facetCode,
String facetDisplayName,
Map<String,org.zkoss.zk.ui.Component> detailsComponentCache)
protected void initializePopupChooser()
protected boolean isInlineFacetFilterEnabled()
protected Predicate<ManageFacetPopup.FacetSelectionStatus> getListModelPredicate(String query)
protected org.zkoss.zul.ListModelList<ManageFacetPopup.FacetSelectionStatus> prepareFilteredFacetListModel(Predicate<ManageFacetPopup.FacetSelectionStatus> predicate)
protected void applyFacets()
protected Collection<FacetData> getSelectedFacetData()
protected void showPopup()
public void reset()
public void close()
public void adjustFacets(Collection<FacetData> facets)
protected boolean removeSelectedFacetValue(FacetData field, FacetValueData value)
protected Function<Collection<FacetData>,?> getApplyCallback()
protected WidgetInstanceManager getWidgetInstanceManager()
public Map<String,Set<ManageFacetPopup.FacetSelectionStatus>> getStatus()
Copyright © 2018. All rights reserved.