Package rocks.xmpp.extensions.avatar
Class AvatarChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- rocks.xmpp.extensions.avatar.AvatarChangeEvent
-
- All Implemented Interfaces:
Serializable
public final class AvatarChangeEvent extends EventObject
The avatar change event to notify about avatar updates.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getAvatar()
Gets the avatar image data.BufferedImage
getAvatarImage()
Gets the avatar image, ornull
if there is none.Jid
getContact()
Gets the bare JID of the contact who's associated with the avatar, i.e. who changed his or her avatar.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getAvatar
public final byte[] getAvatar()
Gets the avatar image data.- Returns:
- The avatar.
-
getAvatarImage
public final BufferedImage getAvatarImage()
Gets the avatar image, ornull
if there is none.- Returns:
- The avatar image.
-
getContact
public final Jid getContact()
Gets the bare JID of the contact who's associated with the avatar, i.e. who changed his or her avatar.- Returns:
- The contact.
-
-