added a custom toString implementation

cusax-fix
Emil Ivov 20 years ago
parent 09add87ffb
commit a6a7e48498

@ -54,4 +54,17 @@ public Contact getSourceContact()
{
return (Contact)getSource();
}
/**
* Returns a String representation of this EventObject.
*
* @return A a String representation of this EventObject.
*/
public String toString()
{
return new StringBuffer("TypingNotificationEvent[from=")
.append(getSourceContact().getDisplayName())
.append(" state="+getTypingState()).toString();
}
}

Loading…
Cancel
Save