public class ConfigurableFlowValidationResultsPopup extends DefaultValidationResultsPopup
DefaultValidationResultsPopup.HorizontalAlignment, DefaultValidationResultsPopup.VerticalAlignment| Modifier and Type | Field and Description |
|---|---|
protected static String |
POPUP_LEFT_POSITION |
protected static String |
SCLASS_WIZARD_VALIDATION_POPUP |
EVENT_ON_HEIGHT_REQUESTAFTER_PAGE_ATTACHED, AFTER_PAGE_DETACHED| Constructor and Description |
|---|
ConfigurableFlowValidationResultsPopup(ValidatableContainer container,
org.zkoss.zul.Listbox resultsList,
BiConsumer<String,ValidationResult> popupCtrlActionConsumer)
Creates wizard validation popup.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getConfirmationLabel() |
protected void |
handleCoordinates(PopupCoordinates coordinates) |
protected void |
initOkListener(BiConsumer<String,ValidationResult> popupCtrlActionConsumer) |
protected boolean |
isCtrlAction(String actionId) |
void |
recalculatePosition()
Recalculates popup's window position on the screen.
|
protected void |
refreshPosition() |
void |
updateValidationPopupAnchor(org.zkoss.zul.Button button,
String action)
Updates popup anchor with given button's parent.
|
void |
updateValidationPopupAnchor(org.zkoss.zk.ui.Component component)
Updates popup anchor with given component.
|
void |
updateValidationPopupAnchor(Map<String,org.zkoss.zul.Button> validationPopupAnchors)
Updates popup anchor with a button's parent.
|
addOkListener, cleanup, createComponents, getContainer, getHorizontalAlignment, getMapper, getResults, getVerticalAlignment, initialize, initializeComponents, installListeners, layoutComponents, sendHeightRequestEvent, setHorizontalAlignment, setParent, setVerticalAlignment, showPopup, updatePositionRelativelyToParentbeforeChildAdded, 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, 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, waitprotected static final String SCLASS_WIZARD_VALIDATION_POPUP
protected static final String POPUP_LEFT_POSITION
public ConfigurableFlowValidationResultsPopup(ValidatableContainer container, org.zkoss.zul.Listbox resultsList, BiConsumer<String,ValidationResult> popupCtrlActionConsumer)
container - validation container.resultsList - list of results.popupCtrlActionConsumer - consumer of an action pressed in the popup.public void updateValidationPopupAnchor(org.zkoss.zul.Button button,
String action)
button - anchor component.action - id of an action which will be executed. It supports ConfigurableFlowDefinitions.WIZARD_NEXT,
ConfigurableFlowDefinitions.WIZARD_DONE, ConfigurableFlowDefinitions.WIZARD_CUSTOMpublic void updateValidationPopupAnchor(Map<String,org.zkoss.zul.Button> validationPopupAnchors)
ConfigurableFlowDefinitions.WIZARD_NEXT,ConfigurableFlowDefinitions.WIZARD_DONE,
ConfigurableFlowDefinitions.WIZARD_CUSTOM
if component is found it is used as an anchor.
validationPopupAnchors - map of possible anchors.public void updateValidationPopupAnchor(org.zkoss.zk.ui.Component component)
public void recalculatePosition()
protected void handleCoordinates(PopupCoordinates coordinates)
handleCoordinates in class DefaultValidationResultsPopupprotected void initOkListener(BiConsumer<String,ValidationResult> popupCtrlActionConsumer)
protected boolean isCtrlAction(String actionId)
protected String getConfirmationLabel()
getConfirmationLabel in class DefaultValidationResultsPopupprotected void refreshPosition()
refreshPosition in class DefaultValidationResultsPopupCopyright © 2018. All rights reserved.