org.ozoneDB.adminGui.widget
Class MessageBox

java.lang.Object
  extended byorg.ozoneDB.adminGui.widget.MessageBox

public class MessageBox
extends java.lang.Object

Contains static methods for showing message dialogs

Author:
Per Nyfelt

Constructor Summary
MessageBox()
           
 
Method Summary
static void show(java.lang.String message)
          Shows a messagedialog with given messsage, title "Message" (= default) and no icon
static void showError(java.lang.String title, java.lang.String message)
          Shows a messagedialog of type ERROR_MESSAGE with given title and message
static void showInfo(java.lang.String title, java.lang.String message)
          Shows a messagedialog of type INFORMATION_MESSAGE given with title and message
static void showWarning(java.lang.String title, java.lang.String message)
          Shows a messagedialog of type WARNING_MESSAGE with given title and message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageBox

public MessageBox()
Method Detail

show

public static void show(java.lang.String message)
Shows a messagedialog with given messsage, title "Message" (= default) and no icon


showError

public static void showError(java.lang.String title,
                             java.lang.String message)
Shows a messagedialog of type ERROR_MESSAGE with given title and message


showInfo

public static void showInfo(java.lang.String title,
                            java.lang.String message)
Shows a messagedialog of type INFORMATION_MESSAGE given with title and message


showWarning

public static void showWarning(java.lang.String title,
                               java.lang.String message)
Shows a messagedialog of type WARNING_MESSAGE with given title and message



Copyright © 2004 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.