A C E F G H I J M P Q R S T W 

A

AbstractWorkerThread - Class in foxtrot
Partial implementation of the WorkerThread interface.
AbstractWorkerThread() - Constructor for class foxtrot.AbstractWorkerThread
Creates a new instance of this AbstractWorkerThread, called by subclasses.
accept(AWTEvent) - Method in interface foxtrot.pumps.EventFilter
Callback called by EventPumps to filter the given AWT event.
AsyncTask - Class in foxtrot
A time-consuming task to be executed asynchronously by AsyncWorker.
AsyncTask() - Constructor for class foxtrot.AsyncTask
 
AsyncWorker - Class in foxtrot
The class that executes asynchronous tasks.

C

canPumpEvent(AWTEvent) - Method in class foxtrot.pumps.ConditionalEventPump
Returns whether this event can be pumped from the EventQueue.
canPumpEvent(AWTEvent) - Method in class foxtrot.pumps.SunJDK140ConditionalEventPump
 
canPumpEvent(AWTEvent) - Method in class foxtrot.pumps.SunJDK141ConditionalEventPump
 
ConcurrentWorker - Class in foxtrot
The class that execute time-consuming Tasks and Jobs, but differently from Worker, execute them concurrently and not one after the other, though the invocations to ConcurrentWorker.post(Task) or ConcurrentWorker.post(Job) will finish one after the other.
ConditionalEventPump - Class in foxtrot.pumps
This implementation of EventPump calls the package protected method java.awt.EventDispatchThread.pumpEvents(Conditional) to pump events while a Task is executed.
ConditionalEventPump() - Constructor for class foxtrot.pumps.ConditionalEventPump
 
ConditionalEventPump.ThrowableHandler - Class in foxtrot.pumps
Handler for RuntimeExceptions or Errors thrown during dispatching of AWT events.
ConditionalEventPump.ThrowableHandler() - Constructor for class foxtrot.pumps.ConditionalEventPump.ThrowableHandler
 
create(Class, EventListener) - Static method in class foxtrot.utils.EventListenerProxy
Creates a proxy for the given listener.

E

EventFilter - Interface in foxtrot.pumps
Filters AWT events pumped by EventPumps before they're dispatched.
EventFilterable - Interface in foxtrot.pumps
EventPumps that implement this interface have the possibility to filter AWT events before they are dispatched.
EventListenerProxy - Class in foxtrot.utils
This class wraps an EventListener subclass (and thus any AWT/Swing event listener such as ActionListeners, MouseListeners and so on) making sure that if a wrapped listener is executing, another wrapped listener (even of different type) it is not executed.
EventListenerProxy(EventListener) - Constructor for class foxtrot.utils.EventListenerProxy
Creates an instance that wraps the given listener
EventPump - Interface in foxtrot
Synchronous Foxtrot workers use an implementation of this interface to pump AWT events from the standard AWT Event Queue while executing Tasks.

F

failure(Throwable) - Method in class foxtrot.AsyncTask
Callback called in the Event Dispatch Thread in case of exception thrown during the execution of this AsyncTask.
finish() - Method in class foxtrot.AsyncTask
Called in the Event Dispatch Thread after this AsyncTask is finished.
FlushJob - Class in foxtrot.utils
This job flushes all pending AWT events that are waiting in the EventQueue.
FlushJob() - Constructor for class foxtrot.utils.FlushJob
 
foxtrot - package foxtrot
 
foxtrot.pumps - package foxtrot.pumps
 
foxtrot.utils - package foxtrot.utils
 
foxtrot.workers - package foxtrot.workers
 

G

getEventFilter() - Method in class foxtrot.pumps.ConditionalEventPump
 
getEventFilter() - Method in interface foxtrot.pumps.EventFilterable
Returns the EventFilter
getEventFilter() - Method in class foxtrot.pumps.QueueEventPump
 
getEventPump() - Static method in class foxtrot.ConcurrentWorker
 
getEventPump() - Static method in class foxtrot.Worker
Returns the EventPump used to pump events from the AWT Event Queue.
getEventQueue() - Method in class foxtrot.pumps.ConditionalEventPump
 
