Class ConfirmPopup
- java.lang.Object
-
- org.uberfire.client.views.pfly.widgets.ConfirmPopup
-
@Dependent @Templated public class ConfirmPopup extends Object
-
-
Constructor Summary
Constructors Constructor Description ConfirmPopup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.errai.common.client.dom.HTMLElementgetElement()voidhide()voidinit()voidonCancelClick(org.jboss.errai.common.client.dom.MouseEvent event)voidonCloseClick(org.jboss.errai.common.client.dom.MouseEvent event)voidonOkClick(org.jboss.errai.common.client.dom.MouseEvent event)voidshow(String title, String okButtonText, String confirmMessage, org.uberfire.mvp.Command okCommand)voidshow(String title, String inlineNotificationMessage, InlineNotification.InlineNotificationType inlineNotificationType, String okButtonText, Button.ButtonStyleType okButtonType, String confirmMessage, org.uberfire.mvp.Command okCommand)
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
show
public void show(String title, String okButtonText, String confirmMessage, org.uberfire.mvp.Command okCommand)
-
show
public void show(String title, String inlineNotificationMessage, InlineNotification.InlineNotificationType inlineNotificationType, String okButtonText, Button.ButtonStyleType okButtonType, String confirmMessage, org.uberfire.mvp.Command okCommand)
-
hide
public void hide()
-
getElement
public org.jboss.errai.common.client.dom.HTMLElement getElement()
-
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)
-
-