Class AlertBoxView
- java.lang.Object
-
- org.dashbuilder.common.client.widgets.AlertBoxView
-
- All Implemented Interfaces:
AlertBox.View,org.jboss.errai.common.client.api.IsElement,org.jboss.errai.ui.client.local.api.IsElement,org.uberfire.client.mvp.HasPresenter<AlertBox>,org.uberfire.client.mvp.UberElement<AlertBox>
@Templated public class AlertBoxView extends Object implements AlertBox.View, org.jboss.errai.ui.client.local.api.IsElement
-
-
Constructor Summary
Constructors Constructor Description AlertBoxView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(AlertBox presenter)voidsetCloseEnabled(boolean enabled)voidsetLevel(AlertBox.Level level)voidsetMessage(String text)
-
-
-
Method Detail
-
init
public void init(AlertBox presenter)
- Specified by:
initin interfaceorg.uberfire.client.mvp.HasPresenter<AlertBox>
-
setMessage
public void setMessage(String text)
- Specified by:
setMessagein interfaceAlertBox.View
-
setLevel
public void setLevel(AlertBox.Level level)
- Specified by:
setLevelin interfaceAlertBox.View
-
setCloseEnabled
public void setCloseEnabled(boolean enabled)
- Specified by:
setCloseEnabledin interfaceAlertBox.View
-
-