| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALERT
Indicates that this message is an ALERT. |
| protected String | message
The message text to be presented to the user. |
| public static final int | NOTICE
Indicates that this message is a NOTICE. |
| private static final long | |
| protected int | type
The event type. |
| Access | Constructor and Description |
|---|---|
| public | StoreEvent(Store
the source Store store, int the event type type, String a message assoicated with the event message)Construct a StoreEvent. |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispatch(Object
the listener to invoke on listener)Implements abstract javax. |
| public String | |
| public int |
| ALERT | back to summary |
|---|---|
| public static final int ALERT Indicates that this message is an ALERT. | |
| message | back to summary |
|---|---|
| protected String message The message text to be presented to the user. | |
| NOTICE | back to summary |
|---|---|
| public static final int NOTICE Indicates that this message is a NOTICE. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| type | back to summary |
|---|---|
| protected int type The event type. | |
| StoreEvent | back to summary |
|---|---|
| public StoreEvent(Store store, int type, String message) Construct a StoreEvent. | |
| dispatch | back to summary |
|---|---|
| public void dispatch(Object listener) Implements abstract javax. Invokes the appropriate StoreListener method.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Get the message from the Store.
| |
| getMessageType | back to summary |
|---|---|
| public int getMessageType() Return the type of this event. | |