|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.cheftool.AlertImpl
public class AlertImpl
Alert is a set of messages intended for user display in the user interface.
| Field Summary | |
|---|---|
protected String |
m_msg
The Alert text. |
| Constructor Summary | |
|---|---|
AlertImpl()
|
|
| Method Summary | |
|---|---|
void |
add(String alert)
Add a new alert line. |
void |
clear()
Remove any messages in the Alert. |
String |
getAlert()
Access the alert message. |
boolean |
isEmpty()
Check to see if the alert is empty, or has been populated. |
String |
peekAlert()
Access the alert message, but unlike getAlert(), do not clear the message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String m_msg
| Constructor Detail |
|---|
public AlertImpl()
| Method Detail |
|---|
public void add(String alert)
add in interface Alertalert - The alert message to add.public String getAlert()
getAlert in interface Alertpublic String peekAlert()
peekAlert in interface Alertpublic boolean isEmpty()
isEmpty in interface Alertpublic void clear()
clear in interface Alert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||