@ApplicationScoped
public class TaskModel
extends java.lang.Object
| Constructor and Description |
|---|
TaskModel() |
| Modifier and Type | Method and Description |
|---|---|
SetupController |
getController()
Returns the current UI controller.
|
javafx.scene.Node |
getNode()
Returns the current UI.
|
java.lang.String |
getPosText()
Returns a text for displaying the current position.
|
SetupTask |
getTask()
Returns the current task.
|
boolean |
hasNext()
Determines if it's possible to switch to the next task.
|
boolean |
hasPrevious()
Determines if it's possible to switch to the previous task.
|
void |
init()
Initializes the task model.
|
void |
next()
Switch to the next task.
|
void |
previous()
Switch to the previous task.
|
void |
save()
Saves the current data.
|
java.util.List<java.lang.String> |
validate()
Validates the current task.
|
@PostConstruct public void init()
public javafx.scene.Node getNode()
public SetupController getController()
public SetupTask getTask()
getController().getTask().public java.lang.String getPosText()
public boolean hasPrevious()
true if a previous task is available.public boolean hasNext()
true if a next task is available.public void previous()
public void next()
public java.util.List<java.lang.String> validate()
public void save()
Copyright © 2018 fuin.org (Germany). All Rights Reserved.