|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
net.java.sip.communicator.service.history.event.ProgressEvent
public class ProgressEvent
A "ProgressEvent" event gets delivered through the search process of HistoryReader Service. The event is created with arguments - the search conditions (if they do not exist null is passed). We must know the search conditions due the fact that we must differ searches if more than one exist. The real information is the progress of the current search.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ProgressEvent(Object source,
Date startDate,
Date endDate)
Constructs a new ProgressEvent. |
|
ProgressEvent(Object source,
Date startDate,
Date endDate,
String[] keywords)
Constructs a new ProgressEvent. |
|
ProgressEvent(Object source,
Date startDate,
Date endDate,
String[] keywords,
int progress)
Constructs a new ProgressEvent. |
|
| Method Summary | |
|---|---|
Date |
getEndDate()
The end date in the search condition. |
String[] |
getKeywords()
The keywords in the search condition. |
int |
getProgress()
Gets the current progress that will be fired. |
Date |
getStartDate()
The start date in the search condition. |
void |
setProgress(int progress)
Sets the progress that will be fired |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProgressEvent(Object source,
Date startDate,
Date endDate,
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(Object source,
Date startDate,
Date endDate,
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(Object source,
Date startDate,
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.| Method Detail |
|---|
public int getProgress()
public Date getEndDate()
public String[] getKeywords()
public Date getStartDate()
public void setProgress(int progress)
progress - int progress value
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||