net.java.sip.communicator.plugin.scphone
Class SCPhoneMessageEvent
java.lang.Object
java.util.EventObject
net.java.sip.communicator.plugin.scphone.SCPhoneEvent
net.java.sip.communicator.plugin.scphone.SCPhoneMessageEvent
- All Implemented Interfaces:
- java.io.Serializable
public final class SCPhoneMessageEvent
- extends SCPhoneEvent
A SCPhoneMessageEvent
is fired when a message has been sent to the phone or received (from the phone).
- See Also:
- Serialized Form
Field Summary |
private java.lang.String |
message
The message that triggered the event. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
SCPhoneMessageEvent(java.lang.Object source,
java.lang.String newMessage)
Constructor with source and the message. |
Method Summary |
java.lang.String |
getMessage()
Get the message of this event. |
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 |
message
private final java.lang.String message
- The message that triggered the event.
SCPhoneMessageEvent
SCPhoneMessageEvent(java.lang.Object source,
java.lang.String newMessage)
- Constructor with source and the message.
- Parameters:
source
- of the event.newMessage
- The message sent or received.
getMessage
public java.lang.String getMessage()
- Get the message of this event.
- Returns:
- Message.