Class WizardMgtPanel<T extends Serializable>

    • Field Detail

      • actualId

        protected final String actualId
      • initialFragment

        protected final Fragment initialFragment
      • wizardInModal

        protected final boolean wizardInModal
      • addAjaxLink

        protected final AjaxLink<?> addAjaxLink
      • utilityIcon

        protected Label utilityIcon
      • utilityAjaxLink

        protected AjaxLink<?> utilityAjaxLink
      • footerVisibility

        protected boolean footerVisibility
      • showResultPanel

        protected boolean showResultPanel
    • Constructor Detail

      • WizardMgtPanel

        protected WizardMgtPanel​(String id)
      • WizardMgtPanel

        protected WizardMgtPanel​(String id,
                                 boolean wizardInModal)
    • Method Detail

      • getActualId

        public String getActualId()
      • disableContainerAutoRefresh

        protected final WizardMgtPanel<T> disableContainerAutoRefresh()
      • enableUtilityButton

        protected final WizardMgtPanel<T> enableUtilityButton()
        Show utility button sending ExitEvent payload by default.
        Returns:
        the current instance.
      • addInnerObject

        public MarkupContainer addInnerObject​(Component... childs)
        Add object inside the main container.
        Parameters:
        childs - components to be added.
        Returns:
        the current panel instance.
      • addOrReplaceInnerObject

        public MarkupContainer addOrReplaceInnerObject​(Component... childs)
        Add or replace object inside the main container.
        Parameters:
        childs - components to be added.
        Returns:
        the current panel instance.
      • addOuterObject

        public final WizardMgtPanel<T> addOuterObject​(Component... childs)
        Add object outside the main container. Use this method just to be not influenced by specific inner object css'. Be sure to provide outer as id.
        Parameters:
        childs - components to be added.
        Returns:
        the current panel instance.
      • addNewItemPanelBuilder

        protected <B extends ModalPanelBuilder<T>> WizardMgtPanel<T> addNewItemPanelBuilder​(B panelBuilder,
                                                                                            boolean newItemDefaultButtonEnabled)
      • setFooterVisibility

        public WizardMgtPanel<T> setFooterVisibility​(boolean footerVisibility)
      • setWindowClosedReloadCallback

        protected void setWindowClosedReloadCallback​(BaseModal<?> modal)
        Set window close callback for the given modal.
        Parameters:
        modal - target modal.
      • customActionCallback

        protected void customActionCallback​(AjaxRequestTarget target)
        Custom action to perform on create/edit action callback.
        Parameters:
        target - Ajax request target.
      • customActionOnFinishCallback

        protected void customActionOnFinishCallback​(AjaxRequestTarget target)
        Custom action to perform on close callback on finish event.
        Parameters:
        target - Ajax request target.
      • customActionOnCancelCallback

        protected void customActionOnCancelCallback​(AjaxRequestTarget target)
        Custom action to perform on close callback on cancel event.
        Parameters:
        target - Ajax request target.
      • isReadOnly

        public boolean isReadOnly()
      • setReadOnly

        public void setReadOnly​(boolean readOnly)