public class AlertBean
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static AlertBean |
create(AlertType type,
java.lang.String message)
Creates default alert without animation, with square borders and full width.
|
static AlertBean |
createDismissible(AlertType type,
java.lang.String message)
Creates default alert as in
create(AlertType, String) with dismiss functionality. |
static AlertBean |
createSmallAnimatedRounded(AlertType type,
java.lang.String message)
Creates small animated alert with round borders.
|
java.lang.String |
getMessage() |
AlertType |
getType() |
boolean |
isAnimate() |
boolean |
isDismissible() |
boolean |
isFullWidth() |
boolean |
isRoundBorders() |
void |
setAnimate(boolean animate) |
void |
setDismissible(boolean dismissible) |
void |
setFullWidth(boolean fullWidth) |
void |
setRoundBorders(boolean roundBorders) |
public AlertType getType()
public java.lang.String getMessage()
public boolean isAnimate()
public void setAnimate(boolean animate)
public boolean isFullWidth()
public void setFullWidth(boolean fullWidth)
public boolean isRoundBorders()
public void setRoundBorders(boolean roundBorders)
public boolean isDismissible()
public void setDismissible(boolean dismissible)
public static AlertBean create(AlertType type, java.lang.String message)
public static AlertBean createDismissible(AlertType type, java.lang.String message)
create(AlertType, String) with dismiss functionality.Copyright © 2010-2020 anotheria.net. All Rights Reserved.