JavaTM 2 Platform
Std. Ed. v1.4.1

Uses of Interface
java.lang.Runnable

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.awt.image.renderable Provides classes and interfaces for producing rendering-independent images. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
 

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.awt.image.renderable
 

Classes in java.awt.image.renderable that implement Runnable
 class RenderableImageProducer
          An adapter class that implements ImageProducer to allow the asynchronous production of a RenderableImage.
 

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.
Thread(ThreadGroup group, Runnable target, String name, long stackSize)
          Allocates a new Thread object so that it has target as its run object, has the specified name as its name, belongs to the thread group referred to by group, and has the specified stack size.
 

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.
 

Uses of Runnable in javax.swing
 

Methods in javax.swing with parameters of type Runnable
static void SwingUtilities.invokeLater(Runnable doRun)
          Causes doRun.run() to be executed asynchronously on the AWT event dispatching thread.
static void SwingUtilities.invokeAndWait(Runnable doRun)
          Causes doRun.run() to be executed synchronously on the AWT event dispatching thread.
 

Uses of Runnable in javax.swing.text
 

Classes in javax.swing.text that implement Runnable
 class AsyncBoxView.ChildState
          A record representing the layout state of a child view.
 

Methods in javax.swing.text that return Runnable
protected  Runnable LayoutQueue.waitForWork()
          Used by the worker thread to get a new task to execute
 

Methods in javax.swing.text with parameters of type Runnable
 void LayoutQueue.addTask(Runnable task)
          Add a task that is not needed immediately because the results are not believed to be visible.
 void AbstractDocument.render(Runnable r)
          This allows the model to be safely rendered in the presence of currency, if the model supports being updated asynchronously.
 void Document.render(Runnable r)
          This allows the model to be safely rendered in the presence of currency, if the model supports being updated asynchronously.
 


JavaTM 2 Platform
Std. Ed. v1.4.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

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