Class ConfigurableFlowRenderer


  • public class ConfigurableFlowRenderer
    extends java.lang.Object
    Configurable Flow renderer
    • Field Detail

      • WIZARD_STYLE_BR_LABEL

        public static final java.lang.String WIZARD_STYLE_BR_LABEL
        See Also:
        Constant Field Values
      • WIZARD_STYLE_BR_S_LABEL

        public static final java.lang.String WIZARD_STYLE_BR_S_LABEL
        See Also:
        Constant Field Values
      • WIZARD_STYLE_BR_SP

        public static final java.lang.String WIZARD_STYLE_BR_SP
        See Also:
        Constant Field Values
      • WIZARD_STYLE_BR_SP_ARROW

        public static final java.lang.String WIZARD_STYLE_BR_SP_ARROW
        See Also:
        Constant Field Values
      • WIZARD_STYLE_BR_ARROW

        public static final java.lang.String WIZARD_STYLE_BR_ARROW
        See Also:
        Constant Field Values
      • WIZARD_STYLE_BR_PREFIX

        public static final java.lang.String WIZARD_STYLE_BR_PREFIX
        See Also:
        Constant Field Values
      • WIZARD_STYLE_BEFORE

        public static final java.lang.String WIZARD_STYLE_BEFORE
        See Also:
        Constant Field Values
      • WIZARD_STYLE_ACTIVE

        public static final java.lang.String WIZARD_STYLE_ACTIVE
        See Also:
        Constant Field Values
      • WIZARD_STYLE_AFTER

        public static final java.lang.String WIZARD_STYLE_AFTER
        See Also:
        Constant Field Values
      • WIZARD_STYLE_Z_INDEX

        public static final java.lang.String WIZARD_STYLE_Z_INDEX
        See Also:
        Constant Field Values
      • WIZARD_STYLE_LAYOUT

        public static final java.lang.String WIZARD_STYLE_LAYOUT
        See Also:
        Constant Field Values
      • WIZARD_STYLE_CONTENT

        public static final java.lang.String WIZARD_STYLE_CONTENT
        See Also:
        Constant Field Values
      • WIZARD_STYLE_COLUMN_CONTENT

        public static final java.lang.String WIZARD_STYLE_COLUMN_CONTENT
        See Also:
        Constant Field Values
      • WIZARD_STYLE_INFO

        public static final java.lang.String WIZARD_STYLE_INFO
        See Also:
        Constant Field Values
      • WIZARD_STYLE_NAVI

        public static final java.lang.String WIZARD_STYLE_NAVI
        See Also:
        Constant Field Values
      • WIZARD_STYLE_LEFT_PACK

        public static final java.lang.String WIZARD_STYLE_LEFT_PACK
        See Also:
        Constant Field Values
      • WIZARD_STYLE_RIGHT_PACK

        public static final java.lang.String WIZARD_STYLE_RIGHT_PACK
        See Also:
        Constant Field Values
      • WIZARD_STYLE_BTN_BLUE

        public static final java.lang.String WIZARD_STYLE_BTN_BLUE
        See Also:
        Constant Field Values
      • WIZARD_STYLE_PROPERTY

        public static final java.lang.String WIZARD_STYLE_PROPERTY
        See Also:
        Constant Field Values
      • WIZARD_STYLE_PROPERTY_LABEL

        public static final java.lang.String WIZARD_STYLE_PROPERTY_LABEL
        See Also:
        Constant Field Values
      • WIZARD_STYLE_PROPERTY_LABEL_MANDATORY

        public static final java.lang.String WIZARD_STYLE_PROPERTY_LABEL_MANDATORY
        See Also:
        Constant Field Values
      • WIZARD_STYLE_READ_ONLY_VALUE

        public static final java.lang.String WIZARD_STYLE_READ_ONLY_VALUE
        See Also:
        Constant Field Values
      • WIZARD_STYLE_NONE

        public static final java.lang.String WIZARD_STYLE_NONE
        See Also:
        Constant Field Values
      • WIZARD_STYLE_LEFT

        public static final java.lang.String WIZARD_STYLE_LEFT
        See Also:
        Constant Field Values
      • WIZARD_STYLE_RIGHT

        public static final java.lang.String WIZARD_STYLE_RIGHT
        See Also:
        Constant Field Values
      • WIZARD_STYLE_TOP

        public static final java.lang.String WIZARD_STYLE_TOP
        See Also:
        Constant Field Values
      • WIZARD_RESULT_MSG_SUCCESS_TILE

        public static final java.lang.String WIZARD_RESULT_MSG_SUCCESS_TILE
        See Also:
        Constant Field Values
      • WIZARD_RESULT_MSG_FAIL_TILE

        public static final java.lang.String WIZARD_RESULT_MSG_FAIL_TILE
        See Also:
        Constant Field Values
      • WIZARD_RESULT_MSG_TITLE

        public static final java.lang.String WIZARD_RESULT_MSG_TITLE
        See Also:
        Constant Field Values
      • WIZARD_RESULT_MSG_TEXT

        public static final java.lang.String WIZARD_RESULT_MSG_TEXT
        See Also:
        Constant Field Values
      • HUNDRED_PERCENT_S

        public static final java.lang.String HUNDRED_PERCENT_S
        See Also:
        Constant Field Values
      • IS_NESTED_OBJECT_CREATION_DISABLED_SETTING

        public static final java.lang.String IS_NESTED_OBJECT_CREATION_DISABLED_SETTING
        See Also:
        Constant Field Values
      • STEP_INITIALIZED

        public static final java.lang.String STEP_INITIALIZED
        See Also:
        Constant Field Values
      • STEP_ID_ATTRIBUTE

        public static final java.lang.String STEP_ID_ATTRIBUTE
        See Also:
        Constant Field Values
      • SCLASS_COMPONENT_WRAPPER

        public static final java.lang.String SCLASS_COMPONENT_WRAPPER
        See Also:
        Constant Field Values
      • showBreadcrumb

        protected boolean showBreadcrumb
    • Constructor Detail

      • ConfigurableFlowRenderer

        public ConfigurableFlowRenderer()
    • Method Detail

      • setValidatableContainer

        public void setValidatableContainer​(ValidatableContainer validatableContainer)
      • setEditorChangeListener

        public void setEditorChangeListener​(EditorChangeListener editorChangeListener)
      • getActiveLocales

        public java.util.List<java.util.Locale> getActiveLocales()
      • setActiveLocales

        public void setActiveLocales​(java.util.List<java.util.Locale> activeLocales)
      • createPropertyLine

        protected org.zkoss.zk.ui.Component createPropertyLine​(java.lang.String prefix,
                                                               PropertyType property)
      • isTypeLocalized

        protected boolean isTypeLocalized​(PropertyType property)
      • isNestedObjectCreationDisabled

        protected java.lang.Boolean isNestedObjectCreationDisabled​(java.util.List<Parameter> editorParameter)
      • prepareErrorRow

        protected org.zkoss.zk.ui.Component prepareErrorRow​(java.lang.String label)
      • isNestedObjectCreationDisabled

        protected boolean isNestedObjectCreationDisabled()
      • isAttributeWritable

        protected boolean isAttributeWritable​(DataAttribute attributeData,
                                              java.lang.String normalizedQualifier,
                                              java.lang.String normalizedTypeQualifier)
      • resolveType

        protected java.lang.String resolveType​(DataAttribute attributeData)
      • normalizeQualifier

        protected java.lang.String normalizeQualifier​(java.lang.String propertyQualifier)
      • normalizePropertyQualifier

        protected java.lang.String normalizePropertyQualifier​(java.lang.String prefix,
                                                              PropertyType property)
      • loadDataType

        protected DataType loadDataType​(java.lang.Object currentObject)
      • extractTypeQualifier

        protected java.lang.String extractTypeQualifier​(java.lang.String qualifier)
      • createBreadcrumbEntry

        protected org.zkoss.zk.ui.HtmlBasedComponent createBreadcrumbEntry​(StepType step)
      • renderBreadcrumb

        protected void renderBreadcrumb​(StepType currentStep,
                                        java.util.List<StepType> stepList)
      • isStepChangePossible

        protected boolean isStepChangePossible​(StepType currentStep,
                                               StepType targetStep)
      • renderCurrentStep

        public void renderCurrentStep​(StepType currentStep)
      • applyComponentsVisitor

        protected void applyComponentsVisitor()
      • unregisterComponentsFromVisitor

        protected void unregisterComponentsFromVisitor()
      • cleanUpRendererObservers

        public void cleanUpRendererObservers()
      • getTypeCodeFromWizardCtx

        protected java.lang.String getTypeCodeFromWizardCtx()
      • renderContent

        protected void renderContent​(org.zkoss.zk.ui.Component parent,
                                     ContentType content)
      • updateNavigation

        @Deprecated(since="2005",
                    forRemoval=true)
        public void updateNavigation​(StepType currentStep)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 2005
        See Also:
        updateNavigation()
      • updateNavigation

        public void updateNavigation()
      • doCustom

        public void doCustom​(StepType currentStep,
                             CustomType customType,
                             java.util.Map<java.lang.String,​ComposedHandlerType> composedHandlers)
        Calls custom step handler.
        Parameters:
        currentStep - current step
        customType - custom type navigation
        composedHandlers - collection of ComposedHandlerType defined for this flow
      • doCustom

        public void doCustom​(StepType currentStep,
                             CustomType customType)
        Calls custom step handler.
        Parameters:
        currentStep - current step
        customType - custom type navigation
      • createAndAppendButton

        protected org.zkoss.zul.Button createAndAppendButton​(org.zkoss.zk.ui.Component buttonsContainer,
                                                             java.lang.String labelKey,
                                                             StepType currentStep,
                                                             AbstractActionType actionType,
                                                             java.lang.String actionId)
      • wrapChildAndAppend

        protected void wrapChildAndAppend​(org.zkoss.zk.ui.Component parent,
                                          org.zkoss.zk.ui.Component child)
      • toggleButtonActiveState

        protected void toggleButtonActiveState​(org.zkoss.zul.Button button,
                                               AbstractActionType actionType)
      • applyVisibilityRestriction

        protected void applyVisibilityRestriction​(org.zkoss.zk.ui.Component component,
                                                  AbstractActionType actionType)
      • clearMessages

        public void clearMessages()
      • refreshView

        public void refreshView()
      • refreshView

        protected void refreshView​(org.zkoss.zk.ui.Component comp)
      • getStep

        protected StepType getStep​(java.lang.String id)
      • getAllSteps

        protected java.util.List<StepType> getAllSteps()
      • setAllSteps

        public void setAllSteps​(java.util.List<StepType> allSteps)
      • getPropertyDescription

        protected java.lang.String getPropertyDescription​(java.lang.String attributeDataDescription,
                                                          PropertyType propertyType)
      • getContentDiv

        public org.zkoss.zul.Div getContentDiv()
      • setContentDiv

        public void setContentDiv​(org.zkoss.zul.Div contentDiv)
      • getBreadcrumbDiv

        public org.zkoss.zul.Div getBreadcrumbDiv()
      • setBreadcrumbDiv

        public void setBreadcrumbDiv​(org.zkoss.zul.Div breadcrumbDiv)
      • getMsgAreaDiv

        public org.zkoss.zul.Div getMsgAreaDiv()
      • setMsgAreaDiv

        public void setMsgAreaDiv​(org.zkoss.zul.Div msgAreaDiv)
      • getNavigationDiv

        public org.zkoss.zul.Div getNavigationDiv()
      • setWidgetInstanceManager

        public void setWidgetInstanceManager​(WidgetInstanceManager widgetInstanceManager)
      • getTypeFacade

        public TypeFacade getTypeFacade()
      • setTypeFacade

        @Autowired
        public void setTypeFacade​(TypeFacade typeFacade)
      • setTransitionListenerFactory

        public void setTransitionListenerFactory​(TransitionListenerFactory transitionListenerFactory)
      • setConfigurableFlowLabelService

        public void setConfigurableFlowLabelService​(ConfigurableFlowLabelService configurableFlowLabelService)
      • setPermissionFacade

        @Autowired
        public void setPermissionFacade​(PermissionFacade permissionFacade)
      • setCockpitLocaleService

        @Autowired
        public void setCockpitLocaleService​(CockpitLocaleService cockpitLocaleService)
      • setCockpitUserService

        @Autowired
        public void setCockpitUserService​(CockpitUserService cockpitUserService)
      • setComponentsVisitorFactory

        public void setComponentsVisitorFactory​(ComponentsVisitorFactory componentsVisitorFactory)
      • setLabelService

        public void setLabelService​(LabelService labelService)
      • setValidationRenderer

        public void setValidationRenderer​(ValidationRenderer validationRenderer)
      • setNotificationService

        public void setNotificationService​(NotificationService notificationService)
      • setValidationHandler

        public void setValidationHandler​(ValidationHandler validationHandler)
      • isShowBreadcrumb

        public boolean isShowBreadcrumb()
      • setShowBreadcrumb

        public void setShowBreadcrumb​(boolean showBreadcrumb)