|
ehsbe CommonsTM Version 1.1.0rc3 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Task | |
---|---|
com.ehsbe.commons.gui.wizard |
Uses of Task in com.ehsbe.commons.gui.wizard |
---|
Methods in com.ehsbe.commons.gui.wizard that return Task | |
---|---|
Task |
TaskControl.get()
Get the current step excecuted. |
Task |
TaskControl.getOrigin()
Get the origin of all tasks, controlled by this instance. |
Task |
Task.getParent()
Get task, which owns this sub task. |
Task |
Task.getSubTask(int index)
Get the sub task at the specified index. |
static Task |
Task.getUndeterminedTask(Locale locale)
Create a default undetermined task. |
Task |
TaskControl.next(boolean forward)
Get the next task, which needs to be executed. |
static Task |
TaskControl.next(Task task,
Task stop)
Get the next task which needs to be executed wrt. the given task. |
Task |
TaskControl.previous(boolean backward)
Get the task, which has been executed before this task. |
Methods in com.ehsbe.commons.gui.wizard that return types with arguments of type Task | |
---|---|
List<Task> |
TaskControl.getPath()
Get the path from the root task aka origin down to the current active task. |
List<Task> |
TaskControl.getPath(Task task)
Get the path from the root task aka origin down to the given task. |
HashMap<Task,HashMap<? extends Object,? extends Object>> |
Wizard.getSettings()
Get a reference to all the settings gathered in the wizard pages so far. |
List<Task> |
Task.getSubTasks()
Get the sub tasks, which need to be executed to finish this task. |
Methods in com.ehsbe.commons.gui.wizard with parameters of type Task | |
---|---|
static JDialog |
Wizard.createDialog(Task main,
boolean sidebar,
boolean help,
JFrame owner)
Create a new modal, resizable wizard dialog. |
void |
TaskControl.finished(Task task)
Callback for the task being executed in response to its finish(HashMap, TaskControl, NavMode) to indicate, that it
is ready and switching to the next action indicated by the user is ok. |
static int |
TaskControl.getDepth(Task task,
Task origin)
Get the path lenght to the given task wrt. to its origin. |
protected JComponent |
ExecServiceAdapter.getEmptyPanel(Task task)
Just in case we have no page to display. |
List<Task> |
TaskControl.getPath(Task task)
Get the path from the root task aka origin down to the given task. |
int |
Task.indexOf(Task task)
Get the index of the given sub task. |
static Task |
TaskControl.next(Task task,
Task stop)
Get the next task which needs to be executed wrt. the given task. |
int |
Task.remove(Task task)
Remove the given sub task. |
void |
TaskControl.setBusy(Task task,
boolean busy)
Callback for the task being executed to indicate its busyness. |
void |
TaskControl.setNavMode(Task task,
EnumSet<NavMode> mode)
Calback for the currently executing task to inform about state changes, which caused a change in currently allowed navigation modes. |
void |
Task.setParent(Task task)
Set the task, which owns this sub task. |
void |
TaskControl.taskListChanged(Task task)
Facility to let the task in action notify interested parties, that the task list to whom it belongs to, was modified. |
protected void |
Wizard.updateBanner(Task t)
update banner image, title and description. |
protected void |
Wizard.updateSidebar(Task t)
update sidebar background image . |
Method parameters in com.ehsbe.commons.gui.wizard with type arguments of type Task | |
---|---|
void |
Task.addTasks(int index,
List<Task> newTasks)
Insert the list of new sub tasks to the current list of tasks at the given position. |
JComponent |
ExecService.execute(HashMap<Task,HashMap<? extends Object,? extends Object>> settings,
TaskControl control,
EnumSet<NavMode> initalMode)
Create the UI aka wizard page, which should be displayed and do the work described by the task. |
JComponent |
ExecServiceAdapter.execute(HashMap<Task,HashMap<? extends Object,? extends Object>> settings,
TaskControl control,
EnumSet<NavMode> initalMode)
Create the UI aka wizard page, which should be displayed and do the work described by the task. |
JComponent |
Task.execute(HashMap<Task,HashMap<? extends Object,? extends Object>> settings,
TaskControl control,
EnumSet<NavMode> initalMode)
Create the UI aka wizard page, which should be displayed and do the work described by the task. |
void |
ExecService.finish(HashMap<Task,HashMap<? extends Object,? extends Object>> settings,
TaskControl control,
NavMode mode)
Calculate final results for this task, cleanup resources and notify the controller, when all work has been done. |
void |
ExecServiceAdapter.finish(HashMap<Task,HashMap<? extends Object,? extends Object>> settings,
TaskControl control,
NavMode mode)
Calculate final results for this task, cleanup resources and notify the controller, when all work has been done. |
void |
Task.finish(HashMap<Task,HashMap<? extends Object,? extends Object>> settings,
TaskControl control,
NavMode mode)
Calculate final results for this task, cleanup resources and notify the controller, when all work has been done. |
void |
TaskControl.finishTask(HashMap<Task,HashMap<? extends Object,? extends Object>> settings,
NavMode nextMode)
Usually called by the wizard to indicate, that it intents to switch to another state. |
JComponent |
TaskControl.getPage(HashMap<Task,HashMap<? extends Object,? extends Object>> settings,
EnumSet<NavMode> initalMode)
Create the wizard page, which needs to be shown for the current task in action. |
void |
TaskControl.prepare(HashMap<Task,HashMap<? extends Object,? extends Object>> settings)
Prepare the task, so that it has all information required to create the UI for information gathering and execution. |
void |
ExecService.prepare(HashMap<Task,HashMap<? extends Object,? extends Object>> settings,
TaskControl control)
Prepare all data required to setup the UI aka wizard page for a task. |
void |
ExecServiceAdapter.prepare(HashMap<Task,HashMap<? extends Object,? extends Object>> settings,
TaskControl control)
Prepare all data required to setup the UI aka wizard page for a task. |
void |
Task.prepare(HashMap<Task,HashMap<? extends Object,? extends Object>> settings,
TaskControl control)
Prepare all data required to setup the UI aka wizard page for a task. |
void |
Task.replace(int fromIndex,
int toIndex,
List<Task> newTasks)
Replace a range of sub tasks with the given list of new subtasks. |
void |
Task.set(List<Task> newTasks)
Replaces the currently sub tasks set with the given one. |
void |
TaskControl.showHelp(HashMap<Task,HashMap<? extends Object,? extends Object>> settings,
JComponent parent)
Shows the help for the current task in action, if its hasHelp()
returns true . |
void |
ExecService.showHelp(HashMap<Task,HashMap<? extends Object,? extends Object>> settings,
TaskControl control,
JComponent parent)
Show the help for this task. |
void |
ExecServiceAdapter.showHelp(HashMap<Task,HashMap<? extends Object,? extends Object>> settings,
TaskControl control,
JComponent parent)
Show the help for this task. |
void |
Task.showHelp(HashMap<Task,HashMap<? extends Object,? extends Object>> settings,
TaskControl control,
JComponent parent)
Show the help for this task. |
Constructors in com.ehsbe.commons.gui.wizard with parameters of type Task | |
---|---|
Task(String id,
Translator translator,
Task... tasks)
Create a task which has sub tasks, which need to be completed subsequently to get this task finished. |
|
TaskControl(Task root)
Create a new controller which manages the given task. |
|
Wizard(Task main,
boolean sidebar,
boolean help)
Create a new wizard and initialize its main UI elements. |
|
Wizard(Task main,
TaskControl control,
boolean sidebar,
boolean help)
Create a new wizard, its default task control and initialize its main UI elements. |
Constructor parameters in com.ehsbe.commons.gui.wizard with type arguments of type Task | |
---|---|
Task(String id,
Translator translator,
List<Task> tasks)
Create a task which has sub tasks, which need to be completed subsequently to get this task finished. |
|
ehsbe CommonsTM Version 1.1.0rc3 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |