public class Step6bSpecialController extends StepController
Constructor and Description |
---|
Step6bSpecialController(int firstLineWithData) |
Step6bSpecialController(Step6bSpecialModel step6bSpecialModel,
int firstLineWithData) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
returns a short description of this step to be displayed
on the description panel of the main frame
|
StepModel |
getModel()
Returns the model of this step
|
StepController |
getNext()
returns a StepController of the same type (n.a → n.b) or
null when this step is finished and the next step
level can be reached (n.a → (n+1).a). |
Step6bSpecialModel |
getNextModel() |
StepController |
getNextStepController()
Returns the controller for the next step:
n.? → (n+1).a |
JPanel |
getStepPanel()
returns the corresponding step panel
|
boolean |
isFinished()
called when the Next button is pressed,
checks if all information has been collected for this step
|
boolean |
isNecessary()
checks before loading the settings if this
step is needed, if not it will be skipped
|
void |
loadSettings()
called when the step controller is newly initialized
or when the Back button is pressed, loads settings
from the model and creates the view
|
void |
saveSettings()
Sets the missing values in the step model using a method of GUI elements.
|
back, isStillValid
public Step6bSpecialController(int firstLineWithData)
public Step6bSpecialController(Step6bSpecialModel step6bSpecialModel, int firstLineWithData)
public void loadSettings()
StepController
loadSettings
in class StepController
public void saveSettings()
StepController
StepController.getNextStepController()
in BackNextController.nextButtonClicked()
saveSettings
in class StepController
public String getDescription()
StepController
getDescription
in class StepController
public JPanel getStepPanel()
StepController
getStepPanel
in class StepController
public StepController getNextStepController()
StepController
getNextStepController
in class StepController
StepController
public boolean isNecessary()
StepController
isNecessary
in class StepController
true
, if this step is required by the current
set-up, else false
.public Step6bSpecialModel getNextModel()
public boolean isFinished()
StepController
isFinished
in class StepController
public StepController getNext()
StepController
null
when this step is finished and the next step
level can be reached (n.a → (n+1).a).getNext
in class StepController
StepController
or
null
public StepModel getModel()
StepController
getModel
in class StepController
Copyright © 2011–2019 52°North. All rights reserved.