M - The model responsible of the viewV - The view hosting the FXML componentpublic abstract class AbstractFXMLController<M extends Model,V extends View<M,?,?>> extends Object implements FXMLController<M,V>
| Modifier and Type | Field and Description |
|---|---|
private static JRLogger |
LOGGER
The class logger.
|
private M |
model
The linked model that manage the view that load this FXML component or the root model for included fxml.
|
| Constructor and Description |
|---|
AbstractFXMLController() |
| Modifier and Type | Method and Description |
|---|---|
M |
getModel()
Return the linked model that manage the view.
|
V |
getView()
Return the linked view that load this component.
|
void |
initialize(URL url,
ResourceBundle resource) |
void |
setModel(M model)
Set the model that manage the view that load this FXML component.
|
private static final JRLogger LOGGER
public void setModel(M model)
public M getModel()
public V getView()
public void initialize(URL url, ResourceBundle resource)
initialize in interface InitializableCopyright © 2011–2014 JRebirth OSS. All rights reserved.