Package org.zkoss.zul

Class Hbox

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

public class Hbox extends Box
Deprecated.
As of release 10.3.0, using Hlayout instead.
A hbox.

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

Author:
tomyeh
See Also:
  • Constructor Details

    • Hbox

      public Hbox()
      Deprecated.
    • Hbox

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