Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addPropertyChangeListener(PropertyChangeListener) - Method in class org.jdesktop.swingworker.SwingWorker
-
Adds a
PropertyChangeListenerto the listener list.
C
- cancel(boolean) - Method in class org.jdesktop.swingworker.SwingWorker
D
- doInBackground() - Method in class org.jdesktop.swingworker.SwingWorker
-
Computes a result, or throws an exception if unable to do so.
- done() - Method in class org.jdesktop.swingworker.SwingWorker
-
Executed on the Event Dispatch Thread after the
doInBackgroundmethod is finished. - DONE - Enum constant in enum org.jdesktop.swingworker.SwingWorker.StateValue
-
SwingWorkerisDONEafterdoInBackgroundmethod is finished.
E
- execute() - Method in class org.jdesktop.swingworker.SwingWorker
-
Schedules this
SwingWorkerfor execution on a worker thread.
F
- firePropertyChange(PropertyChangeEvent) - Method in class org.jdesktop.swingworker.SwingPropertyChangeSupport
- firePropertyChange(String, Object, Object) - Method in class org.jdesktop.swingworker.SwingWorker
-
Reports a bound property update to any registered listeners.
G
- get() - Method in class org.jdesktop.swingworker.SwingWorker
- get(long, TimeUnit) - Method in class org.jdesktop.swingworker.SwingWorker
- getProgress() - Method in class org.jdesktop.swingworker.SwingWorker
-
Returns the
progressbound property. - getPropertyChangeSupport() - Method in class org.jdesktop.swingworker.SwingWorker
-
Returns the
PropertyChangeSupportfor thisSwingWorker. - getState() - Method in class org.jdesktop.swingworker.SwingWorker
-
Returns the
SwingWorkerstate bound property.
I
- isCancelled() - Method in class org.jdesktop.swingworker.SwingWorker
- isDone() - Method in class org.jdesktop.swingworker.SwingWorker
- isNotifyOnEDT() - Method in class org.jdesktop.swingworker.SwingPropertyChangeSupport
-
Returns
notifyOnEDTproperty.
O
- org.jdesktop.swingworker - package org.jdesktop.swingworker
P
- PENDING - Enum constant in enum org.jdesktop.swingworker.SwingWorker.StateValue
-
Initial
SwingWorkerstate. - process(List<V>) - Method in class org.jdesktop.swingworker.SwingWorker
-
Receives data chunks from the
publishmethod asynchronously on the Event Dispatch Thread. - publish(V...) - Method in class org.jdesktop.swingworker.SwingWorker
-
Sends data chunks to the
SwingWorker.process(java.util.List<V>)method.
R
- removePropertyChangeListener(PropertyChangeListener) - Method in class org.jdesktop.swingworker.SwingWorker
-
Removes a
PropertyChangeListenerfrom the listener list. - run() - Method in class org.jdesktop.swingworker.SwingWorker
-
Sets this
Futureto the result of computation unless it has been cancelled.
S
- setProgress(int) - Method in class org.jdesktop.swingworker.SwingWorker
-
Sets the
progressbound property. - STARTED - Enum constant in enum org.jdesktop.swingworker.SwingWorker.StateValue
-
SwingWorkerisSTARTEDbefore invokingdoInBackground. - SwingPropertyChangeSupport - Class in org.jdesktop.swingworker
-
This subclass of
java.beans.PropertyChangeSupportis almost identical in functionality. - SwingPropertyChangeSupport(Object) - Constructor for class org.jdesktop.swingworker.SwingPropertyChangeSupport
-
Constructs a SwingPropertyChangeSupport object.
- SwingPropertyChangeSupport(Object, boolean) - Constructor for class org.jdesktop.swingworker.SwingPropertyChangeSupport
-
Constructs a SwingPropertyChangeSupport object.
- SwingWorker<T,
V> - Class in org.jdesktop.swingworker -
An abstract class to perform lengthy GUI-interacting tasks in a dedicated thread.
- SwingWorker() - Constructor for class org.jdesktop.swingworker.SwingWorker
-
Constructs this
SwingWorker. - SwingWorker.StateValue - Enum in org.jdesktop.swingworker
-
Values for the
statebound property.
V
- valueOf(String) - Static method in enum org.jdesktop.swingworker.SwingWorker.StateValue
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.jdesktop.swingworker.SwingWorker.StateValue
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form