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 TypeMethodDescriptionvoid
Disables the global keyboard shortcuts.void
Enables the global keyboard shortcuts.void
Enters the view.com.vaadin.ui.Component
Returns the app component, initializes it if required.getName()
Returns the view name.boolean
Returns whether this view should be cached within the user session.com.vaadin.ui.Component
Creates a new component instance.boolean
Returns whether this view needs to be restored from cache.void
Restores the view from cache.void
setRequiresRestore
(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:
true
if 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:
true
if 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
-