Class ZKUpdateUtil


  • public class ZKUpdateUtil
    extends Object
    Author:
    hieplq
    • Constructor Summary

      Constructors 
      Constructor Description
      ZKUpdateUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void setCSSHeight​(org.zkoss.zk.ui.HtmlBasedComponent component)  
      static void setCSSWidth​(org.zkoss.zk.ui.HtmlBasedComponent component)  
      static void setHeight​(org.zkoss.zk.ui.HtmlBasedComponent comp, String value)  
      static void setHflex​(org.zkoss.zk.ui.HtmlBasedComponent comp, String value)  
      static void setVflex​(org.zkoss.zk.ui.HtmlBasedComponent comp, String value)  
      static void setVflex​(org.zkoss.zul.Grid comp, boolean value)  
      static void setVflex​(org.zkoss.zul.Listbox comp, boolean value)  
      static void setVflex​(org.zkoss.zul.Tree comp, boolean value)  
      static void setWidth​(org.zkoss.zk.ui.HtmlBasedComponent comp, String value)  
      static void setWindowHeightX​(org.zkoss.zk.ui.HtmlBasedComponent comp, int heightInPixel)
      Set height of popup, window or dialog to heightInPixel.
      static void setWindowWidthX​(org.zkoss.zk.ui.HtmlBasedComponent comp, int widthInPixel)
      Set width of popup, window or dialog to widthInPixel.
    • Constructor Detail

      • ZKUpdateUtil

        public ZKUpdateUtil()
    • Method Detail

      • setHeight

        public static void setHeight​(org.zkoss.zk.ui.HtmlBasedComponent comp,
                                     String value)
      • setWidth

        public static void setWidth​(org.zkoss.zk.ui.HtmlBasedComponent comp,
                                    String value)
      • setHflex

        public static void setHflex​(org.zkoss.zk.ui.HtmlBasedComponent comp,
                                    String value)
      • setVflex

        public static void setVflex​(org.zkoss.zk.ui.HtmlBasedComponent comp,
                                    String value)
      • setVflex

        public static void setVflex​(org.zkoss.zul.Listbox comp,
                                    boolean value)
      • setVflex

        public static void setVflex​(org.zkoss.zul.Grid comp,
                                    boolean value)
      • setVflex

        public static void setVflex​(org.zkoss.zul.Tree comp,
                                    boolean value)
      • setCSSHeight

        public static void setCSSHeight​(org.zkoss.zk.ui.HtmlBasedComponent component)
      • setCSSWidth

        public static void setCSSWidth​(org.zkoss.zk.ui.HtmlBasedComponent component)
      • setWindowHeightX

        public static void setWindowHeightX​(org.zkoss.zk.ui.HtmlBasedComponent comp,
                                            int heightInPixel)
        Set height of popup, window or dialog to heightInPixel. Set height to 100% if heightInPixel > desktopHeight
        Parameters:
        comp -
        heightInPixel - Height in Pixel
      • setWindowWidthX

        public static void setWindowWidthX​(org.zkoss.zk.ui.HtmlBasedComponent comp,
                                           int widthInPixel)
        Set width of popup, window or dialog to widthInPixel. Set width to 100% if widthInPixel > desktopWidth
        Parameters:
        comp -
        widthInPixel -