Interface IButton

    • Field Detail

      • DEFAULT

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

      • getWidgetClass

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

        Default: "zul.wgt.Button"

        Specified by:
        getWidgetClass in interface IComponent<IButton>
      • of

        static IButton of​(java.lang.String label)
        Returns the instance with the given label.
        Parameters:
        label - The label that the component
      • of

        static IButton of​(java.lang.String label,
                          java.lang.String image)
        Returns the instance with the given label and image.
        Parameters:
        label - The label that the button holds.
        image - The image that the button holds.
      • ofImage

        static IButton ofImage​(java.lang.String image)
        Returns the instance with the given image.
        Parameters:
        image - The image that the button holds.
      • ofOrient

        static IButton ofOrient​(IButtonBase.Orient orient)
        Returns the instance with the given orient.
        Parameters:
        orient - The button orient
      • ofType

        static IButton ofType​(IButtonBase.Type type)
        Returns the instance with the given type.
        Parameters:
        type - The button type
      • ofId

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