Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.mail.event
Class StoreEvent  view StoreEvent download StoreEvent.java

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.mail.event.MailEvent
          extended byjavax.mail.event.StoreEvent
All Implemented Interfaces:
java.io.Serializable

public class StoreEvent
extends MailEvent

Event representing motifications from the Store connection.

Version:
$Rev: 125583 $ $Date: 2005-01-18 19:44:27 -0800 (Tue, 18 Jan 2005) $

Field Summary
static int ALERT
          Indicates that this message is an alert.
protected  java.lang.String message
          The text to be presented to the user.
static int NOTICE
          Indicates that this message is a notice.
protected  int type
          The message type.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
StoreEvent(javax.mail.Store store, int type, java.lang.String message)
          Construct a new event.
 
Method Summary
 void dispatch(java.lang.Object listener)
           
 java.lang.String getMessage()
          Return the text to be displayed to the user.
 int getMessageType()
          Return the message type.
 
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
 

Field Detail

ALERT

public static final int ALERT
Indicates that this message is an alert.

See Also:
Constant Field Values

NOTICE

public static final int NOTICE
Indicates that this message is a notice.

See Also:
Constant Field Values

type

protected int type
The message type.


message

protected java.lang.String message
The text to be presented to the user.

Constructor Detail

StoreEvent

public StoreEvent(javax.mail.Store store,
                  int type,
                  java.lang.String message)
Construct a new event.

Method Detail

getMessageType

public int getMessageType()
Return the message type.


getMessage

public java.lang.String getMessage()
Return the text to be displayed to the user.


dispatch

public void dispatch(java.lang.Object listener)
Specified by:
dispatch in class MailEvent