|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.MessageEvent
public class MessageEvent
| Field Summary | |
|---|---|
static int |
ID_GENERIC
|
| Constructor Summary | |
|---|---|
MessageEvent(int id)
Create a message event with the given ID |
|
MessageEvent(int id,
int originator,
String str,
RemoteData data)
Create a message event with the given IDs, string and data |
|
MessageEvent(int id,
RemoteData data)
Create a message event with the given ID and data |
|
MessageEvent(int id,
String str)
Create a message event with the given ID and string |
|
MessageEvent(int id,
String str,
RemoteData data)
Create a message event with the given ID, string and data |
|
MessageEvent(RemoteData data)
Create a message event with the given data |
|
MessageEvent(String str)
Create a message event with the given string |
|
MessageEvent(String str,
RemoteData data)
Create a message event with the given string and data |
|
| Method Summary | |
|---|---|
RemoteData |
getData()
Get the data associated with this message. |
int |
getId()
Get this message's ID. |
int |
getOriginatorId()
Get the ID of the originator of this message. |
String |
getString()
Get the string associated with this message. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ID_GENERIC
| Constructor Detail |
|---|
public MessageEvent(int id)
id - Message IDpublic MessageEvent(String str)
str - Message Stringpublic MessageEvent(RemoteData data)
data - Message Data
public MessageEvent(int id,
String str)
id - Message IDstr - Message String
public MessageEvent(int id,
RemoteData data)
id - Message IDdata - Message Data
public MessageEvent(String str,
RemoteData data)
str - Message Stringdata - Message Data
public MessageEvent(int id,
String str,
RemoteData data)
id - Message IDstr - Message Stringdata - Message Data
public MessageEvent(int id,
int originator,
String str,
RemoteData data)
id - Message IDoriginator - Originator ID.str - Message Stringdata - Message Data| Method Detail |
|---|
public int getId()
public int getOriginatorId()
public String getString()
public RemoteData getData()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||