org.nuiton.widget
Class MessageDialog

java.lang.Object
  extended by org.nuiton.widget.MessageDialog

public class MessageDialog
extends java.lang.Object


Field Summary
protected static java.io.File currentDirectory
           
 
Constructor Summary
MessageDialog()
           
 
Method Summary
static void error(java.lang.String title, java.lang.String message, java.lang.Throwable eee)
           
static java.lang.String getDirectory()
           
static java.lang.String getFile()
           
static java.lang.String getFile(java.lang.String buttonText)
           
static java.io.File getLastChoice()
           
static void setCurrentDirectory(java.lang.String dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentDirectory

protected static java.io.File currentDirectory
Constructor Detail

MessageDialog

public MessageDialog()
Method Detail

error

public static void error(java.lang.String title,
                         java.lang.String message,
                         java.lang.Throwable eee)

getLastChoice

public static java.io.File getLastChoice()

setCurrentDirectory

public static void setCurrentDirectory(java.lang.String dir)

getFile

public static java.lang.String getFile()
Returns:
le nom du fichier entre dans la boite de dialogue. Si le bouton annuler est utilisé, ou qu'il y a une erreur retourne null.

getFile

public static java.lang.String getFile(java.lang.String buttonText)

getDirectory

public static java.lang.String getDirectory()
Returns:
le nom du repertoire entre dans la boite de dialogue. Si le bouton annuler est utilisé, ou qu'il y a une erreur retourne null.


Copyright © 2004-2009 CodeLutin. All Rights Reserved.