Class AlertBox
- java.lang.Object
-
- org.dashbuilder.common.client.widgets.AlertBox
-
- All Implemented Interfaces:
org.jboss.errai.common.client.api.IsElement
public class AlertBox extends Object implements org.jboss.errai.common.client.api.IsElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAlertBox.Levelstatic interfaceAlertBox.View
-
Constructor Summary
Constructors Constructor Description AlertBox(AlertBox.View view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()org.jboss.errai.common.client.dom.HTMLElementgetElement()voidsetCloseEnabled(boolean enabled)voidsetLevel(AlertBox.Level level)voidsetMessage(String text)voidsetOnCloseCommand(org.uberfire.mvp.Command onCloseCommand)
-
-
-
Constructor Detail
-
AlertBox
@Inject public AlertBox(AlertBox.View view)
-
-
Method Detail
-
getElement
public org.jboss.errai.common.client.dom.HTMLElement getElement()
- Specified by:
getElementin interfaceorg.jboss.errai.common.client.api.IsElement
-
setLevel
public void setLevel(AlertBox.Level level)
-
setCloseEnabled
public void setCloseEnabled(boolean enabled)
-
setMessage
public void setMessage(String text)
-
setOnCloseCommand
public void setOnCloseCommand(org.uberfire.mvp.Command onCloseCommand)
-
close
public void close()
-
-