@Dependent @Templated public class YesNoConfirmPopupView extends Object implements YesNoConfirmPopup
YesNoConfirmPopup.Presenter
Constructor and Description |
---|
YesNoConfirmPopupView() |
Modifier and Type | Method and 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 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.
|
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 okButtonText,
String confirmMessage,
org.uberfire.mvp.Command okCommand)
Makes the YesNoConfirmPopupView visible with OK/Cancel buttons.
|
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.
|
@PostConstruct public void init()
public void show(String title, String okButtonText, String confirmMessage, org.uberfire.mvp.Command okCommand)
YesNoConfirmPopup
show
in interface YesNoConfirmPopup
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)
YesNoConfirmPopup
show
in interface YesNoConfirmPopup
public void show(String title, String yesButtonText, String noButtonText, String confirmMessage, org.uberfire.mvp.Command yesCommand, org.uberfire.mvp.Command noCommand)
YesNoConfirmPopup
show
in interface YesNoConfirmPopup
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)
YesNoConfirmPopup
show
in interface YesNoConfirmPopup
public org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement
in interface YesNoConfirmPopup
public void hide()
YesNoConfirmPopup
hide
in interface YesNoConfirmPopup
@EventHandler(value="confirm-ok") public void onOkClick(@ForEvent(value="click") org.jboss.errai.common.client.dom.MouseEvent event)
@EventHandler(value="confirm-cancel") public void onCancelClick(@ForEvent(value="click") org.jboss.errai.common.client.dom.MouseEvent event)
@EventHandler(value="confirm-close") public void onCloseClick(@ForEvent(value="click") org.jboss.errai.common.client.dom.MouseEvent event)
@EventHandler(value="confirm-yes") public void onYesClick(@ForEvent(value="click") org.jboss.errai.common.client.dom.MouseEvent event)
@EventHandler(value="confirm-no") public void onNoClick(@ForEvent(value="click") org.jboss.errai.common.client.dom.MouseEvent event)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.