83 public static final int INVOCATION_LAST = INVOCATION_DEFAULT; |
83 public static final int INVOCATION_LAST = INVOCATION_DEFAULT; |
84 |
84 |
85 /** |
85 /** |
86 * The Runnable whose run() method will be called. |
86 * The Runnable whose run() method will be called. |
87 */ |
87 */ |
|
88 @SuppressWarnings("serial") // Not statically typed as Serializable |
88 protected Runnable runnable; |
89 protected Runnable runnable; |
89 |
90 |
90 /** |
91 /** |
91 * The (potentially null) Object whose notifyAll() method will be called |
92 * The (potentially null) Object whose notifyAll() method will be called |
92 * immediately after the Runnable.run() method has returned or thrown an exception |
93 * immediately after the Runnable.run() method has returned or thrown an exception |
93 * or after the event was disposed. |
94 * or after the event was disposed. |
94 * |
95 * |
95 * @see #isDispatched |
96 * @see #isDispatched |
96 */ |
97 */ |
|
98 @SuppressWarnings("serial") // Not statically typed as Serializable |
97 protected volatile Object notifier; |
99 protected volatile Object notifier; |
98 |
100 |
99 /** |
101 /** |
100 * The (potentially null) Runnable whose run() method will be called |
102 * The (potentially null) Runnable whose run() method will be called |
101 * immediately after the event was dispatched or disposed. |
103 * immediately after the event was dispatched or disposed. |
102 * |
104 * |
103 * @see #isDispatched |
105 * @see #isDispatched |
104 * @since 1.8 |
106 * @since 1.8 |
105 */ |
107 */ |
|
108 @SuppressWarnings("serial") // Not statically typed as Serializable |
106 private final Runnable listener; |
109 private final Runnable listener; |
107 |
110 |
108 /** |
111 /** |
109 * Indicates whether the {@code run()} method of the {@code runnable} |
112 * Indicates whether the {@code run()} method of the {@code runnable} |
110 * was executed or not. |
113 * was executed or not. |