Package org.zkoss.zul

Class Vbox

All Implemented Interfaces:
Serializable, Cloneable, Component, Scope, ComponentCtrl

public class Vbox extends Box
Deprecated.
As of release 10.3.0, using Vlayout instead.
A vbox.

Default Box.getZclass(): z-vbox.(since 3.5.0) Note: when use HtmlBasedComponent.setHflex(String) or HtmlBasedComponent.setVflex(String) in some cases, it will not work well, because the vbox is made by HTML Table element, which will increase its size according to its content. If so, please use Vlayout component instead.

Author:
tomyeh
See Also:
  • Constructor Details

    • Vbox

      public Vbox()
      Deprecated.
    • Vbox

      public Vbox(Component[] children)
      Deprecated.
      Constructor a vertical box by assigning an array of children.
      Parameters:
      children - an array of children to be added
      Since:
      2.4.0