Package warnings

Class QuickWarning

java.lang.Object
warnings.QuickWarning

public class QuickWarning extends Object
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 Details Link icon

    • QuickWarning Link icon

      public QuickWarning(String source)
  • Method Details Link icon

    • setWarning Link icon

      public void setWarning(String message, int level)
      Set and show the warning. If level is 0 it will hide, if >0 show.
      Parameters:
      message - warning message
      level - warning level
    • clearWarning Link icon

      public void clearWarning()
      Clear any warning