M - The class type of the model of the viewN - Any object that is a JavaFX NodeC - The class type of the controller of the viewpublic class DefaultView<M extends Model,N extends Node,C extends Controller<?,?>> extends AbstractView<M,N,C>
| Constructor and Description |
|---|
DefaultView(M model)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
hide()
Handle custom tasks to do when the view is closed or hidden.
|
protected void |
initView()
Custom method used to initialize components.
|
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.
|
buildController, buildRootNode, finalize, getController, getErrorNode, getModel, getRootNode, initInternalView, preparepublic DefaultView(M model)
model - the model of the viewprotected void initView()
initView in class AbstractView<M extends Model,N extends Node,C extends Controller<?,?>>public void start()
public void reload()
public void hide()
Copyright © 2011–2014 JRebirth OSS. All rights reserved.