| Package | Description |
|---|---|
| org.nuiton.jaxx.runtime.swing.application | |
| org.nuiton.jaxx.runtime.swing.application.event |
| Modifier and Type | Field and Description |
|---|---|
protected Set<ActionWorker<?,?>> |
ActionExecutor.tasks
Cuurrent tasks.
|
| Modifier and Type | Method and Description |
|---|---|
ActionWorker<?,?> |
ActionExecutor.addAction(String actionLabel,
Runnable action)
Add an new action to perform.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ActionWorker<?,?>> |
ActionExecutor.getTasks() |
| Modifier and Type | Method and Description |
|---|---|
void |
ActionExecutor.addAction(ActionWorker<?,?> worker)
Add an new worker to perform.
|
protected void |
ActionExecutor.executeWorker(String actionLabel,
ActionWorker<?,?> worker)
Execute worker once it was added to tasks.
|
protected void |
ActionExecutor.fireAction(ActionWorker<?,?> worker,
BiConsumer<ActionExecutorListener,ActionExecutorEvent> function) |
protected void |
ActionExecutor.fireActionCancel(ActionWorker<?,?> source) |
protected void |
ActionExecutor.fireActionDone(ActionWorker<?,?> worker) |
protected void |
ActionExecutor.fireActionEnd(ActionWorker<?,?> source) |
protected void |
ActionExecutor.fireActionFail(ActionWorker<?,?> source) |
protected void |
ActionExecutor.fireActionStart(ActionWorker<?,?> source) |
void |
ActionExecutor.onActionCancel(ActionWorker<?,?> source)
Hook when a action has been canceled.
|
void |
ActionExecutor.onActionEnd(ActionWorker<?,?> source)
Hook when a action has end with no failure or cancel.
|
void |
ActionExecutor.onActionFail(ActionWorker<?,?> source)
Hook when a action has failed.
|
void |
ActionExecutor.onActionStart(ActionWorker<?,?> source)
Hook when a action is about to start.
|
void |
ActionExecutor.onAfterAction(ActionWorker<?,?> source)
Hook after action is consumed.
|
| Modifier and Type | Method and Description |
|---|---|
ActionWorker<?,?> |
ActionExecutorEvent.getWorker() |
| Constructor and Description |
|---|
ActionExecutorEvent(ActionExecutor source,
ActionWorker<?,?> worker) |
Copyright © 2008–2020 Ultreia.io. All rights reserved.