Class DefaultErrorView
- java.lang.Object
-
- net.sf.gridarta.gui.dialog.errorview.DefaultErrorView
-
-
Constructor Summary
Constructors Constructor Description DefaultErrorView(@Nullable java.awt.Component parent)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddError(@NotNull ErrorViewCategory categoryName, int lineNo, @NotNull java.lang.String message)Adds an error message.voidaddError(@NotNull ErrorViewCategory categoryName, @NotNull java.lang.String message)Adds an error message.voidaddWarning(@NotNull ErrorViewCategory categoryName, int lineNo, @NotNull java.lang.String message)Adds a warning message.voidaddWarning(@NotNull ErrorViewCategory categoryName, @NotNull java.lang.String message)Adds a warning message.voiderrorViewOk()Action method for "ok" button of error dialog.booleanhasErrors()Whether at least one error message has been added.voidwaitDialog()Waits until the dialog has been dismissed.
-
-
-
Method Detail
-
addError
public void addError(@NotNull @NotNull ErrorViewCategory categoryName, @NotNull @NotNull java.lang.String message)Description copied from interface:ErrorViewAdds an error message.
-
addError
public void addError(@NotNull @NotNull ErrorViewCategory categoryName, int lineNo, @NotNull @NotNull java.lang.String message)Description copied from interface:ErrorViewAdds an error message.
-
addWarning
public void addWarning(@NotNull @NotNull ErrorViewCategory categoryName, @NotNull @NotNull java.lang.String message)Description copied from interface:ErrorViewAdds a warning message.- Specified by:
addWarningin interfaceErrorView- Parameters:
categoryName- the warning categorymessage- the warning message
-
addWarning
public void addWarning(@NotNull @NotNull ErrorViewCategory categoryName, int lineNo, @NotNull @NotNull java.lang.String message)Description copied from interface:ErrorViewAdds a warning message.- Specified by:
addWarningin interfaceErrorView- Parameters:
categoryName- the warning categorylineNo- the line number of the error messagemessage- the warning message
-
hasErrors
public boolean hasErrors()
Description copied from interface:ErrorViewWhether at least one error message has been added.
-
waitDialog
public void waitDialog() throws java.lang.InterruptedExceptionDescription copied from interface:ErrorViewWaits until the dialog has been dismissed.- Specified by:
waitDialogin interfaceErrorView- Throws:
java.lang.InterruptedException- if the current thread has been interrupted while waiting for the dialog to close
-
errorViewOk
@ActionMethod public void errorViewOk()
Action method for "ok" button of error dialog.
-
-