Package gov.nih.mipav.view
Class ProgressChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- javax.swing.event.ChangeEvent
-
- gov.nih.mipav.view.ProgressChangeEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ProgressChangeEvent extends javax.swing.event.ChangeEventProgressChangeEvent 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProgressChangeEvent(java.lang.Object source, int value, java.lang.String title, java.lang.String message)The only constructor to create an instance of thisProgressChangeEvent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMessage()Returns the progress messagejava.lang.StringgetTitle()Returns the title of the progress dialogintgetValue()Returns the value of the progress bar.
-
-
-
Constructor Detail
-
ProgressChangeEvent
public ProgressChangeEvent(java.lang.Object source, int value, java.lang.String title, java.lang.String message)The only constructor to create an instance of thisProgressChangeEvent- 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 Detail
-
getMessage
public java.lang.String getMessage()
Returns the progress message- Returns:
- the progress message
-
getTitle
public java.lang.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.
-
-