public final class EditorModel extends DefaultModel<EditorModel,EditorView>
| Modifier and Type | Field and Description |
|---|---|
private Map<String,BallModel> |
ballMap
The map that stored events Nodes .
|
private List<org.jrebirth.af.api.facade.JRebirthEvent> |
eventList
The event list to display.
|
private boolean |
playing
Flag that indicate if events are played.
|
private int |
timeFrame
The current event.
|
createViewIntoJATinnerComponentList, innerComponentMap, PROCESS_WAVE_METHOD_NAME, rootComponentADD_BEHAVIOR, CALL_ANNOTATED_METHOD_ERROR, COMMAND_NOT_FOUND_ERROR, COMMAND_NOT_FOUND_MESSAGE, COMPONENT_INJECTION_FAILURE, COMPONENT_RELEASE_ERROR, CUSTOM_METHOD_NOT_FOUND, LISTEN_WAVE_TYPE, MODEL_NOT_FOUND_ERROR, MODEL_NOT_FOUND_MESSAGE, NO_WAVE_LISTENER, NOTIFIER_CONSUMES, NOTIFIER_HANDLES, SEND_WAVE, SERVICE_NOT_FOUND_ERROR, SERVICE_NOT_FOUND_MESSAGE, UNLISTEN_WAVE_TYPE, WAVE_BEAN_CREATION_ERROR, WAVE_DISPATCH_ERROR, WAVE_HANDLING_ERROR, WAVE_LOST, WAVE_LOST_CONTEXT, WAVE_SENDING_ERROR| Constructor and Description |
|---|
EditorModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
doEventProcessed(org.jrebirth.af.api.wave.Wave wave)
Called when an event is processed.
|
void |
doEventsLoaded(List<org.jrebirth.af.api.facade.JRebirthEvent> eventList,
org.jrebirth.af.api.wave.Wave wave)
Call when event are loaded.
|
void |
doNext(org.jrebirth.af.api.wave.Wave wave)
Call when event next button is pressed.
|
void |
doPlay(org.jrebirth.af.api.wave.Wave wave)
Call when event play button is pressed.
|
void |
doPrevious(org.jrebirth.af.api.wave.Wave wave)
Call when event previous button is pressed.
|
void |
doStop(org.jrebirth.af.api.wave.Wave wave)
Call when event stop button is pressed.
|
void |
doUnload(org.jrebirth.af.api.wave.Wave wave)
Unload the event list.
|
List<org.jrebirth.af.api.facade.JRebirthEvent> |
getEventList() |
private void |
hideCurrent(org.jrebirth.af.api.facade.JRebirthEvent event)
Hide the current.
|
protected void |
initModel() |
void |
registerBall(BallModel ballModel)
Register a ball model.
|
BallModel |
retrieveBall(String source)
Return the right ball model for the given class.
|
private void |
showNext(org.jrebirth.af.api.facade.JRebirthEvent event)
Show next element.
|
void |
unregisterBall(BallModel ballModel)
Unregister a ball model.
|
bind, hideView, initInnerComponents, processWave, showViewbindInternal, buildView, doHideView, doShowView, getView, initInternalModel, prepareViewattachParentListener, finalize, getRootNode, hideInternalView, ready, showInternalViewaddBehavior, addBehavior, getBehavior, getBehaviorData, hasBehavior, manageOptionalDataaddInnerComponent, attachUi, callCommand, callCommand, getInnerComponent, getInnerComponentList, getInnerComponentMap, getRootComponent, initInternalInnerComponents, listen, listen, listen, release, returnData, sendWave, sendWave, sendWave, setRootComponent, setup, unlistengetCommand, getCommand, getFirstKeyPart, getKey, getKeyPart, getListKeyPart, getLocalFacade, getModel, getModel, getSecondKeyPart, getService, getService, getThirdKeyPart, setKey, setLocalFacadeclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBehavior, addBehavior, getBehavior, getBehaviorData, hasBehavioraddInnerComponent, getInnerComponent, getRootComponent, listen, listen, listen, sendWave, sendWave, sendWave, setRootComponent, unlistengetKey, getLocalFacade, release, setKey, setLocalFacade, setupprivate int timeFrame
private List<org.jrebirth.af.api.facade.JRebirthEvent> eventList
private boolean playing
protected void initModel()
initModel in class DefaultModel<EditorModel,EditorView>public void doEventsLoaded(List<org.jrebirth.af.api.facade.JRebirthEvent> eventList, org.jrebirth.af.api.wave.Wave wave)
eventList - the lsit of events loadedwave - the wave receivedpublic void doUnload(org.jrebirth.af.api.wave.Wave wave)
wave - the wave receivedpublic void doPlay(org.jrebirth.af.api.wave.Wave wave)
wave - the wave receivedpublic void doEventProcessed(org.jrebirth.af.api.wave.Wave wave)
wave - the wave that contains data related to the event processedpublic void doNext(org.jrebirth.af.api.wave.Wave wave)
wave - the wave receivedprivate void showNext(org.jrebirth.af.api.facade.JRebirthEvent event)
event - the next event to showpublic void doPrevious(org.jrebirth.af.api.wave.Wave wave)
wave - the wave receivedprivate void hideCurrent(org.jrebirth.af.api.facade.JRebirthEvent event)
event - the event to hidepublic void doStop(org.jrebirth.af.api.wave.Wave wave)
wave - the wave receivedpublic List<org.jrebirth.af.api.facade.JRebirthEvent> getEventList()
public void registerBall(BallModel ballModel)
ballModel - the ball model to registerpublic void unregisterBall(BallModel ballModel)
ballModel - the ball model to unregisterCopyright © 2011–2016 JRebirth OSS. All rights reserved.