Interface IVlayout<I extends IAnyGroup>

All Superinterfaces:
IAnyGroup<IVlayout<I>>, IChildable<IVlayout<I>,I>, IComponent<IVlayout<I>>, IHtmlBasedComponent<IVlayout<I>>, ILayout<IVlayout<I>>, IXulElement<IVlayout<I>>

public interface IVlayout<I extends IAnyGroup> extends ILayout<IVlayout<I>>, IChildable<IVlayout<I>,I>, IAnyGroup<IVlayout<I>>
Immutable Vlayout component

The vlayout component is a simple vertical oriented layout. Added components will be placed underneath each other in a column.

Author:
katherine
See Also:
  • Vlayout
  • Field Details

    • DEFAULT

      static final IVlayout<IAnyGroup> DEFAULT
      Constant for default attributes of this immutable component.
  • Method Details

    • getWidgetClass

      default String getWidgetClass()
      Returns the client widget class.

      Default: "zul.box.Vlayout"

      Specified by:
      getWidgetClass in interface IComponent<I extends IAnyGroup>
    • ofId

      static <I extends IAnyGroup> IVlayout<I> ofId(String id)
      Returns the instance with the given id.
      Parameters:
      id - The id to identify this component
    • of

      static <I extends IAnyGroup> IVlayout<I> of(Iterable<? extends I> children)
      Returns the instance with the given any group children.
      Parameters:
      children - The children belong to any group
      See Also:
    • of

      static <I extends IAnyGroup> IVlayout<I> of(I... children)
      Returns the instance with the given any group children.
      Parameters:
      children - The children belong to any group
      See Also:
    • ofHflex

      static <I extends IAnyGroup> IVlayout<I> ofHflex(String hflex)
      Returns the instance with the given hflex.
      Parameters:
      hflex - The horizontal flex hint.