Interface ICheckbox

    • Field Detail

      • DEFAULT

        static final ICheckbox DEFAULT
        Constant for default attributes of this immutable component.
      • SWITCH

        static final ICheckbox SWITCH
        Constant for switch mold attributes of this immutable component.
      • TOGGLE

        static final ICheckbox TOGGLE
        Constant for toggle mold attributes of this immutable component.
      • TRISTATE

        static final ICheckbox TRISTATE
        Constant for tristate mold attributes of this immutable component.
    • Method Detail

      • getWidgetClass

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

        Default: "zul.wgt.Checkbox"

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

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

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

        static ICheckbox ofImage​(java.lang.String image)
        Returns the instance with the given image.
        Parameters:
        image - The image of the component
      • ofId

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