|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.jogamp.newt.event.NEWTEvent
public class NEWTEvent
NEWT events are provided for notification purposes ONLY;
The NEWT will automatically handle the event semantics internally, regardless of whether a program is receiving these events or not.
The actual event semantic is processed before the event is send.
Event type registry:
100..10x200..20x300..30x
| Method Summary | |
|---|---|
Object |
getAttachment()
|
int |
getEventType()
Returns the event type of this event. |
long |
getWhen()
Returns the timestamp, in milliseconds, of this event. |
boolean |
isSystemEvent()
Indicates whether this event was produced by the system or generated by user code. |
void |
setAttachment(Object attachment)
Attach the passed object to this event. |
static String |
toHexString(int hex)
|
static String |
toHexString(long hex)
|
String |
toString()
|
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public final boolean isSystemEvent()
public final int getEventType()
public final long getWhen()
public final void setAttachment(Object attachment)
attachment - User application specific objectpublic final Object getAttachment()
public String toString()
toString in class EventObjectpublic static String toHexString(int hex)
public static String toHexString(long hex)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||