public interface Alert
Alert is a interface for a set of messages intended for user display in the user interface.
| Modifier and Type | Method and Description |
|---|---|
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.
|
void add(String alert)
alert - The alert message to add.String getAlert()
String peekAlert()
boolean isEmpty()
void clear()
Copyright © 2006–2014 The Sakai Foundation. All rights reserved.