Package org.adempiere.webui.window
Class FDialog
- java.lang.Object
-
- org.adempiere.webui.window.FDialog
-
public class FDialog extends Object
- Version:
- $Revision: 0.10 $
- Author:
- Ashley G Ramdass
-
-
Constructor Summary
Constructors Constructor Description FDialog()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
ask(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage)
Ask Question with question icon and (OK) (Cancel) buttonsstatic boolean
ask(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String msg)
Ask Question with question icon and (OK) (Cancel) buttonsstatic boolean
ask(int windowNo, org.zkoss.zk.ui.Component comp, String title, String adMessage, String msg, Callback<Boolean> callback)
Ask Question with question icon and (OK) (Cancel) buttonsstatic boolean
ask(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String msg, Callback<Boolean> callback)
Ask Question with question icon and (OK) (Cancel) buttonsstatic boolean
ask(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, Callback<Boolean> callback)
static boolean
ask(String title, int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, Callback<Boolean> callback, Object... args)
Ask Question with question icon and (OK) (Cancel) buttonsstatic void
askForInput(int windowNo, WEditor weditor, String adMessage, String title, Callback<Object> callback)
static void
askForInput(int windowNo, WEditor weditor, String adMessage, Callback<Object> callback)
static void
askForInput(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String title, Callback<String> callback)
static void
askForInput(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, Callback<String> callback)
static void
askForInput(String message, MLookup lookup, int editorType, Callback<Object> callback, org.zkoss.zk.ui.Desktop desktop, int windowNo)
static void
askForInput(String message, MLookup lookup, int editorType, Callback<Object> callback, org.zkoss.zk.ui.Desktop desktop, int windowNo, String title, Object defaultValue)
static void
error(int windowNo, String adMessage)
Display error with error iconstatic void
error(int windowNo, String adMessage, String msg)
Display error with error iconstatic void
error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage)
Display error with error iconstatic void
error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message)
static void
error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, String title)
Display error with error icon.static void
error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, Callback<Integer> callback)
Display error with error icon.static void
error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, Callback<Integer> callback, String title)
Display error with error icon.static void
info(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage)
Display information with information icon.static void
info(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message)
Display information with information icon.static void
info(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, String title)
Display information with information icon.static void
warn(int windowNo, String adMessage)
Display warning with warning iconstatic void
warn(int windowNo, String adMessage, String title)
Display warning with warning iconstatic void
warn(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message)
Display warning with warning iconstatic void
warn(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, String title)
Display warning with warning icon
-
-
-
Method Detail
-
warn
public static void warn(int windowNo, String adMessage, String title)
Display warning with warning icon- Parameters:
windowNo
- Number of WindowadMessage
- Message to be translatedtitle
- 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, org.zkoss.zk.ui.Component comp, String adMessage, String message)
Display warning with warning icon- Parameters:
windowNo
- Number of Windowcomp
-adMessage
- Message to be translatedmessage
- Additional message- See Also:
warn(int, String)
,warn(int, String, String)
,warn(int, Component, String, String, String)
-
warn
public static void warn(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, String title)
Display warning with warning icon- Parameters:
windowNo
- Number of WindowadMessage
- Message to be translatedmessage
- Additional messagetitle
- 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 WindowadMessage
- 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, org.zkoss.zk.ui.Component comp, String adMessage)
Display error with error icon- Parameters:
windowNo
- Number of Windowcomp
- 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 WindowadMessage
- 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 WindowadMessage
- Message to be translatedmsg
- Additional message- See Also:
error(int, String)
,error(int, Component, String)
,error(int, Component, String, String)
-
error
public static void error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message)
-
error
public static void error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, Callback<Integer> callback)
Display error with error icon.- Parameters:
windowNo
- Number of Windowcomp
- Component (unused)adMessage
- Message to be translatedmessage
- Additional messagecallback
-
-
error
public static void error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, String title)
Display error with error icon.- Parameters:
windowNo
- Number of Windowcomp
- Component (unused)adMessage
- Message to be translatedmessage
- Additional messagetitle
- If none then one will be generated
-
error
public static void error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, Callback<Integer> callback, String title)
Display error with error icon.- Parameters:
windowNo
- Number of Windowcomp
- Component (unused)adMessage
- Message to be translatedmessage
- Additional messagecallback
-title
- If none then one will be generated- See Also:
error(int, String)
,error(int, Component, String)
,error(int, String, String)
-
ask
public static boolean ask(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String msg)
Ask Question with question icon and (OK) (Cancel) buttons- Parameters:
windowNo
- Number of Windowcomp
- Container (owner)adMessage
- Message to be translatedmsg
- Additional clear text message- Returns:
- true, if OK
-
ask
public static boolean ask(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String msg, Callback<Boolean> callback)
Ask Question with question icon and (OK) (Cancel) buttons- Parameters:
windowNo
- Number of Windowcomp
- Container (owner)adMessage
- Message to be translatedmsg
- Additional clear text messagecallback
-- Returns:
- true, if OK
-
ask
public static boolean ask(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage)
Ask Question with question icon and (OK) (Cancel) buttons- Parameters:
windowNo
- Number of Windowcomp
- Container (owner)adMessage
- Message to be translated- Returns:
- true, if OK
-
ask
public static boolean ask(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, Callback<Boolean> callback)
-
askForInput
public static void askForInput(String message, MLookup lookup, int editorType, Callback<Object> callback, org.zkoss.zk.ui.Desktop desktop, int windowNo)
-
askForInput
public static void askForInput(String message, MLookup lookup, int editorType, Callback<Object> callback, org.zkoss.zk.ui.Desktop desktop, int windowNo, String title, Object defaultValue)
-
askForInput
public static void askForInput(int windowNo, WEditor weditor, String adMessage, Callback<Object> callback)
-
askForInput
public static void askForInput(int windowNo, WEditor weditor, String adMessage, String title, Callback<Object> callback)
-
askForInput
public static void askForInput(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, Callback<String> callback)
-
askForInput
public static void askForInput(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String title, Callback<String> callback)
-
ask
public static boolean ask(String title, int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, Callback<Boolean> callback, Object... args)
Ask Question with question icon and (OK) (Cancel) buttons- Parameters:
title
-windowNo
- Number of Windowcomp
- Container (owner)adMessage
- Message to be translatedcallback
-args
-- Returns:
- true, if OK
-
info
public static void info(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage)
Display information with information icon.- Parameters:
windowNo
- Number of Windowcomp
- Component (unused)adMessage
- Message to be translated- See Also:
info(int, Component, String, String)
-
info
public static void info(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message)
Display information with information icon.- Parameters:
windowNo
- Number of Windowcomp
- Component (unused)adMessage
- Message to be translatedmessage
- Additional message- See Also:
info(int, Component, String, String)
-
info
public static void info(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, String title)
Display information with information icon.- Parameters:
windowNo
- Number of Windowcomp
- Component (unused)adMessage
- Message to be translatedmessage
- Additional messagetitle
- If none then one will be generated- See Also:
info(int, Component, String)
-
ask
public static boolean ask(int windowNo, org.zkoss.zk.ui.Component comp, String title, String adMessage, String msg, Callback<Boolean> callback)
Ask Question with question icon and (OK) (Cancel) buttons- Parameters:
windowNo
- Number of Windowcomp
- Container (owner)title
- Title of the dialog paneladMessage
- Message to be translatedmsg
- Additional clear text messagecallback
-- Returns:
- true, if OK
-
-