M - the class type of the current modelO - the class type of the bindable objectpublic abstract class AbstractFXMLObjectModel<M extends Model,O> extends AbstractObjectModel<M,NullView,O>
| Modifier and Type | Field and Description |
|---|---|
private FXMLComponent |
fxmlComponent
The fxmlComponent that wrap the node and its controller.
|
private FXMLItem |
fxmlItem
The fxml resource.
|
private String |
fxmlPath
The fxml path.
|
static String |
KEYPART_FXML_PREFIX
The key part prefix used to attach the fxml path to this class.
|
static String |
KEYPART_RB_PREFIX
The key part prefix used to attach the resource bundle path to this class.
|
private String |
resourcePath
The resource path.
|
PROCESS_WAVE_METHOD_NAMECALL_ANNOTATED_METHOD_ERROR, COMMAND_NOT_FOUND_ERROR, COMMAND_NOT_FOUND_MESSAGE, COMPONENT_INJECTION_FAILURE, CUSTOM_METHOD_NOT_FOUND, LISTEN_WAVE_TYPE, MODEL_NOT_FOUND_ERROR, MODEL_NOT_FOUND_MESSAGE, NO_WAVE_LISTENER, NOTIFIER_CONSUMES, SEND_WAVE, SERVICE_NOT_FOUND_ERROR, SERVICE_NOT_FOUND_MESSAGE, UNLISTEN_WAVE_TYPE, USE_DEFAULT_WAVE_HANDLER, WAVE_BEAN_CREATION_ERROR, WAVE_DISPATCH_ERROR, WAVE_HANDLING_ERROR, WAVE_LOST, WAVE_LOST_CONTEXT, WAVE_SENDING_ERROR| Constructor and Description |
|---|
AbstractFXMLObjectModel() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindInternal()
Bind current object to view's widget.
|
protected void |
fxmlPreInitialize()
Pre init.
|
protected String |
getFXMLBundlePath()
Return the bundle path of the the properties file to load.
|
FXMLController<M,?> |
getFXMLController()
Return the Controller associated to the FXML file.
|
protected FXMLItem |
getFXMLItem()
Return the fxml item used used to build the fxml component.
|
protected String |
getFXMLPath()
Return the fxml path of the the file to load.
|
Node |
getRootNode()
Return the root node.
|
protected void |
initInternalModel()
Initialize the model.
|
buildObject, getObject, setObjectbuildView, doHideView, doShowView, getViewbind, finalize, getInnerModel, getRootModel, hideInternalView, hideView, initInnerModels, initInternalInnerModels, initModel, processWave, ready, setRootModel, showInternalView, showViewattachUi, callCommand, callCommand, getReturnCommand, getReturnWaveType, listen, listen, listen, registerCallback, registerCallback, registerCallback, release, returnData, sendWave, sendWave, setup, unlistengetCommand, getFirstKeyPart, getKey, getListKeyPart, getLocalFacade, getModel, getSecondKeyPart, getService, getThirdKeyPart, setKey, setLocalFacadeclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReturnCommand, getReturnWaveType, listen, listen, listen, registerCallback, registerCallback, registerCallback, sendWave, sendWave, unlistengetKey, getLocalFacade, release, setKey, setLocalFacade, setupattachUi, getModelgetService, returnDatacallCommand, callCommand, getCommandpublic static final String KEYPART_FXML_PREFIX
public static final String KEYPART_RB_PREFIX
private String fxmlPath
private String resourcePath
private FXMLItem fxmlItem
private FXMLComponent fxmlComponent
protected FXMLItem getFXMLItem()
FXMLItemprotected String getFXMLPath()
FXMLUtilsprotected String getFXMLBundlePath()
FXMLUtilsprotected final void initInternalModel()
throws CoreException
initInternalModel in class AbstractModel<M extends Model,NullView>CoreException - if the creation of the view failsprotected final void bindInternal()
AbstractBaseModel.bind() method to add your bindings.bindInternal in class AbstractModel<M extends Model,NullView>protected void fxmlPreInitialize()
public Node getRootNode()
getRootNode in interface ModelgetRootNode in class AbstractBaseModel<M extends Model>public FXMLController<M,?> getFXMLController()
Copyright © 2011–2014 JRebirth OSS. All rights reserved.