Package warnings
Class QuickWarning
java.lang.Object
warnings.QuickWarning
Class to provide a quick single warning that can be easily removed without having
to handle all the references in the owning class.
- Author:
- dg50
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClear any warningvoidsetWarning(String message, int level) Set and show the warning.
-
Constructor Details
-
QuickWarning
-
-
Method Details
-
setWarning
Set and show the warning. If level is 0 it will hide, if >0 show.- Parameters:
message- warning messagelevel- warning level
-
clearWarning
public void clearWarning()Clear any warning
-