Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol.event
Class WhiteboardObjectDeletedEvent

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

public class WhiteboardObjectDeletedEvent
extends EventObject

WhiteboardObjectDeletedEvent indicates reception of a new WhiteboardObject in the corresponding whiteboard session.

Author:
Julien Waechter, Emil Ivov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WhiteboardObjectDeletedEvent(WhiteboardSession source, String id, Contact from, Date timestamp)
          Creates a WhiteboardObjectReceivedEvent representing reception of the source WhiteboardObject received from the specified from contact.
 
Method Summary
 String getId()
          Returns the identification of the deleted WhiteboardObject that triggered this event
 Contact getSourceContact()
          Returns a reference to the Contact that has send the WhiteboardObject whose reception this event represents.
 WhiteboardSession getSourceWhiteboardSession()
          Returns the source white-board session, to which the received object belongs.
 Date getTimestamp()
          A timestamp indicating the exact date when the event ocurred.
 
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

WhiteboardObjectDeletedEvent

public WhiteboardObjectDeletedEvent(WhiteboardSession source,
                                    String id,
                                    Contact from,
                                    Date timestamp)
Creates a WhiteboardObjectReceivedEvent representing reception of the source WhiteboardObject received from the specified from contact.

Parameters:
source - the WhiteboardSession
id - the identification of the WhiteboardObject whose reception this event represents.
from - the Contact that has sent this WhiteboardObject.
timestamp - the exact date when the event ocurred.
Method Detail

getSourceWhiteboardSession

public WhiteboardSession getSourceWhiteboardSession()
Returns the source white-board session, to which the received object belongs.

Returns:
the source white-board session, to which the received object belongs

getSourceContact

public Contact getSourceContact()
Returns a reference to the Contact that has send the WhiteboardObject whose reception this event represents.

Returns:
a reference to the Contact that has send the WhiteboardObject whose reception this event represents.

getId

public String getId()
Returns the identification of the deleted WhiteboardObject that triggered this event

Returns:
the WhiteboardObject that triggered this event.

getTimestamp

public Date getTimestamp()
A timestamp indicating the exact date when the event ocurred.

Returns:
a Date indicating when the event ocurred.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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