Class ProgressChangeEvent

All Implemented Interfaces:
Serializable

public class ProgressChangeEvent extends ChangeEvent
ProgressChangeEvent is used to notify interested parties that progress state has changed in the event source
Version:
1.0
Author:
Hailong Wang, Ph.D
See Also:
  • Field Details

    • message

      private String message
      The message which will be shown with the progress bar
    • title

      private String title
      The title of the progress dialog
    • value

      private int value
      The value of the progress bar, the range is from 0~100
  • Constructor Details

    • ProgressChangeEvent

      public ProgressChangeEvent(Object source, int value, String title, String message)
      The only constructor to create an instance of this ProgressChangeEvent
      Parameters:
      source - the event source object.
      value - the value of progress bar.
      title - the title progress dialog.
      message - the message which is shown with the progress bar.
  • Method Details

    • getMessage

      public String getMessage()
      Returns the progress message
      Returns:
      the progress message
    • getTitle

      public String getTitle()
      Returns the title of the progress dialog
      Returns:
      the title of the progress dialog
    • getValue

      public int getValue()
      Returns the value of the progress bar.
      Returns:
      the value of the progress bar.