|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ErrorReporter
To allow different styles of reporting errors, a Controller uses an ErrorReporter to report any errors that are thrown during its checkInput/compute cycle. The DisplayCanvas and MessagePopup classes implement this interface.
| Method Summary | |
|---|---|
void |
clearErrorMessage()
Clear the error reprort, if there is one. |
java.lang.String |
getErrorMessage()
Get the error message that is currently being displayed, or return null if there is no error message. |
void |
setErrorMessage(Controller source,
java.lang.String message)
Report the specifed message as an error. |
| Method Detail |
|---|
void setErrorMessage(Controller source,
java.lang.String message)
source - Controller that called this method (if non-null).message - error message to report.void clearErrorMessage()
java.lang.String getErrorMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||