de.grogra.pf.ui
Interface JobManager
- All Superinterfaces:
- Context
- All Known Implementing Classes:
- IMPJobManager
public interface JobManager
- extends Context
Method Summary |
void |
addExecutionListener(JobManager.ExecutionListener listener)
|
void |
cancelQueuedJob(Command command)
|
void |
cancelTimedJob(Command command)
|
void |
execute(Command command,
java.lang.Object info,
Context ctx,
int flags)
|
java.lang.Thread |
getMainThread()
|
ThreadContext |
getThreadContext()
|
boolean |
hasJobQueued(int minPriority)
|
boolean |
hasTimedJobQueued()
|
void |
removeExecutionListener(JobManager.ExecutionListener listener)
|
void |
runAt(long time,
Command command,
java.lang.Object info,
Context ctx)
|
void |
runBlocking(java.lang.Runnable r)
|
void |
runLater(Command command,
java.lang.Object info,
Context ctx,
int flags)
|
void |
runLater(long delay,
Command command,
java.lang.Object info,
Context ctx)
|
ACTION_FLAGS
static final int ACTION_FLAGS
- See Also:
- Constant Field Values
PRIORITY_MASK
static final int PRIORITY_MASK
- See Also:
- Constant Field Values
QUIET
static final int QUIET
- See Also:
- Constant Field Values
RENDER_FLAGS
static final int RENDER_FLAGS
- See Also:
- Constant Field Values
RENDER_PRIORITY
static final short RENDER_PRIORITY
- See Also:
- Constant Field Values
UI_PRIORITY
static final short UI_PRIORITY
- See Also:
- Constant Field Values
UPDATE_FLAGS
static final int UPDATE_FLAGS
- See Also:
- Constant Field Values
UPDATE_PRIORITY
static final short UPDATE_PRIORITY
- See Also:
- Constant Field Values
addExecutionListener
void addExecutionListener(JobManager.ExecutionListener listener)
cancelQueuedJob
void cancelQueuedJob(Command command)
cancelTimedJob
void cancelTimedJob(Command command)
execute
void execute(Command command,
java.lang.Object info,
Context ctx,
int flags)
getMainThread
java.lang.Thread getMainThread()
getThreadContext
ThreadContext getThreadContext()
hasJobQueued
boolean hasJobQueued(int minPriority)
hasTimedJobQueued
boolean hasTimedJobQueued()
removeExecutionListener
void removeExecutionListener(JobManager.ExecutionListener listener)
runAt
void runAt(long time,
Command command,
java.lang.Object info,
Context ctx)
runBlocking
void runBlocking(java.lang.Runnable r)
runLater
void runLater(Command command,
java.lang.Object info,
Context ctx,
int flags)
runLater
void runLater(long delay,
Command command,
java.lang.Object info,
Context ctx)