Interface IToolbarbutton

    • Field Detail

      • DEFAULT

        static final IToolbarbutton 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.Toolbarbutton"

        Specified by:
        getWidgetClass in interface IComponent<IToolbarbutton>
      • getMode

        default java.lang.String getMode()
        Returns the current mode.

        Default: "default"

      • withMode

        IToolbarbutton withMode​(java.lang.String mode)
        Returns a copy of this immutable component with the specified mode.

        Sets the mode to "default" and "toggle"

        Parameters:
        mode - The mode of this component.

        Default: "default".

        Returns:
        A modified copy of the this object
      • withMode

        default IToolbarbutton withMode​(IToolbarbutton.Mode mode)
        Returns a copy of this immutable component with the specified mode.

        Sets the mode to "default" and "toggle"

        Parameters:
        mode - The mode of this component.

        Default: "default".

        Returns:
        A modified copy of the this object
      • isChecked

        default boolean isChecked()
        Returns whether it is checked.

        Default: false.

      • withChecked

        IToolbarbutton withChecked​(boolean checked)
        Returns a copy of this immutable component with the specified checked.

        Sets whether it is checked.

        Parameters:
        checked - Whether it is checked.

        Default: false.

        Returns:
        A modified copy of the this object
      • of

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

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

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

        IToolbarbutton withEventListenerMap​(@Nullable
                                            org.zkoss.zk.ui.sys.EventListenerMap arg0)
      • withWidgetListeners

        IToolbarbutton withWidgetListeners​(java.util.Map<java.lang.String,​? extends java.lang.String> arg0)
      • withWidgetOverrides

        IToolbarbutton withWidgetOverrides​(java.util.Map<java.lang.String,​? extends java.lang.String> arg0)
      • withClientAttributes

        IToolbarbutton withClientAttributes​(java.util.Map<java.lang.String,​? extends java.lang.String> arg0)
      • withLeft

        IToolbarbutton withLeft​(@Nullable
                                java.lang.String arg0)
      • withTop

        IToolbarbutton withTop​(@Nullable
                               java.lang.String arg0)
      • withHeight

        IToolbarbutton withHeight​(@Nullable
                                  java.lang.String arg0)
      • withWidth

        IToolbarbutton withWidth​(@Nullable
                                 java.lang.String arg0)
      • withTooltiptext

        IToolbarbutton withTooltiptext​(@Nullable
                                       java.lang.String arg0)
      • withZclass

        IToolbarbutton withZclass​(@Nullable
                                  java.lang.String arg0)
      • withSclass

        IToolbarbutton withSclass​(@Nullable
                                  java.lang.String arg0)
      • withStyle

        IToolbarbutton withStyle​(@Nullable
                                 java.lang.String arg0)
      • withDraggable

        IToolbarbutton withDraggable​(java.lang.String arg0)
      • withDroppable

        IToolbarbutton withDroppable​(java.lang.String arg0)
      • withVflex

        IToolbarbutton withVflex​(@Nullable
                                 java.lang.String arg0)
      • withHflex

        IToolbarbutton withHflex​(@Nullable
                                 java.lang.String arg0)
      • withClientAction

        IToolbarbutton withClientAction​(@Nullable
                                        java.lang.String arg0)
      • withTabindex

        IToolbarbutton withTabindex​(@Nullable
                                    java.lang.Integer arg0)
      • withCtrlKeys

        IToolbarbutton withCtrlKeys​(@Nullable
                                    java.lang.String arg0)
      • withContext

        IToolbarbutton withContext​(@Nullable
                                   java.lang.String arg0)
      • withPopup

        IToolbarbutton withPopup​(@Nullable
                                 java.lang.String arg0)
      • withTooltip

        IToolbarbutton withTooltip​(@Nullable
                                   java.lang.String arg0)
      • withIconSclass

        IToolbarbutton withIconSclass​(@Nullable
                                      java.lang.String arg0)
      • withIconSclasses

        IToolbarbutton withIconSclasses​(java.lang.String... arg0)
      • withIconTooltip

        IToolbarbutton withIconTooltip​(@Nullable
                                       java.lang.String arg0)
      • withIconTooltips

        IToolbarbutton withIconTooltips​(java.lang.String... arg0)
      • withImage

        IToolbarbutton withImage​(@Nullable
                                 java.lang.String arg0)
      • withHoverImage

        IToolbarbutton withHoverImage​(@Nullable
                                      java.lang.String arg0)
      • withAutodisable

        IToolbarbutton withAutodisable​(@Nullable
                                       java.lang.String arg0)
      • withTarget

        IToolbarbutton withTarget​(@Nullable
                                  java.lang.String arg0)
      • withUpload

        IToolbarbutton withUpload​(@Nullable
                                  java.lang.String arg0)
      • withHref

        IToolbarbutton withHref​(@Nullable
                                java.lang.String arg0)
      • withWidgetClass

        IToolbarbutton withWidgetClass​(java.lang.String arg0)