getResultOrThrow() - Method in class foxtrot.Task
Returns the result of this Task operation, as set by Task.setResult(java.lang.Object).
getThreadName() - Method in class foxtrot.workers.MultiWorkerThread
 
getThreadName() - Method in class foxtrot.workers.SingleWorkerThread
Returns the name of the worker thread used by this WorkerThread.
getWorkerThread() - Static method in class foxtrot.AsyncWorker
 
getWorkerThread() - Static method in class foxtrot.ConcurrentWorker
 
getWorkerThread() - Static method in class foxtrot.Worker
Returns the WorkerThread used to run Tasks subclasses in a thread that is not the Event Dispatch Thread.

H

handle(Throwable) - Method in class foxtrot.pumps.ConditionalEventPump.ThrowableHandler
The callback method invoked by the AWT event dispatch mechanism when an unexpected exception or error is thrown during event dispatching.

I

invoke(Object, Method, Object[]) - Method in class foxtrot.utils.EventListenerProxy
 
isAlive() - Method in class foxtrot.workers.SingleWorkerThread
 
isAlive() - Method in interface foxtrot.WorkerThread
Returns whether this WorkerThread is alive.
isCompleted() - Method in class foxtrot.Task
Returns whether the execution of this Task has been completed or not.
isThreadInterrupted() - Method in class foxtrot.workers.SingleWorkerThread
Returns whether the worker thread has been interrupted or not.
isWorkerThread() - Method in class foxtrot.workers.MultiWorkerThread
 
isWorkerThread() - Method in class foxtrot.workers.SingleWorkerThread
 
isWorkerThread() - Method in interface foxtrot.WorkerThread
Returns whether the current thread is a thread used by the implementation of this WorkerThread to run Tasks.

J

Job - Class in foxtrot
A time-consuming task to be executed in the Worker Thread that does not throw checked exceptions.
Job() - Constructor for class foxtrot.Job
 

M

MultiWorkerThread - Class in foxtrot.workers
Full implementation of WorkerThread that uses one or more threads to run Tasks subclasses.
MultiWorkerThread() - Constructor for class foxtrot.workers.MultiWorkerThread
 

P

peekEvent(EventQueue) - Method in class foxtrot.pumps.ConditionalEventPump
Peeks the EventQueue for the next event, without removing it.
post(AsyncTask) - Static method in class foxtrot.AsyncWorker
Executes asynchronously the given AsyncTask in a worker thread.
post(Task) - Static method in class foxtrot.ConcurrentWorker
 
post(Job) - Static method in class foxtrot.ConcurrentWorker
 
post(Task) - Static method in class foxtrot.Worker
Enqueues the given Task to be executed by the WorkerThread, while dequeueing AWT events.
post(Job) - Static method in class foxtrot.Worker
Enqueues the given Job to be executed in the worker thread.
postTask(Task) - Method in class foxtrot.workers.SingleWorkerThread
Posts the given Task onto an internal queue.
postTask(Task) - Method in interface foxtrot.WorkerThread
Posts a Task to be run by this WorkerThread in a thread that is not the Event Dispatch Thread.
pumpEvents(Task) - Method in interface foxtrot.EventPump
Pumps AWT events from the standard AWT Event Queue and dispatches the events until the given task is completed; must be called from the Event Dispatch Thread.
pumpEvents(Task) - Method in class foxtrot.pumps.ConditionalEventPump
 
pumpEvents(Task) - Method in class foxtrot.pumps.QueueEventPump
 

Q

QueueEventPump - Class in foxtrot.pumps
Implementation of an EventPump that should work with JDK 1.2 and 1.3 and only uses the public API of the java.awt.* package.
QueueEventPump() - Constructor for class foxtrot.pumps.QueueEventPump
 

R

run() - Method in class foxtrot.Job
The method to implement with time-consuming code.
run() - Method in class foxtrot.Task
The method to implement with time-consuming code.
run() - Method in class foxtrot.utils.FlushJob
 
run(Task) - Method in class foxtrot.workers.MultiWorkerThread
 
