Class YesNoConfirmPopupView
- java.lang.Object
-
- org.drools.workbench.screens.scenariosimulation.client.popup.YesNoConfirmPopupView
-
- All Implemented Interfaces:
YesNoConfirmPopup
@Dependent @Templated public class YesNoConfirmPopupView extends Object implements YesNoConfirmPopup
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.workbench.screens.scenariosimulation.client.popup.YesNoConfirmPopup
YesNoConfirmPopup.Presenter
-
-
Constructor Summary
Constructors Constructor Description YesNoConfirmPopupView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcommonShow(String title, String inlineNotificationMessage, org.uberfire.client.views.pfly.widgets.InlineNotification.InlineNotificationType inlineNotificationType, String confirmMessage)org.jboss.errai.common.client.dom.HTMLElementgetElement()voidhide()Makes this popup container(and the main content along with it) invisible.voidinit()voidonCancelClick(org.jboss.errai.common.client.dom.MouseEvent event)voidonCloseClick(org.jboss.errai.common.client.dom.MouseEvent event)voidonNoClick(org.jboss.errai.common.client.dom.MouseEvent event)voidonOkClick(org.jboss.errai.common.client.dom.MouseEvent event)voidonYesClick(org.jboss.errai.common.client.dom.MouseEvent event)voidshow(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.voidshow(String title, String okButtonText, String confirmMessage, org.uberfire.mvp.Command okCommand)Makes the YesNoConfirmPopupView visible with OK/Cancel buttons.voidshow(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.voidshow(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.
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
show
public void show(String title, String okButtonText, String confirmMessage, org.uberfire.mvp.Command okCommand)
Description copied from interface:YesNoConfirmPopupMakes the YesNoConfirmPopupView visible with OK/Cancel buttons.- Specified by:
showin interfaceYesNoConfirmPopup
-
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:YesNoConfirmPopupMakes the YesNoConfirmPopupView visible with OK/Cancel buttons.- Specified by:
showin interfaceYesNoConfirmPopup
-
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:YesNoConfirmPopupMakes the YesNoConfirmPopupView visible with YES/NO/Cancel buttons.- Specified by:
showin interfaceYesNoConfirmPopup
-
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:YesNoConfirmPopupMakes the YesNoConfirmPopupView visible with YES/NO/Cancel buttons.- Specified by:
showin interfaceYesNoConfirmPopup
-
getElement
public org.jboss.errai.common.client.dom.HTMLElement getElement()
- Specified by:
getElementin interfaceYesNoConfirmPopup
-
hide
public void hide()
Description copied from interface:YesNoConfirmPopupMakes this popup container(and the main content along with it) invisible. Has no effect if the popup is not already showing.- Specified by:
hidein interfaceYesNoConfirmPopup
-
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)
-
-