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 Node,C extends Controller<?,?>>
| Modifier and Type | Method and Description |
|---|---|
C |
getController()
Return the view controller.
|
Pane |
getErrorNode()
Return the error node.
|
M |
getModel()
Return the view model.
|
N |
getRootNode()
Return the view root node.
|
void |
hide()
Handle custom tasks to do when the view is closed or hidden.
|
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 getRootNode()
Pane getErrorNode()
M getModel()
C getController()
void prepare()
throws CoreException
CoreException - if the preparation failsvoid start()
void reload()
void hide()
Copyright © 2011–2015 JRebirth OSS. All rights reserved.