net.java.sip.communicator.service.contactlist.event
Class MetaContactRenamedEvent
java.lang.Object
java.util.EventObject
java.beans.PropertyChangeEvent
net.java.sip.communicator.service.contactlist.event.MetaContactPropertyChangeEvent
net.java.sip.communicator.service.contactlist.event.MetaContactRenamedEvent
- All Implemented Interfaces:
- Serializable
public class MetaContactRenamedEvent
- extends MetaContactPropertyChangeEvent
Indicates that a meta contact has chaned its display name.
- Author:
- Emil Ivov
- See Also:
- Serialized Form
|
Method Summary |
String |
getNewDisplayName()
Returns the display name of the source meta contact as it is now, after
the change. |
String |
getOldDisplayName()
Returns the display name of the source meta contact as it was now, before
the change. |
MetaContactRenamedEvent
public MetaContactRenamedEvent(MetaContact source,
String oldDisplayName,
String newDisplayName)
- Creates an instance of this event using the specified arguments.
- Parameters:
source - the MetaContact that this event is about.oldDisplayName - the new display name of this meta contact.newDisplayName - the old display name of this meta contact.
getNewDisplayName
public String getNewDisplayName()
- Returns the display name of the source meta contact as it is now, after
the change.
- Returns:
- the new display name of the meta contact.
getOldDisplayName
public String getOldDisplayName()
- Returns the display name of the source meta contact as it was now, before
the change.
- Returns:
- the meta contact name as it was before the change.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.