< prev index next >
src/java.desktop/share/classes/java/awt/event/InvocationEvent.java
Print this page
@@ -148,22 +148,22 @@
*/
private static final long serialVersionUID = 436056344909459450L;
/**
* Constructs an {@code InvocationEvent} with the specified
- * source which will execute the runnable's {@code run}
+ * source which will execute the runnable's {@code run()}
* method when dispatched.
* <p>This is a convenience constructor. An invocation of the form
* {@code InvocationEvent(source, runnable)}
* behaves in exactly the same way as the invocation of
* {@link #InvocationEvent(Object, Runnable, Object, boolean)
* InvocationEvent(source, runnable, null, false)}.
* <p> This method throws an {@code IllegalArgumentException}
* if {@code source} is {@code null}.
*
* @param source The {@code Object} that originated the event
- * @param runnable The {@code Runnable} whose {@code run}
+ * @param runnable The {@code Runnable} whose {@code run()}
* method will be executed
* @throws IllegalArgumentException if {@code source} is null
*
* @see #getSource()
* @see #InvocationEvent(Object, Runnable, Object, boolean)
@@ -172,14 +172,14 @@
this(source, INVOCATION_DEFAULT, runnable, null, null, false);
}
/**
* Constructs an {@code InvocationEvent} with the specified
- * source which will execute the runnable's {@code run}
+ * source which will execute the runnable's {@code run()}
* method when dispatched. If notifier is non-{@code null},
* {@code notifyAll()} will be called on it
- * immediately after {@code run} has returned or thrown an exception.
+ * immediately after {@code run()} has returned or thrown an exception.
* <p>An invocation of the form
* {@code InvocationEvent(source, runnable, notifier, catchThrowables)}
* behaves in exactly the same way as the invocation of
* {@link #InvocationEvent(Object, int, Runnable, Object, boolean)
* InvocationEvent(source, InvocationEvent.INVOCATION_DEFAULT, runnable, notifier, catchThrowables)}.
@@ -187,20 +187,20 @@
* if {@code source} is {@code null}.
*
* @param source The {@code Object} that originated
* the event
* @param runnable The {@code Runnable} whose
- * {@code run} method will be
+ * {@code run()} method will be
* executed
* @param notifier The {@code Object} whose {@code notifyAll}
* method will be called after
* {@code Runnable.run} has returned or
* thrown an exception or after the event was
* disposed
* @param catchThrowables Specifies whether {@code dispatch}
* should catch Throwable when executing
- * the {@code Runnable}'s {@code run}
+ * the {@code Runnable}'s {@code run()}
* method, or should instead propagate those
* Throwables to the EventDispatchThread's
* dispatch loop
* @throws IllegalArgumentException if {@code source} is null
*
@@ -212,30 +212,30 @@
this(source, INVOCATION_DEFAULT, runnable, notifier, null, catchThrowables);
}
/**
* Constructs an {@code InvocationEvent} with the specified
- * source which will execute the runnable's {@code run}
+ * source which will execute the runnable's {@code run()}
* method when dispatched. If listener is non-{@code null},
* {@code listener.run()} will be called immediately after
* {@code run} has returned, thrown an exception or the event
* was disposed.
* <p>This method throws an {@code IllegalArgumentException}
* if {@code source} is {@code null}.
*
* @param source The {@code Object} that originated
* the event
* @param runnable The {@code Runnable} whose
- * {@code run} method will be
+ * {@code run()} method will be
* executed
- * @param listener The {@code Runnable}Runnable whose
+ * @param listener The {@code Runnable} Runnable whose
* {@code run()} method will be called
* after the {@code InvocationEvent}
* was dispatched or disposed
* @param catchThrowables Specifies whether {@code dispatch}
* should catch Throwable when executing
- * the {@code Runnable}'s {@code run}
+ * the {@code Runnable}'s {@code run()}
* method, or should instead propagate those
* Throwables to the EventDispatchThread's
* dispatch loop
* @throws IllegalArgumentException if {@code source} is null
*/
@@ -244,33 +244,33 @@
this(source, INVOCATION_DEFAULT, runnable, null, listener, catchThrowables);
}
/**
* Constructs an {@code InvocationEvent} with the specified
- * source and ID which will execute the runnable's {@code run}
+ * source and ID which will execute the runnable's {@code run()}
* method when dispatched. If notifier is non-{@code null},
- * {@code notifyAll} will be called on it immediately after
- * {@code run} has returned or thrown an exception.
+ * {@code notifyAll()} will be called on it immediately after
+ * {@code run()} has returned or thrown an exception.
* <p>This method throws an
* {@code IllegalArgumentException} if {@code source}
* is {@code null}.
*
* @param source The {@code Object} that originated
* the event
* @param id An integer indicating the type of event.
* For information on allowable values, see
* the class description for {@link InvocationEvent}
* @param runnable The {@code Runnable} whose
- * {@code run} method will be executed
+ * {@code run()} method will be executed
* @param notifier The {@code Object} whose {@code notifyAll}
* method will be called after
* {@code Runnable.run} has returned or
* thrown an exception or after the event was
* disposed
* @param catchThrowables Specifies whether {@code dispatch}
* should catch Throwable when executing the
- * {@code Runnable}'s {@code run}
+ * {@code Runnable}'s {@code run()}
* method, or should instead propagate those
* Throwables to the EventDispatchThread's
* dispatch loop
* @throws IllegalArgumentException if {@code source} is null
* @see #getSource()
< prev index next >