Class FDialog

    • 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) buttons
      static boolean ask​(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String msg)
      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)
      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)
      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)  
      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
      static 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 icon
      static void error​(int windowNo, String adMessage, String msg)
      Display error with error icon
      static void error​(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage)
      Display error with error icon
      static 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 icon
      static void warn​(int windowNo, String adMessage, String title)
      Display warning with warning icon
      static void warn​(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message)
      Display warning with warning icon
      static void warn​(int windowNo, org.zkoss.zk.ui.Component comp, String adMessage, String message, String title)
      Display warning with warning icon
    • Constructor Detail

      • FDialog

        public FDialog()
    • Method Detail

      • error

        public static void error​(int windowNo,
                                 org.zkoss.zk.ui.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,
                                 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 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)
        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
      • 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 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)
        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)
        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)
      • 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,
                                       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 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)
        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,
                                org.zkoss.zk.ui.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, 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 Window
        comp - Component (unused)
        adMessage - Message to be translated
        message - Additional message
        title - 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 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