com.azalient.api
Class APU

java.lang.Object
  extended by com.azalient.api.APU

public class APU
extends Object

A utility class containing static methods for reporting, warnings and look and feel.


Method Summary
static void popup(Component parent, String s)
          Report a message using a popup window, using the given parent window
static void popup(String s)
          Report a message using a popup window
static void report(String s)
          Report a message to the Log window
static void report(Throwable x)
          Report an exception to the Log window
static void reportF(String s, Object... args)
          Report a message using String.format() arguments to the Log window
static void setLookAndFeel()
           
static IUndoStack undoStack()
           
static void warning(Component parent, String s)
          Report a message using a popup window, using the given parent window, allowing options to remember the message and ignore future occurences
static void warning(String s)
          Report a message using a popup window, using a null parent window, allowing options to remember the message and ignore future occurences
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

report

public static void report(Throwable x)
Report an exception to the Log window


report

public static void report(String s)
Report a message to the Log window


reportF

public static void reportF(String s,
                           Object... args)
Report a message using String.format() arguments to the Log window


popup

public static void popup(Component parent,
                         String s)
Report a message using a popup window, using the given parent window


popup

public static void popup(String s)
Report a message using a popup window


warning

public static void warning(Component parent,
                           String s)
Report a message using a popup window, using the given parent window, allowing options to remember the message and ignore future occurences


warning

public static void warning(String s)
Report a message using a popup window, using a null parent window, allowing options to remember the message and ignore future occurences


setLookAndFeel

public static void setLookAndFeel()

undoStack

public static IUndoStack undoStack()