Package org.opencms.ui
Interface I_CmsAppView
- All Superinterfaces:
 Serializable,com.vaadin.navigator.View
- All Known Implementing Classes:
 CmsAppView
Factory to create components.
- 
Method Summary
Modifier and TypeMethodDescriptionvoidDisables the global keyboard shortcuts.voidEnables the global keyboard shortcuts.voidEnters the view.com.vaadin.ui.ComponentReturns the app component, initializes it if required.getName()Returns the view name.booleanReturns whether this view should be cached within the user session.com.vaadin.ui.ComponentCreates a new component instance.booleanReturns whether this view needs to be restored from cache.voidRestores the view from cache.voidsetRequiresRestore(boolean restored) Sets the requires restore from cache flag.Methods inherited from interface com.vaadin.navigator.View
beforeLeave, enter, getViewComponent 
- 
Method Details
- 
disableGlobalShortcuts
void disableGlobalShortcuts()Disables the global keyboard shortcuts. - 
enableGlobalShortcuts
void enableGlobalShortcuts()Enables the global keyboard shortcuts. - 
enter
Enters the view.- Parameters:
 state- the state to set
 - 
getComponent
com.vaadin.ui.Component getComponent()Returns the app component, initializes it if required.- Returns:
 - the component
 
 - 
getName
Returns the view name.- Returns:
 - the view name
 
 - 
isCachable
boolean isCachable()Returns whether this view should be cached within the user session.- Returns:
 trueif the view is cachable
 - 
reinitComponent
com.vaadin.ui.Component reinitComponent()Creates a new component instance.- Returns:
 - the new component
 
 - 
requiresRestore
boolean requiresRestore()Returns whether this view needs to be restored from cache.- Returns:
 trueif this view needs to be restored from cache
 - 
restoreFromCache
void restoreFromCache()Restores the view from cache. - 
setRequiresRestore
Sets the requires restore from cache flag.- Parameters:
 restored- the requires restore from cache flag
 
 -