Class YesNoConfirmPopupView

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void commonShow​(String title, String inlineNotificationMessage, org.uberfire.client.views.pfly.widgets.InlineNotification.InlineNotificationType inlineNotificationType, String confirmMessage)  
      org.jboss.errai.common.client.dom.HTMLElement getElement()  
      void hide()
      Makes this popup container(and the main content along with it) invisible.
      void init()  
      void onCancelClick​(org.jboss.errai.common.client.dom.MouseEvent event)  
      void onCloseClick​(org.jboss.errai.common.client.dom.MouseEvent event)  
      void onNoClick​(org.jboss.errai.common.client.dom.MouseEvent event)  
      void onOkClick​(org.jboss.errai.common.client.dom.MouseEvent event)  
      void onYesClick​(org.jboss.errai.common.client.dom.MouseEvent event)  
      void show​(String title, String yesButtonText, String noButtonText, String confirmMessage, org.uberfire.mvp.Command yesCommand, org.uberfire.mvp.Command noCommand)
      Makes the YesNoConfirmPopupView visible with YES/NO/Cancel buttons.
      void show​(String title, String okButtonText, String confirmMessage, org.uberfire.mvp.Command okCommand)
      Makes the YesNoConfirmPopupView visible with OK/Cancel buttons.
      void show​(String title, String inlineNotificationMessage, org.uberfire.client.views.pfly.widgets.InlineNotification.InlineNotificationType inlineNotificationType, String yesButtonText, String noButtonText, org.uberfire.client.views.pfly.widgets.Button.ButtonStyleType yesButtonType, org.uberfire.client.views.pfly.widgets.Button.ButtonStyleType noButtonType, String confirmMessage, org.uberfire.mvp.Command yesCommand, org.uberfire.mvp.Command noCommand)
      Makes the YesNoConfirmPopupView visible with YES/NO/Cancel buttons.
      void show​(String title, String inlineNotificationMessage, org.uberfire.client.views.pfly.widgets.InlineNotification.InlineNotificationType inlineNotificationType, String okButtonText, org.uberfire.client.views.pfly.widgets.Button.ButtonStyleType okButtonType, String confirmMessage, org.uberfire.mvp.Command okCommand)
      Makes the YesNoConfirmPopupView visible with OK/Cancel buttons.
    • Constructor Detail

      • YesNoConfirmPopupView

        public YesNoConfirmPopupView()
    • Method Detail

      • show

        public void show​(String title,
                         String okButtonText,
                         String confirmMessage,
                         org.uberfire.mvp.Command okCommand)
        Description copied from interface: YesNoConfirmPopup
        Makes the YesNoConfirmPopupView visible with OK/Cancel buttons.
        Specified by:
        show in interface YesNoConfirmPopup
      • show

        public void show​(String title,
                         String inlineNotificationMessage,
                         org.uberfire.client.views.pfly.widgets.InlineNotification.InlineNotificationType inlineNotificationType,
                         String okButtonText,
                         org.uberfire.client.views.pfly.widgets.Button.ButtonStyleType okButtonType,
                         String confirmMessage,
                         org.uberfire.mvp.Command okCommand)
        Description copied from interface: YesNoConfirmPopup
        Makes the YesNoConfirmPopupView visible with OK/Cancel buttons.
        Specified by:
        show in interface YesNoConfirmPopup
      • show

        public void show​(String title,
                         String yesButtonText,
                         String noButtonText,
                         String confirmMessage,
                         org.uberfire.mvp.Command yesCommand,
                         org.uberfire.mvp.Command noCommand)
        Description copied from interface: YesNoConfirmPopup
        Makes the YesNoConfirmPopupView visible with YES/NO/Cancel buttons.
        Specified by:
        show in interface YesNoConfirmPopup
      • show

        public void show​(String title,
                         String inlineNotificationMessage,
                         org.uberfire.client.views.pfly.widgets.InlineNotification.InlineNotificationType inlineNotificationType,
                         String yesButtonText,
                         String noButtonText,
                         org.uberfire.client.views.pfly.widgets.Button.ButtonStyleType yesButtonType,
                         org.uberfire.client.views.pfly.widgets.Button.ButtonStyleType noButtonType,
                         String confirmMessage,
                         org.uberfire.mvp.Command yesCommand,
                         org.uberfire.mvp.Command noCommand)
        Description copied from interface: YesNoConfirmPopup
        Makes the YesNoConfirmPopupView visible with YES/NO/Cancel buttons.
        Specified by:
        show in interface YesNoConfirmPopup
      • getElement

        public org.jboss.errai.common.client.dom.HTMLElement getElement()
        Specified by:
        getElement in interface YesNoConfirmPopup
      • hide

        public void hide()
        Description copied from interface: YesNoConfirmPopup
        Makes this popup container(and the main content along with it) invisible. Has no effect if the popup is not already showing.
        Specified by:
        hide in interface YesNoConfirmPopup
      • onOkClick

        @EventHandler("confirm-ok")
        public void onOkClick​(@ForEvent("click")
                              org.jboss.errai.common.client.dom.MouseEvent event)
      • onCancelClick

        @EventHandler("confirm-cancel")
        public void onCancelClick​(@ForEvent("click")
                                  org.jboss.errai.common.client.dom.MouseEvent event)
      • onCloseClick

        @EventHandler("confirm-close")
        public void onCloseClick​(@ForEvent("click")
                                 org.jboss.errai.common.client.dom.MouseEvent event)
      • onYesClick

        @EventHandler("confirm-yes")
        public void onYesClick​(@ForEvent("click")
                               org.jboss.errai.common.client.dom.MouseEvent event)
      • onNoClick

        @EventHandler("confirm-no")
        public void onNoClick​(@ForEvent("click")
                              org.jboss.errai.common.client.dom.MouseEvent event)
      • commonShow

        protected void commonShow​(String title,
                                  String inlineNotificationMessage,
                                  org.uberfire.client.views.pfly.widgets.InlineNotification.InlineNotificationType inlineNotificationType,
                                  String confirmMessage)