public class Alert extends Object implements org.jboss.gwt.elemento.core.IsElement
Constraints for the links are encoded as data-constraint attributes. Please make
sure to call ElementGuard.processElements(AuthorisationDecision, String) when the alert element is added to
the DOM.
| Constructor and Description |
|---|
Alert() |
Alert(String icon,
com.google.gwt.safehtml.shared.SafeHtml text) |
Alert(String icon,
com.google.gwt.safehtml.shared.SafeHtml text,
String additionalText) |
Alert(String icon,
com.google.gwt.safehtml.shared.SafeHtml text,
String linkText,
org.jboss.gwt.elemento.core.EventCallbackFn<elemental2.dom.MouseEvent> linkHandler) |
Alert(String icon,
com.google.gwt.safehtml.shared.SafeHtml text,
String linkText,
org.jboss.gwt.elemento.core.EventCallbackFn<elemental2.dom.MouseEvent> linkHandler,
org.jboss.hal.meta.security.Constraint constraint) |
Alert(String icon,
com.google.gwt.safehtml.shared.SafeHtml text,
String additionalText,
String linkText,
org.jboss.gwt.elemento.core.EventCallbackFn<elemental2.dom.MouseEvent> linkHandler,
org.jboss.hal.meta.security.Constraint constraint) |
| Modifier and Type | Method and Description |
|---|---|
elemental2.dom.HTMLElement |
asElement() |
Alert |
setIcon(String icon) |
Alert |
setText(com.google.gwt.safehtml.shared.SafeHtml text) |
public Alert()
public Alert(String icon, com.google.gwt.safehtml.shared.SafeHtml text)
public Alert(String icon, com.google.gwt.safehtml.shared.SafeHtml text, String additionalText)
public Alert(String icon, com.google.gwt.safehtml.shared.SafeHtml text, String linkText, org.jboss.gwt.elemento.core.EventCallbackFn<elemental2.dom.MouseEvent> linkHandler)
public Alert(String icon, com.google.gwt.safehtml.shared.SafeHtml text, String linkText, org.jboss.gwt.elemento.core.EventCallbackFn<elemental2.dom.MouseEvent> linkHandler, org.jboss.hal.meta.security.Constraint constraint)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.