|
java-gnome version 4.0.19 | ||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Application.MessageReceived
The signal emitted when another instance sends a message to the unique instance.
Method Summary | |
---|---|
Response |
onMessageReceived(Application source,
Command cmd,
MessageData data,
int time)
You can compare the Command by reference with the constants in that class. |
Method Detail |
---|
Response onMessageReceived(Application source, Command cmd, MessageData data, int time)
data
will be null
if that was what was
passed by the calling instance. The time
paramter is a
timestamp.
In ordinary circumstances you should return OK
.
If (for whatever reason) you chose not to handle the message, you
can return PASSTHROUGH
which will
cause emission of this signal to continue, letting another handler
(in this application instance) deal with the event.
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |