public class AlertBox extends Object implements org.jboss.errai.common.client.api.IsElement
| Modifier and Type | Class and Description |
|---|---|
static class |
AlertBox.Level |
static interface |
AlertBox.View |
| Constructor and Description |
|---|
AlertBox(AlertBox.View view) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
void |
setCloseEnabled(boolean enabled) |
void |
setLevel(AlertBox.Level level) |
void |
setMessage(String text) |
void |
setOnCloseCommand(Command onCloseCommand) |
@Inject public AlertBox(AlertBox.View view)
public org.jboss.errai.common.client.dom.HTMLElement getElement()
getElement in interface org.jboss.errai.common.client.api.IsElementpublic void setLevel(AlertBox.Level level)
public void setCloseEnabled(boolean enabled)
public void setMessage(String text)
public void setOnCloseCommand(Command onCloseCommand)
public void close()
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.