|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectides.api.plugin.model.DESModelMessage
public class DESModelMessage
Message sent to the subscribers listening for updates of a DESModel.
| Field Summary | |
|---|---|
static int |
CLEAN
Changes to DESModel were saved (dirty to clean) |
static int |
DIRTY
DESModel became dirty (clean to dirty) |
static int |
NAME
DESModel was renamed |
| Constructor Summary | |
|---|---|
DESModelMessage(int eventType,
DESModel source)
Creates a change notification message for DESModels to pass to DESModelSubscribers. |
|
DESModelMessage(int eventType,
DESModel source,
java.lang.String message)
Creates a change notification message for DESModels to pass to DESModelSubscribers. |
|
| Method Summary | |
|---|---|
int |
getEventType()
Returns the type of event that occurred. |
java.lang.String |
getMessage()
Returns a string describing the message. |
DESModel |
getSource()
Returns the model that sent this message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DIRTY
public static final int CLEAN
public static final int NAME
| Constructor Detail |
|---|
public DESModelMessage(int eventType,
DESModel source)
eventType - DIRTY or CLEAN or NAMEsource - message sender
public DESModelMessage(int eventType,
DESModel source,
java.lang.String message)
eventType - DIRTY or CLEAN or NAMEsource - message sendermessage - a description of the event fired| Method Detail |
|---|
public int getEventType()
public DESModel getSource()
public java.lang.String getMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||