talx.events
Class ComposeMailEvent
java.lang.Object
java.util.EventObject
talx.events.TALEvent
talx.events.TALMailEvent
talx.events.TALPeopleMailEvent
talx.events.ComposeMailEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ComposeMailEvent
- extends TALPeopleMailEvent
This class is a Think And Link Event which is sent out in response to
the compose window closing either because the message is being sent
or because the composition is being aborted.
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
ComposeMailEvent(java.lang.Object source,
Person[] people,
javax.mail.internet.MimeMessage reply,
javax.mail.internet.MimeMessage original,
long time,
int del_words,
int del_chars)
|
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ComposeMailEvent
public ComposeMailEvent(java.lang.Object source,
Person[] people,
javax.mail.internet.MimeMessage reply,
javax.mail.internet.MimeMessage original,
long time,
int del_words,
int del_chars)
- Parameters:
source - The source from which this event originated.people - The people to whom this is a response.reply - The reply email message carried by this event.original - The original message that is being responded totime - The time spent composing the messagedel_words - The number of words erased from the messagedel_chars - The number of characters erased from the message
getOriginal
public javax.mail.internet.MimeMessage getOriginal()
- Returns:
- original message being replied to
getTime
public long getTime()
- Returns:
- the time it took to compose the reply
getDeletedWordCount
public int getDeletedWordCount()
- Returns:
- the number of words erased as the reply was being typed
getDeletedCharCount
public int getDeletedCharCount()
- Returns:
- the number of characters erased as the reply was being typed.
toString
public java.lang.String toString()
- Description copied from class:
TALPeopleMailEvent
- Overrides super.toString to prepend the list of people.
- Overrides:
toString in class TALPeopleMailEvent
© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.