100..10x200..20x300..30x400..5xx600..60x| Modifier and Type | Field and Description |
|---|---|
| private Object | |
| public static final Object | consumedTag
See |
| pack-priv static final boolean | |
| private final short | |
| private final long |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final Object | |
| public final short | |
| public final long | |
| public final boolean | |
| public final void | setAttachment(final Object
User application specific object attachment)Attach the passed object to this event. |
| public final void | |
| public static String | |
| public String | toString()
Overrides java. |
| public StringBuilder |
| attachment | back to summary |
|---|---|
| private Object attachment | |
| consumedTag | back to summary |
|---|---|
| public static final Object consumedTag See | |
| DEBUG | back to summary |
|---|---|
| pack-priv static final boolean DEBUG | |
| eventType | back to summary |
|---|---|
| private final short eventType | |
| when | back to summary |
|---|---|
| private final long when | |
| NEWTEvent | back to summary |
|---|---|
| protected NEWTEvent(final short eventType, final Object source, final long when) | |
| getAttachment | back to summary |
|---|---|
public final Object getAttachment()
| |
| getEventType | back to summary |
|---|---|
| public final short getEventType() Returns the event type of this event. | |
| getWhen | back to summary |
|---|---|
| public final long getWhen() Returns the timestamp, in milliseconds, of this event. | |
| isConsumed | back to summary |
|---|---|
| public final boolean isConsumed() Returns
| |
| setAttachment | back to summary |
|---|---|
| public final void setAttachment(final Object attachment) Attach the passed object to this event.
| |
| setConsumed | back to summary |
|---|---|
| public final void setConsumed(final boolean consumed) If
The event is marked as being consumed while Events with platform specific actions will be supressed if marked as consumed. Examples are:
| |
| toHexString | back to summary |
|---|---|
| public static String toHexString(final short hex) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a String representation of this EventObject. | |
| toString | back to summary |
|---|---|
| public StringBuilder toString(StringBuilder sb) | |