public class ProgressEvent
extends java.util.EventObject
Constructor and Description |
---|
ProgressEvent(java.lang.Object source,
java.util.Date startDate,
java.util.Date endDate)
Constructs a new ProgressEvent.
|
ProgressEvent(java.lang.Object source,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String[] keywords)
Constructs a new ProgressEvent.
|
ProgressEvent(java.lang.Object source,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String[] keywords,
int progress)
Constructs a new ProgressEvent.
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getEndDate()
The end date in the search condition.
|
java.lang.String[] |
getKeywords()
The keywords in the search condition.
|
int |
getProgress()
Gets the current progress that will be fired.
|
java.util.Date |
getStartDate()
The start date in the search condition.
|
void |
setProgress(int progress)
Sets the progress that will be fired
|
public ProgressEvent(java.lang.Object source, java.util.Date startDate, java.util.Date endDate, java.lang.String[] keywords, int progress)
source
- Object The source firing this eventstartDate
- Date The start date in the search condition.endDate
- Date The end date in the search condition.keywords
- String[] The keywords in the search condition.progress
- int The current progress that we will pass.public ProgressEvent(java.lang.Object source, java.util.Date startDate, java.util.Date endDate, java.lang.String[] keywords)
source
- Object The source firing this eventstartDate
- Date The start date in the search condition.endDate
- Date The end date in the search condition.keywords
- String[] The keywords in the search condition.public ProgressEvent(java.lang.Object source, java.util.Date startDate, java.util.Date endDate)
source
- Object The source firing this eventstartDate
- Date The start date in the search condition.endDate
- Date The end date in the search condition.public int getProgress()
public java.util.Date getEndDate()
public java.lang.String[] getKeywords()
public java.util.Date getStartDate()
public void setProgress(int progress)
progress
- int progress value
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.