Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.callhistory.event
Class ProgressEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.java.sip.communicator.service.callhistory.event.ProgressEvent
All Implemented Interfaces:
Serializable

public class ProgressEvent
extends EventObject

A "ProgressEvent" event gets delivered through the search process of CallHistoryService Service. The event is wrapper around the generated event from the History Service

Author:
Damian Minkov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ProgressEvent(Object source, ProgressEvent evt, int progress)
          Constructor.
 
Method Summary
 Date getEndDate()
          The end date 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

ProgressEvent

public ProgressEvent(Object source,
                     ProgressEvent evt,
                     int progress)
Constructor.

Parameters:
source - source object
evt - the ProgressEvent
progress - initial progress value
Method Detail

getProgress

public int getProgress()
Gets the current progress that will be fired.

Returns:
int the progress value

getEndDate

public Date getEndDate()
The end date in the search condition.

Returns:
Date end date value

getStartDate

public Date getStartDate()
The start date in the search condition.

Returns:
Date start date value

setProgress

public void setProgress(int progress)
Sets the progress that will be fired

Parameters:
progress - int progress value

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.