|
JSR-62 (Final) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Runnable | |
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. |
java.awt.event | Provides interfaces and classes for dealing with different types of events fired by AWT components. |
java.lang | |
java.util |
Uses of Runnable in java.awt |
Methods in java.awt with parameters of type Runnable | |
static void |
EventQueue.invokeLater(Runnable runnable)
Causes runnable to have its run() method called in the dispatch thread of the EventQueue. |
static void |
EventQueue.invokeAndWait(Runnable runnable)
Causes runnable to have its run() method called in the dispatch thread of the EventQueue. |
Uses of Runnable in java.awt.event |
Fields in java.awt.event declared as Runnable | |
protected Runnable |
InvocationEvent.runnable
The Runnable whose run() method will be called. |
Constructors in java.awt.event with parameters of type Runnable | |
InvocationEvent(Object source,
Runnable runnable)
Constructs an InvocationEvent with the specified source which will execute the runnable's run() method when dispatched. |
|
InvocationEvent(Object source,
Runnable runnable,
Object notifier,
boolean catchExceptions)
Constructs an InvocationEvent with the specified source which will execute the runnable's run() method when dispatched. |
|
InvocationEvent(Object source,
int id,
Runnable runnable,
Object notifier,
boolean catchExceptions)
Constructs an InvocationEvent with the specified source and ID which will execute the runnable's run() method when dispatched. |
Uses of Runnable in java.lang |
Classes in java.lang that implement Runnable | |
class |
Thread
A thread is a thread of execution in a program. |
Constructors in java.lang with parameters of type Runnable | |
Thread(Runnable target)
Allocates a new Thread object. |
|
Thread(ThreadGroup group,
Runnable target)
Allocates a new Thread object. |
|
Thread(Runnable target,
String name)
Allocates a new Thread object. |
|
Thread(ThreadGroup group,
Runnable target,
String name)
Allocates a new Thread object so that it has
target as its run object, has the specified
name as its name, and belongs to the thread group
referred to by group . |
Uses of Runnable in java.util |
Classes in java.util that implement Runnable | |
class |
TimerTask
A task that can be scheduled for one-time or repeated execution by a Timer. |
|
JSR-62 (Final) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |