public class View extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
View.Alert |
static class |
View.AlertType |
| Constructor and Description |
|---|
View(String templateName) |
View(String templateName,
Map<String,Object> model) |
View(String templateName,
String title) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlert(View.Alert alert) |
void |
addDangerAlert(String msg) |
void |
addInfoAlert(String msg) |
void |
addSuccessAlert(String msg) |
void |
addWarningAlert(String msg) |
List<View.Alert> |
getAlerts() |
Map<String,Object> |
getModel() |
String |
getTemplateName() |
public View(String templateName)
public String getTemplateName()
public List<View.Alert> getAlerts()
public void addAlert(View.Alert alert)
public void addSuccessAlert(String msg)
public void addInfoAlert(String msg)
public void addWarningAlert(String msg)
public void addDangerAlert(String msg)
Copyright © 2018 Ajibot. All rights reserved.