rp.gui
Class GUIFacade

java.lang.Object
  |
  +--rp.gui.GUIFacade

public abstract class GUIFacade
extends java.lang.Object

Die GUI-Fassade


Field Summary
static java.awt.Color ROHRPOST_BLAU
           
 
Constructor Summary
GUIFacade()
           
 
Method Summary
static void addExitHook(java.lang.Runnable r)
          To be run, before application finally terminates.
static void addStatusBarText(java.lang.String text)
           
static void beep()
           
static java.io.File browse(java.awt.Component parent)
          Browse for all files (*.*)
static java.io.File browse(java.lang.String desc, java.lang.String[] extensions)
           
static java.io.File browse(java.lang.String desc, java.lang.String[] extensions, java.awt.Component parent)
          Browse for file with given extensions.
static void clearStatusBar()
           
static void exit(int code)
           
static java.util.Collection getAvailableSounds()
           
static void main(java.lang.String[] args)
           
static void playSound(java.lang.String name)
           
static void playSound(java.net.URL url)
           
static void removeExitHook(java.lang.Runnable r)
           
static void setStatusBarText(java.lang.String text)
           
static void showErrorDialog(java.lang.String mesg, java.lang.String title)
           
static void showErrorDialog(java.lang.Throwable e, java.lang.String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROHRPOST_BLAU

public static java.awt.Color ROHRPOST_BLAU
Constructor Detail

GUIFacade

public GUIFacade()
Method Detail

showErrorDialog

public static void showErrorDialog(java.lang.String mesg,
                                   java.lang.String title)

showErrorDialog

public static void showErrorDialog(java.lang.Throwable e,
                                   java.lang.String title)

removeExitHook

public static void removeExitHook(java.lang.Runnable r)

addExitHook

public static void addExitHook(java.lang.Runnable r)
To be run, before application finally terminates.

exit

public static void exit(int code)

getAvailableSounds

public static java.util.Collection getAvailableSounds()

playSound

public static void playSound(java.lang.String name)

playSound

public static void playSound(java.net.URL url)

browse

public static java.io.File browse(java.lang.String desc,
                                  java.lang.String[] extensions,
                                  java.awt.Component parent)
Browse for file with given extensions.
Returns:
file or null if canceled

browse

public static java.io.File browse(java.lang.String desc,
                                  java.lang.String[] extensions)

browse

public static java.io.File browse(java.awt.Component parent)
Browse for all files (*.*)

beep

public static void beep()

setStatusBarText

public static void setStatusBarText(java.lang.String text)

addStatusBarText

public static void addStatusBarText(java.lang.String text)

clearStatusBar

public static void clearStatusBar()

main

public static void main(java.lang.String[] args)