Interface ISpace

All Superinterfaces:
IAnyGroup<ISpace>, IComponent<ISpace>, IHtmlBasedComponent<ISpace>, ISeparatorBase<ISpace>, IXulElement<ISpace>

public interface ISpace extends ISeparatorBase<ISpace>, IAnyGroup<ISpace>
Immutable Space component

Space is a ISeparator with the orient default to "vertical".

Author:
katherine
See Also:
  • Space
  • Field Details

    • DEFAULT

      static final ISpace DEFAULT
      Constant for default attributes of this immutable component.
  • Method Details

    • getWidgetClass

      default String getWidgetClass()
      Returns the client widget class.

      Default: "zul.wgt.Space"

      Specified by:
      getWidgetClass in interface IComponent<ISpace>
    • getOrient

      default String getOrient()
      Returns the orient.

      Default: "vertical".

      Specified by:
      getOrient in interface ISeparatorBase<ISpace>
    • ofHeight

      static ISpace ofHeight(String height)
      Returns the instance with the given height.
      Parameters:
      height - The height of this component.
    • ofOrient

      static ISpace ofOrient(ISeparatorBase.Orient orient)
      Returns the instance with the given orient.
      Parameters:
      orient - The separator orient
    • ofId

      static ISpace ofId(String id)
      Returns the instance with the given id.
      Parameters:
      id - The id to identify this component