public class StoreEvent extends MailEvent
| Modifier and Type | Field and Description | 
|---|---|
| static int | ALERTIndicates that this message is an ALERT. | 
| protected String | messageThe message text to be presented to the user. | 
| static int | NOTICEIndicates that this message is a NOTICE. | 
| protected int | typeThe event type. | 
source| Constructor and Description | 
|---|
| StoreEvent(Store store,
          int type,
          String message)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | dispatch(Object listener)Invokes the appropriate StoreListener method. | 
| String | getMessage()Get the message from the Store. | 
| int | getMessageType()Return the type of this event. | 
getSource, toStringpublic static final int ALERT
public static final int NOTICE
protected int type
protected String message
public int getMessageType()
public String getMessage()
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.