Interface ICombobutton

    • Field Detail

      • DEFAULT

        static final ICombobutton 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.Combobutton"

        Specified by:
        getWidgetClass in interface IComponent<ICombobutton>
      • isAutodrop

        default boolean isAutodrop()
        Returns whether to automatically drop the popup if user hovers on this Combobutton.

        Default: false.

      • withAutodrop

        ICombobutton withAutodrop​(boolean autodrop)
        Returns a copy of this immutable component with the specified autodrop.

        Sets whether to automatically drop the popup if user hovers on this Combobutton.

        Parameters:
        autodrop - Whether to automatically drop the popup if user hovers on this Combobutton.

        Default: false.

        Returns:
        A modified copy of the this object
      • of

        static <I extends IPopupBaseICombobutton of​(java.lang.String label,
                                                      I popup)
        Returns the instance with the given label and popup.
        Parameters:
        label - The label that the component
        popup - The popup of the component
      • of

        static <I extends IPopupBaseICombobutton of​(I iPopup)
        Returns the instance with the given popup * @param popup The popup of the component
      • of

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

        static ICombobutton 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 ICombobutton ofImage​(java.lang.String image)
        Returns the instance with the given image.
        Parameters:
        image - The image that the button holds.
      • ofOrient

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

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

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