@Dependent @Templated public class ConfirmPopup extends Object
Constructor and Description |
---|
ConfirmPopup() |
Modifier and Type | Method and Description |
---|---|
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
void |
hide() |
void |
init() |
void |
onCancelClick(org.jboss.errai.common.client.dom.MouseEvent event) |
void |
onCloseClick(org.jboss.errai.common.client.dom.MouseEvent event) |
void |
onOkClick(org.jboss.errai.common.client.dom.MouseEvent event) |
void |
show(String title,
String inlineNotificationMessage,
InlineNotification.InlineNotificationType inlineNotificationType,
String okButtonText,
Button.ButtonStyleType okButtonType,
String confirmMessage,
org.uberfire.mvp.Command okCommand) |
void |
show(String title,
String okButtonText,
String confirmMessage,
org.uberfire.mvp.Command okCommand) |
@PostConstruct public void init()
public void show(String title, String okButtonText, String confirmMessage, org.uberfire.mvp.Command okCommand)
public void show(String title, String inlineNotificationMessage, InlineNotification.InlineNotificationType inlineNotificationType, String okButtonText, Button.ButtonStyleType okButtonType, String confirmMessage, org.uberfire.mvp.Command okCommand)
public void hide()
public org.jboss.errai.common.client.dom.HTMLElement getElement()
@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)
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.