Class FDialog

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

@Deprecated(since="10", forRemoval=true) public class FDialog extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Many methods in this class receive parameters that are never used. As of iDempiere 10, use the Dialog class instead.
Version:
$Revision: 0.10 $
Author:
Ashley G Ramdass
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    ask(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Ask Question with question icon and (OK) (Cancel) buttons
    static boolean
    ask(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String msg)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Ask Question with question icon and (OK) (Cancel) buttons
    static boolean
    ask(int windowNo, org.zkoss.zk.ui.Component comp, String title, String adMessage, String msg, Callback<Boolean> callback)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Ask Question with question icon and (OK) (Cancel) buttons
    static boolean
    ask(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String msg, Callback<Boolean> callback)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Ask Question with question icon and (OK) (Cancel) buttons
    static boolean
    ask(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, Callback<Boolean> callback)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static boolean
    ask(String title, int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, Callback<Boolean> callback, Object... args)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Ask Question with question icon and (OK) (Cancel) buttons
    static void
    askForInput(int windowNo, WEditor weditor, String adMessage, String title, Callback<Object> callback)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    askForInput(int windowNo, WEditor weditor, String adMessage, Callback<Object> callback)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    askForInput(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String title, Callback<String> callback)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    askForInput(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, Callback<String> callback)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    askForInput(String message, MLookup lookup, int editorType, Callback<Object> callback, org.zkoss.zk.ui.Desktop desktop, int windowNo)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    askForInput(String message, MLookup lookup, int editorType, Callback<Object> callback, org.zkoss.zk.ui.Desktop desktop, int windowNo, String title, Object defaultValue)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    askForInputTextConfirmation(int windowNo, WEditor weditor, String adMessage, Object[] adMessageArgs, String title, Callback<Map.Entry<Boolean,String>> callback)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Confirmation dialog before deleting the records.
    static void
    askForInputWithCancel(int windowNo, WEditor weditor, String adMessage, String title, Callback<Map.Entry<Boolean,Object>> callback)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    error(int windowNo, String adMessage)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Display error with error icon
    static void
    error(int windowNo, String adMessage, String msg)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Display error with error icon
    static void
    error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Display error with error icon
    static void
    error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, String title)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Display error with error icon.
    static void
    error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, Callback<Integer> callback)
    Deprecated, for removal: This API element is subject to removal in a future version.
    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)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Display error with error icon.
    static void
    info(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Display information with information icon.
    static void
    info(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Display information with information icon.
    static void
    info(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, String title)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Display information with information icon.
    static void
    warn(int windowNo, String adMessage)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Display warning with warning icon
    static void
    warn(int windowNo, String adMessage, String title)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Display warning with warning icon
    static void
    warn(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message)
    Deprecated.
    Use Dialog.warn(windowNo, adMessage, message, null) instead Display warning with warning icon
    static void
    warn(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, String title)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Display warning with warning icon

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FDialog

      public FDialog()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • warn

      public static void warn(int windowNo, String adMessage, String title)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Display warning with warning icon
      Parameters:
      windowNo - Number of Window
      adMessage - Message to be translated
      title - Message box title
      See Also:
    • warn

      public static void warn(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message)
      Deprecated.
      Use Dialog.warn(windowNo, adMessage, message, null) instead Display warning with warning icon
      Parameters:
      windowNo - Number of Window
      comp -
      adMessage - Message to be translated
      message - Additional message
      See Also:
    • warn

      public static void warn(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, String title)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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

      public static void warn(int windowNo, String adMessage)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Display warning with warning icon
      Parameters:
      windowNo - Number of Window
      adMessage - Message to be translated
      See Also:
    • error

      public static void error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Display error with error icon
      Parameters:
      windowNo - Number of Window
      adMessage - Message to be translated
      See Also:
    • error

      public static void error(int windowNo, String adMessage, String msg)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Display error with error icon
      Parameters:
      windowNo - Number of Window
      adMessage - Message to be translated
      msg - Additional message
      See Also:
    • error

      public static void error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • error

      public static void error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, Callback<Integer> callback)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Display error with error icon.
      Parameters:
      windowNo - Number of Window
      comp - Component (unused)
      adMessage - Message to be translated
      message - Additional message
      callback -
    • error

      public static void error(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, String title)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Display error with error icon.
      Parameters:
      windowNo - Number of Window
      comp - Component (unused)
      adMessage - Message to be translated
      message - Additional message
      title - 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)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Display error with error icon.
      Parameters:
      windowNo - Number of Window
      comp - Component (unused)
      adMessage - Message to be translated
      message - Additional message
      callback -
      title - If none then one will be generated
      See Also:
    • ask

      public static boolean ask(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String msg)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Ask Question with question icon and (OK) (Cancel) buttons
      Parameters:
      windowNo - Number of Window
      comp - Container (owner)
      adMessage - Message to be translated
      msg - 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)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Ask Question with question icon and (OK) (Cancel) buttons
      Parameters:
      windowNo - Number of Window
      comp - Container (owner)
      adMessage - Message to be translated
      msg - Additional clear text message
      callback -
      Returns:
      true, if OK
    • ask

      public static boolean ask(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Ask Question with question icon and (OK) (Cancel) buttons
      Parameters:
      windowNo - Number of Window
      comp - 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)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • askForInput

      public static void askForInput(String message, MLookup lookup, int editorType, Callback<Object> callback, org.zkoss.zk.ui.Desktop desktop, int windowNo)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • 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)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • askForInput

      public static void askForInput(int windowNo, WEditor weditor, String adMessage, Callback<Object> callback)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • askForInput

      public static void askForInput(int windowNo, WEditor weditor, String adMessage, String title, Callback<Object> callback)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • askForInputTextConfirmation

      public static void askForInputTextConfirmation(int windowNo, WEditor weditor, String adMessage, Object[] adMessageArgs, String title, Callback<Map.Entry<Boolean,String>> callback)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Confirmation dialog before deleting the records.
      Parameters:
      windowNo -
      weditor -
      adMessage -
      adMessageArgs -
      title -
      callback -
    • askForInput

      public static void askForInput(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, Callback<String> callback)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • askForInput

      public static void askForInput(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String title, Callback<String> callback)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • askForInputWithCancel

      public static void askForInputWithCancel(int windowNo, WEditor weditor, String adMessage, String title, Callback<Map.Entry<Boolean,Object>> callback)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ask

      public static boolean ask(String title, int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, Callback<Boolean> callback, Object... args)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Ask Question with question icon and (OK) (Cancel) buttons
      Parameters:
      title -
      windowNo - Number of Window
      comp - Container (owner)
      adMessage - Message to be translated
      callback -
      args -
      Returns:
      true, if OK
    • info

      public static void info(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Display information with information icon.
      Parameters:
      windowNo - Number of Window
      comp - Component (unused)
      adMessage - Message to be translated
      See Also:
    • info

      public static void info(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Display information with information icon.
      Parameters:
      windowNo - Number of Window
      comp - Component (unused)
      adMessage - Message to be translated
      message - Additional message
      See Also:
    • info

      public static void info(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, String title)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Display information with information icon.
      Parameters:
      windowNo - Number of Window
      comp - Component (unused)
      adMessage - Message to be translated
      message - Additional message
      title - If none then one will be generated
      See Also:
    • ask

      public static boolean ask(int windowNo, org.zkoss.zk.ui.Component comp, String title, String adMessage, String msg, Callback<Boolean> callback)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Ask Question with question icon and (OK) (Cancel) buttons
      Parameters:
      windowNo - Number of Window
      comp - Container (owner)
      title - Title of the dialog panel
      adMessage - Message to be translated
      msg - Additional clear text message
      callback -
      Returns:
      true, if OK