Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.javafx.newt
Class Event

    java.lang.Object
      com.sun.javafx.newt.Event

Direct Known Subclasses:
  InputEvent, PaintEvent, WindowEvent

    public class Event

extends Object

Constructor Summary
`protected` | `Event(int eventType, Window source, long when)`

Method Summary
`int` | `getEventType()` Returns the event type of this event.
`Window` | `getSource()` Returns the source Window which produced 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.
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Event

    protected Event(int eventType,
                    Window source,
                    long when)

Method Detail

### isSystemEvent

    public final boolean isSystemEvent()

  Indicates whether this event was produced by the system or generated by user code.

### getEventType

    public final int getEventType()

  Returns the event type of this event.

### getSource

    public final Window getSource()

  Returns the source Window which produced this Event.

### getWhen

    public final long getWhen()

  Returns the timestamp, in milliseconds, of this event.

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.