Package rocks.xmpp.extensions.muc
Class SubjectChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- rocks.xmpp.extensions.muc.SubjectChangeEvent
-
- All Implemented Interfaces:
Serializable
public final class SubjectChangeEvent extends EventObject
This event is fired, when the subject in a chat room has changed.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instant
getDate()
Gets the date, when the message was sent.String
getNickname()
Gets the nickname who changed the subject.String
getSubject()
Gets the new subject.boolean
isDelayed()
Indicates, if the subject change is delayed.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getSubject
public String getSubject()
Gets the new subject.- Returns:
- The subject.
-
getDate
public Instant getDate()
Gets the date, when the message was sent.- Returns:
- The send date.
-
getNickname
public String getNickname()
Gets the nickname who changed the subject.- Returns:
- The nickname.
-
isDelayed
public boolean isDelayed()
Indicates, if the subject change is delayed.- Returns:
- True, if the subject change is delayed.
-
-