Interface IOrgchildren

    • Field Detail

      • DEFAULT

        static final IOrgchildren DEFAULT
        Constant for default attributes of this immutable component.
    • Method Detail

      • getWidgetClass

        default java.lang.String getWidgetClass()
        Returns the client widget class.

        Default: "zkmax.layout.Orgchildren"

        Specified by:
        getWidgetClass in interface IComponent<IOrgchildren>
        Returns:
      • withWidth

        default IOrgchildren withWidth​(@Nullable
                                       java.lang.String width)
        To control the size of Organigram related components, please refer to IOrganigram and IOrgitem instead.
        Specified by:
        withWidth in interface IHtmlBasedComponent<IOrgchildren>
        Parameters:
        width - The width of the component.

        Default: null

        Returns:
        A modified copy of the this object
      • withHflex

        default IOrgchildren withHflex​(@Nullable
                                       java.lang.String hflex)
        To control the size of Organigram related components, please refer to IOrganigram and IOrgitem instead.
        Specified by:
        withHflex in interface IHtmlBasedComponent<IOrgchildren>
        Parameters:
        hflex - The horizontal flex hint.

        Default: null

        Returns:
        A modified copy of the this object
      • getItemCount

        @Lazy
        default int getItemCount()
      • getItems

        @Lazy
        default java.util.Collection<IOrgitem> getItems()
      • of

        static IOrgchildren of​(java.lang.Iterable<? extends IOrgitem> children)
        Returns the instance with the given IOrgitem children.
        Parameters:
        children - The children of IOrgitem
      • ofId

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