java.io.Serializable
public class MessageCountEvent extends MailEvent
Modifier and Type | Field | Description |
---|---|---|
static int |
ADDED |
Messages were added to the folder.
|
protected Message[] |
msgs |
The messages.
|
protected boolean |
removed |
If true, this event is the result of an explicit expunge by this client.
|
static int |
REMOVED |
Messages were removed from the folder.
|
protected int |
type |
The event type.
|
Constructor | Description |
---|---|
MessageCountEvent(Folder source,
int type,
boolean removed,
Message[] msgs) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
dispatch(java.lang.Object listener) |
Invokes the appropriate listener method.
|
Message[] |
getMessages() |
Returns the messages that were added or removed.
|
int |
getType() |
Returns the type of this event.
|
boolean |
isRemoved() |
Indicates whether this event is the result of an explicit expunge, or
of an expunge by an external mechanism.
|
public static final int ADDED
public static final int REMOVED
protected int type
protected boolean removed
protected transient Message[] msgs
public int getType()
public boolean isRemoved()
public Message[] getMessages()
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved