Class Progress

    • Method Detail

      • progress

        public static Progress progress()
      • min

        public Progress min​(int min)
      • max

        public Progress max​(int max)
      • step

        public Progress step​(int step)
      • range

        public Progress range​(int min,
                              int max)
      • range

        public Progress range​(int min,
                              int max,
                              int step)
      • value

        public Progress value​(int value)
      • onChange

        public Progress onChange​(ChangeHandler<Progress,​Integer> changeHandler)
        Sets the change handler for the progress component.
        Parameters:
        changeHandler - The change handler to be set.
        Returns:
        The progress component.
      • decrease

        public void decrease()
        Decreases the value of the progress component by the step value. If the new value is less than the minimum value, the minimum value is used instead.
      • increase

        public void increase()
        Increases the value of the progress component by the step value. If the new value is greater than the maximum value, the maximum value is used instead.
      • min

        public int min()
        Retrieves the minimum value of the progress component.
        Returns:
        The minimum value of the progress component.
      • max

        public int max()
        Retrieves the maximum value of the progress component.
        Returns:
        The maximum value of the progress component.
      • step

        public int step()
        Retrieves the current step value of the progress component.
        Returns:
        The current step value of the progress component.
      • range

        public int[] range()
        Retrieves the range of values for the progress component.
        Returns:
        An array containing the minimum, maximum, and step values of the Progress component.