run() - Method in class foxtrot.workers.SingleWorkerThread
The worker thread dequeues one Task from the internal queue via SingleWorkerThread.takeTask() and then executes it.
run(Task) - Method in class foxtrot.workers.SingleWorkerThread
Executes the given Task.
runTask(Task) - Method in class foxtrot.AbstractWorkerThread
 
runTask(Task) - Method in interface foxtrot.WorkerThread
Runs the given Task.

S

setEventFilter(EventFilter) - Method in class foxtrot.pumps.ConditionalEventPump
 
setEventFilter(EventFilter) - Method in interface foxtrot.pumps.EventFilterable
Sets the EventFilter
setEventFilter(EventFilter) - Method in class foxtrot.pumps.QueueEventPump
 
setEventPump(EventPump) - Static method in class foxtrot.ConcurrentWorker
 
setEventPump(EventPump) - Static method in class foxtrot.Worker
Sets the EventPump to be used to pump events from the AWT Event Queue.
setWorkerThread(WorkerThread) - Static method in class foxtrot.AsyncWorker
 
setWorkerThread(WorkerThread) - Static method in class foxtrot.ConcurrentWorker
 
setWorkerThread(WorkerThread) - Static method in class foxtrot.Worker
Sets the WorkerThread used to run Tasks subclasses in a thread that is not the Event Dispatch Thread.
SingleWorkerThread - Class in foxtrot.workers
Full implementation of WorkerThread that uses a single worker thread to run Tasks subclasses.
SingleWorkerThread() - Constructor for class foxtrot.workers.SingleWorkerThread
 
start() - Method in class foxtrot.workers.SingleWorkerThread
 
start() - Method in interface foxtrot.WorkerThread
Starts this WorkerThread, responsible for running Tasks (not in the Event Dispatch Thread).
stop() - Method in class foxtrot.workers.SingleWorkerThread
Stops abruptly this WorkerThread.
success(Object) - Method in class foxtrot.AsyncTask
Callback called in the Event Dispatch Thread in case of successful execution of this AsyncTask.
SunJDK140ConditionalEventPump - Class in foxtrot.pumps
Specialized ConditionalEventPump for Sun's JDK 1.4.0.
SunJDK140ConditionalEventPump() - Constructor for class foxtrot.pumps.SunJDK140ConditionalEventPump
 
SunJDK141ConditionalEventPump - Class in foxtrot.pumps
Specialized ConditionalEventPump for Sun's JDK 1.4.1, 1.4.2, 5.0 and 6.0.
SunJDK141ConditionalEventPump() - Constructor for class foxtrot.pumps.SunJDK141ConditionalEventPump
 
SunJDK14ConditionalEventPump - Class in foxtrot.pumps
Specialized ConditionalEventPump for Sun's JDK 1.4, 5.0 and 6.0.
SunJDK14ConditionalEventPump() - Constructor for class foxtrot.pumps.SunJDK14ConditionalEventPump
 
SunJDK17ConditionalEventPump - Class in foxtrot.pumps
Specialized ConditionalEventPump for Sun's JDK 7.0.
SunJDK17ConditionalEventPump() - Constructor for class foxtrot.pumps.SunJDK17ConditionalEventPump
 

T

takeTask() - Method in class foxtrot.workers.SingleWorkerThread
Removes and returns the first available Task from the internal queue.
Task - Class in foxtrot
A time-consuming task to be executed in the Worker Thread that may throw checked exceptions.
Task() - Constructor for class foxtrot.Task
Creates a new Task.

W

waitForEvent() - Method in class foxtrot.pumps.ConditionalEventPump
Waits until an event is available on the EventQueue.
waitForEvent() - Method in class foxtrot.pumps.SunJDK14ConditionalEventPump
Flushes pending events before waiting for the next event.
waitForEvent() - Method in class foxtrot.pumps.SunJDK17ConditionalEventPump
 
Worker - Class in foxtrot
The class that execute time-consuming Tasks and Jobs.
WorkerThread - Interface in foxtrot
Implementations of this interface run Tasks in a thread that is not the Event Dispatch Thread.
A C E F G H I J M P Q R S T W 

Copyright © 2002-2011. All Rights Reserved.