Adempiere 3.5.2a

org.adempiere.webui.window
Class FDialog

java.lang.Object
  extended by org.adempiere.webui.window.FDialog

public class FDialog
extends Object

Version:
$Revision: 0.10 $
Author:
Ashley G Ramdass

Constructor Summary
FDialog()
           
 
Method Summary
static boolean ask(int windowNo, Component comp, String adMessage)
          Ask Question with question icon and (OK) (Cancel) buttons
static boolean ask(int windowNo, Component comp, String adMessage, String msg)
          Ask Question with question icon and (OK) (Cancel) buttons
static void error(int windowNo, Component comp, String adMessage)
          Display error with error icon
static void error(int windowNo, Component comp, String adMessage, String message)
          Display error with error icon.
static void error(int windowNo, String adMessage)
          Display error with error icon
static void error(int windowNo, String adMessage, String msg)
          Display error with error icon
static void info(int windowNo, Component comp, String adMessage)
          Display information with information icon.
static void info(int windowNo, Component comp, String adMessage, String message)
          Display information with information icon.
static void warn(int windowNo, Component comp, String adMessage, String message)
          Display warning with warning icon
static void warn(int windowNo, Component comp, String adMessage, String message, String title)
          Display warning with warning icon
static void warn(int windowNo, String adMessage)
          Display warning with warning icon
static void warn(int windowNo, String adMessage, String title)
          Display warning with warning icon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FDialog

public FDialog()
Method Detail

warn

public static void warn(int windowNo,
                        String adMessage,
                        String title)
Display warning with warning icon

Parameters:
windowNo - Number of Window
adMessage - Message to be translated
title - Message box title
See Also:
warn(int, String), warn(int, Component, String, String, String), warn(int, Component, String, String)

warn

public static void warn(int windowNo,
                        Component comp,
                        String adMessage,
                        String message)
Display warning with warning icon

Parameters:
windowNo - Number of Window
adMessage - Message to be translated
message - Additional message
title - If none then one will be generated
See Also:
warn(int, String), warn(int, String, String), warn(int, Component, String, String, String)

warn

public static void warn(int windowNo,
                        Component comp,
                        String adMessage,
                        String message,
                        String title)
Display warning with warning icon

Parameters:
windowNo - Number of Window
adMessage - Message to be translated
message - Additional message
title - If none then one will be generated
See Also:
warn(int, String), warn(int, String, String), warn(int, Component, String, String)

warn

public static void warn(int windowNo,
                        String adMessage)
Display warning with warning icon

Parameters:
windowNo - Number of Window
adMessage - Message to be translated
See Also:
warn(int, String, String), warn(int, Component, String, String, String), warn(int, Component, String, String)

error

public static void error(int windowNo,
                         Component comp,
                         String adMessage)
Display error with error icon

Parameters:
windowNo - Number of Window
comp - Component (unused)
adMessage - Message to be translated

error

public static void error(int windowNo,
                         String adMessage)
Display error with error icon

Parameters:
windowNo - Number of Window
adMessage - Message to be translated
See Also:
error(int, String, String), error(int, Component, String), error(int, Component, String, String)

error

public static void error(int windowNo,
                         String adMessage,
                         String msg)
Display error with error icon

Parameters:
windowNo - Number of Window
adMessage - Message to be translated
adMessage - Additional message
See Also:
error(int, String), error(int, Component, String), error(int, Component, String, String)

error

public static void error(int windowNo,
                         Component comp,
                         String adMessage,
                         String message)
Display error with error icon.

Parameters:
windowNo - Number of Window
comp - Component (unused)
adMessage - Message to be translated
message - Additional message
See Also:
error(int, String), error(int, Component, String), error(int, String, String)

ask

public static boolean ask(int windowNo,
                          Component comp,
                          String adMessage,
                          String msg)
Ask Question with question icon and (OK) (Cancel) buttons

Parameters:
WindowNo - Number of Window
c - Container (owner)
AD_Message - Message to be translated
msg - Additional clear text message
Returns:
true, if OK

ask

public static boolean ask(int windowNo,
                          Component comp,
                          String adMessage)
Ask Question with question icon and (OK) (Cancel) buttons

Parameters:
WindowNo - Number of Window
c - Container (owner)
AD_Message - Message to be translated
Returns:
true, if OK

info

public static void info(int windowNo,
                        Component comp,
                        String adMessage)
Display information with information icon.

Parameters:
windowNo - Number of Window
comp - Component (unused)
adMessage - Message to be translated
See Also:
info(int, Component, String, String)

info

public static void info(int windowNo,
                        Component comp,
                        String adMessage,
                        String message)
Display information with information icon.

Parameters:
windowNo - Number of Window
comp - Component (unused)
adMessage - Message to be translated
message - Additional message
See Also:
info(int, Component, String)

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.