M - A class that implement the Model interface, this is the model of the viewN - A class that extend the JavaFX node, this is the base component of the viewC - The class type which will control this view, it must implements the controller interfacepublic interface View<M extends Model,N extends javafx.scene.Node,C extends Controller<?,?>>
| Modifier and Type | Method and Description |
|---|---|
C |
controller()
Return the view controller.
|
javafx.scene.layout.Pane |
errorNode()
Return the error javafx node.
|
void |
hide()
Handle custom tasks to do when the view is closed or hidden.
|
M |
model()
Return the view model.
|
N |
node()
Return the view root node.
|
javafx.scene.layout.Pane |
pane()
Return the view's pane that hold the root node.
|
void |
prepare()
Prepare the view by creating all visual nodes.
|
void |
reload()
Handle custom tasks to do at each rendering of the view (re-display).
|
void |
start()
Handle custom tasks to do the first time after creation of the view.
|
N node()
javafx.scene.layout.Pane pane()
javafx.scene.layout.Pane errorNode()
M model()
C controller()
void prepare()
throws CoreException
CoreException - if the preparation failsvoid start()
void reload()
void hide()
Copyright © 2011–2018 JRebirth OSS. All rights reserved.