com.azalient.api.b.reporting
Interface IReporter


public interface IReporter

An interface for reporting messages, either to the log window or in pop-up dialog boxes.


Method Summary
 void popup(Component parent, String message)
          Display a message in a pop up box, parented by the given component, which can be null.
 void report(String message)
          Use this to display text messages in the log window.
 void report(Throwable x)
          Parse the given error or exception, and report it to the user with a pop-up box, and the option to report it to support@azalient.com
 void reportF(String message, Object... args)
          A variable-parameter variation to report(String), allowing you to use String formatting.
 void warning(Component parent, String message)
          Display a message in a pop up box, with the given parent component.
 void warning(String message)
          Display a message in a pop-up box, with options to not display further messages.
 

Method Detail

report

void report(Throwable x)
Parse the given error or exception, and report it to the user with a pop-up box, and the option to report it to support@azalient.com


report

void report(String message)
Use this to display text messages in the log window. The messages are displayed "quietly" in that they will not stop the simulation, and will not be visible unless the log window is open.


reportF

void reportF(String message,
             Object... args)
A variable-parameter variation to report(String), allowing you to use String formatting. This is a convenience method for
 report(String.format(s, ... args));  


warning

void warning(String message)
Display a message in a pop-up box, with options to not display further messages. The options are:


warning

void warning(Component parent,
             String message)
Display a message in a pop up box, with the given parent component. See warning(String)


popup

void popup(Component parent,
           String message)
Display a message in a pop up box, parented by the given component, which can be null. The pop up box has a single OK button, and no other controls.