public final class SlideStackModel extends DefaultModel<SlideStackModel,SlideStackView>
createViewIntoJAT, hasBeenAttached
innerComponentMap, PROCESS_WAVE_METHOD_NAME, rootComponent
ADD_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
booleanItem, byteItem, characterItem, classItem, doubleItem, exceptionItem, floatItem, integerItem, longItem, shortItem, stringItem, voidItem
Constructor and Description |
---|
SlideStackModel() |
Modifier and Type | Method and Description |
---|---|
(package private) AtomicBoolean |
getMenuShown() |
protected PresentationService |
getPresentationService() |
int |
getSlidePosition() |
void |
gotoSlide(Slide slide) |
protected void |
hideView()
Perform custom action before hiding the view.
|
protected void |
initInnerComponents()
Initialize method that should wrap all creation of
InnerComponent . |
protected void |
initModel()
Initialize method to implement for adding custom processes.
|
boolean |
isReadyForSlideUpdate(boolean isReverse) |
void |
next(boolean skipSlideStep)
Got to next slide.
|
void |
previous(boolean skipSlideStep)
Go to previous slide.
|
protected void |
processWave(Wave wave)
Process the wave.
|
void |
setSlidePosition(int slidePosition) |
void |
showSlideMenu()
Display the slide menu to navigate.
|
protected void |
showView()
Perform custom user action before showing the view.
|
bind
applyStyle, bindInternal, buildView, doHideView, doShowView, initInternalModel, prepareView, view
attachParentListener, finalize, hideInternalView, node, ready, showInternalView
addBehavior, addBehavior, getBehavior, getBehaviorData, hasBehavior, manageOptionalData
attachUi, callCommand, callCommand, findInnerComponent, getInnerComponentMap, initInternalInnerComponents, listen, listen, listen, release, returnData, rootComponent, rootComponent, sendWave, sendWave, sendWave, setup, unlisten
getCommand, getCommand, getCommands, getCommands, getFirstKeyPart, getKeyPart, getListKeyPart, getModel, getModel, getModels, getModels, getSecondKeyPart, getService, getService, getServices, getServices, getThirdKeyPart, key, key, localFacade, localFacade
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addBehavior, addBehavior, getBehavior, getBehaviorData, hasBehavior
findInnerComponent, listen, listen, listen, rootComponent, rootComponent, sendWave, sendWave, sendWave, unlisten
key, key, localFacade, localFacade, release, setup
attachUi, getModel, getModel, getModels, getModels
getService, getService, getServices, getServices, returnData
callCommand, callCommand, getCommand, getCommand, getCommands, getCommands
public SlideStackModel()
AtomicBoolean getMenuShown()
protected void initModel()
AbstractBaseModel.initModel()
method to setup your model.initModel
in class DefaultModel<SlideStackModel,SlideStackView>
protected void initInnerComponents()
InnerComponent
.
It shall contain only EnhancedComponent
.addInnerComponent calls.initInnerComponents
in class DefaultModel<SlideStackModel,SlideStackView>
protected void showView()
showView
in class DefaultModel<SlideStackModel,SlideStackView>
protected void hideView()
hideView
in class DefaultModel<SlideStackModel,SlideStackView>
protected void processWave(Wave wave)
processWave
in class DefaultModel<SlideStackModel,SlideStackView>
wave
- the wave receivedprotected PresentationService getPresentationService()
public int getSlidePosition()
public void setSlidePosition(int slidePosition)
slidePosition
- The slidePosition to set.public boolean isReadyForSlideUpdate(boolean isReverse)
public void next(boolean skipSlideStep)
public void previous(boolean skipSlideStep)
public void showSlideMenu()
Copyright © 2011–2016 JRebirth OSS. All rights reserved.