Interface IProgressmeter

    • Field Detail

      • DEFAULT

        static final IProgressmeter 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.Progressmeter"

        Specified by:
        getWidgetClass in interface IComponent<IProgressmeter>
      • getValue

        default int getValue()
        Returns the current value of the progress meter.
      • withValue

        IProgressmeter withValue​(int value)
        Returns a copy of this immutable component with the specified value.

        Sets the current value of the progress meter.

        Parameters:
        value - The current value of the progress meter.

        Default: 0.

        Returns:
        A modified copy of the this object
      • isIndeterminate

        default boolean isIndeterminate()
        Returns the indeterminate state of the progress meter.(default false)
      • withIndeterminate

        IProgressmeter withIndeterminate​(boolean indeterminate)
        Returns a copy of this immutable component with the specified indeterminate.

        Sets the indeterminate state of the progress meter.

        Parameters:
        indeterminate - The indeterminate state of the progress meter.

        Default: false.

        Returns:
        A modified copy of the this object
      • of

        static IProgressmeter of​(int value)
        Returns the instance with the given value.
        Parameters:
        value - The current value of the progress meter.
        Returns:
      • ofWidth

        static IProgressmeter ofWidth​(java.lang.String width)
        Returns the instance with the given width.
        Parameters:
        width - The width of the component.
      • ofId

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