public interface ModelReady extends ServiceReady
Model instance.| Modifier and Type | Method and Description |
|---|---|
Wave |
attachUi(Class<? extends Model> modelClass,
WaveData<?>... data)
Send a wave used to display an UI model.
|
<M extends Model> |
getModel(Class<M> clazz,
Object... keyPart)
Return the model singleton or part of multiton according to key parts provided.
|
<M extends Model> |
getModel(UniqueKey<M> modelKey)
Return the model singleton or part of multiton according to
UniqueKey. |
getService, getService, returnDatacallCommand, callCommand, getCommand, getCommand<M extends Model> M getModel(Class<M> clazz, Object... keyPart)
M - a sub class of Modelclazz - the model class to findkeyPart - key parts for multiton model (in option), singleton<M extends Model> M getModel(UniqueKey<M> modelKey)
UniqueKey.M - a sub class of ModelmodelKey - the key that describe the searched Model componentWave attachUi(Class<? extends Model> modelClass, WaveData<?>... data)
modelClass - the model class to displaydata - the data to transportCopyright © 2011–2015 JRebirth OSS. All rights reserved.