Class ProgressEvent

    • Constructor Detail

      • ProgressEvent

        public ProgressEvent​(Object source,
                             int min,
                             int max,
                             int progress)
        Creates a new progress event.
        Parameters:
        source - Event source.
        min - Minimum value of the available progress range.
        max - Maximum value of the available progress range.
        progress - Current value of the progress.
    • Method Detail

      • getMaximum

        public int getMaximum()
        Returns the maximum value of the available progress range.
        Returns:
        The maximum value of the available progress range.
      • getMinimum

        public int getMinimum()
        Returns the minimum value of the available progress range.
        Returns:
        The minimum value of the available progress range.
      • getProgress

        public int getProgress()
        Returns the current value of the progress.
        Returns:
        The current value of the progress.