|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
gov.nasa.worldwind.event.WWEvent
gov.nasa.worldwind.event.Message
public class Message
General purpose message event.
| Field Summary | |
|---|---|
protected String |
name
Message name. |
protected long |
when
Time at which the message was sent. |
| Fields inherited from class gov.nasa.worldwind.event.WWEvent |
|---|
consumed |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
Message(String name,
Object source)
Create a message. |
|
Message(String name,
Object source,
long when)
Create a message, with a timestamp. |
|
| Method Summary | |
|---|---|
String |
getName()
Indicates the message name. |
long |
getWhen()
Indicates the time at which the message was sent. |
| Methods inherited from class gov.nasa.worldwind.event.WWEvent |
|---|
consume, isConsumed |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected long when
| Constructor Detail |
|---|
public Message(String name,
Object source)
name - The name of the message.source - The object that generated the message.
public Message(String name,
Object source,
long when)
name - The name of the message.source - The object that generated the message.when - The timestamp to apply to the message.| Method Detail |
|---|
public String getName()
public long getWhen()
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||