| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private static boolean | |
| private Thread | |
| private static final int | |
| private static final LinkedList | |
| private final AWTEvent | |
| private final LinkedList | |
| private static final long | serialVersionUID
Use serialVersionUID from JDK 1.6 for interoperability.
|
| Access | Constructor and Description |
|---|---|
| public | SequencedEvent(AWTEvent
the AWTEvent which this SequencedEvent's dispatch()
method will dispatch nested)Constructs a new SequencedEvent which will dispatch the specified nested event. |
| Modifier and Type | Method and Description |
|---|---|
| public final void | dispatch()
Implements java. Dispatches the nested event after all previous nested events have been dispatched or disposed. |
| pack-priv final void | |
| private static final synchronized SequencedEvent | |
| public final boolean | isFirstOrDisposed()
Sequenced events are dispatched in order, so we cannot dispatch until we are the first sequenced event in the queue (i.e. it's our turn). |
| disposed | back to summary |
|---|---|
| private boolean disposed | |
| fxAppThreadIsDispatchThread | back to summary |
|---|---|
| private static boolean fxAppThreadIsDispatchThread | |
| fxCheckSequenceThread | back to summary |
|---|---|
private Thread fxCheckSequenceThread
| |
| ID | back to summary |
|---|---|
| private static final int ID | |
| list | back to summary |
|---|---|
| private static final LinkedList<SequencedEvent> list | |
| nested | back to summary |
|---|---|
| private final AWTEvent nested | |
| pendingEvents | back to summary |
|---|---|
| private final LinkedList<AWTEvent> pendingEvents | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. Use serialVersionUID from JDK 1.6 for interoperability. | |
| SequencedEvent | back to summary |
|---|---|
| public SequencedEvent(AWTEvent nested) Constructs a new SequencedEvent which will dispatch the specified nested event.
| |
| dispatch | back to summary |
|---|---|
| public final void dispatch() Implements java. Dispatches the nested event after all previous nested events have been dispatched or disposed. If this method is invoked before all previous nested events have been dispatched, then this method blocks until such a point is reached. Note Locking protocol. Since dispose() can get EventQueue lock, dispatch() shall never call dispose() while holding the lock on the list, as EventQueue lock is held during dispatching. The locks should be acquired in the same order. | |
| dispose | back to summary |
|---|---|
| pack-priv final void dispose() Disposes of this instance. This method is invoked once the nested event has been dispatched and handled, or when the peer of the target of the nested event has been disposed with a call to Component.removeNotify. Note Locking protocol. Since SunToolkit.postEvent can get EventQueue lock, it shall never be called while holding the lock on the list, as EventQueue lock is held during dispatching and dispatch() will get lock on the list. The locks should be acquired in the same order. | |
| getFirst | back to summary |
|---|---|
| private static final synchronized SequencedEvent getFirst() | |
| isFirstOrDisposed | back to summary |
|---|---|
| public final boolean isFirstOrDisposed() Sequenced events are dispatched in order, so we cannot dispatch until we are the first sequenced event in the queue (i.e. it's our turn). But while we wait for our turn to dispatch, the event could have been disposed for a number of reasons. | |
| Modifier and Type | Field and Description |
|---|---|
| private final SequencedEvent |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public EventFilter. |
| currentSequencedEvent | back to summary |
|---|---|
| private final SequencedEvent currentSequencedEvent | |
| SequencedEventsFilter | back to summary |
|---|---|
| private SequencedEventsFilter(SequencedEvent currentSequencedEvent) | |
| acceptEvent | back to summary |
|---|---|
| public EventFilter. Implements java.
| |