Package org.opencms.ui.apps.cacheadmin
Class CmsCacheViewApp
java.lang.Object
org.opencms.ui.apps.A_CmsWorkplaceApp
org.opencms.ui.apps.cacheadmin.CmsCacheViewApp
- All Implemented Interfaces:
I_CmsWorkplaceApp
Class for the app which shows the content of caches.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencms.ui.apps.A_CmsWorkplaceApp
A_CmsWorkplaceApp.NavEntry
-
Field Summary
Fields inherited from class org.opencms.ui.apps.A_CmsWorkplaceApp
m_infoLayout, m_rootLayout, m_uiContext, PARAM_ASSIGN, PARAM_SEPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected LinkedHashMap<String,
String> getBreadCrumbForState
(String state) Returns the current bread crumb entries in an ordered map.protected com.vaadin.ui.Component
getComponentForState
(String state) Returns the app component for the given state.protected static CmsInfoButton
Creates in info button for flex cache statistics.protected static CmsInfoButton
Creates in info button for image cache statistics.static CmsInfoButton
Creates in info button for java cache statistics.static CmsInfoButton
Creates in info button for java cache statistics.static com.vaadin.v7.ui.ProgressBar
getProgressBar
(float value) Gets a Progressbar with css style set.protected List<A_CmsWorkplaceApp.NavEntry>
getSubNavEntries
(String state) Returns the sub navigation entries.Methods inherited from class org.opencms.ui.apps.A_CmsWorkplaceApp
addParamToState, addSubNavEntry, getLastPathLevel, getOfflineCmsObject, getParamFromState, getParamsFromState, initUI, onStateChange, openSubView, removeParamsFromState, setBreadCrumbEntries, updateBreadCrumb, updateSubNav
-
Constructor Details
-
CmsCacheViewApp
public constructor.- Parameters:
mode
- of app
-
-
Method Details
-
getJavaStatisticButton
Creates in info button for java cache statistics.- Returns:
- CmsInfoButton
-
getJavaStatisticButton
Creates in info button for java cache statistics.- Parameters:
memory
- memory object- Returns:
- CmsInfoButton
-
getProgressBar
Gets a Progressbar with css style set.- Parameters:
value
- of the bar- Returns:
- vaadin ProgressBar
-
getFlexStatisticButton
Creates in info button for flex cache statistics.- Returns:
- CmsInfoButton
-
getImageStatisticButton
Creates in info button for image cache statistics.- Returns:
- CmsInfoButton
-
getBreadCrumbForState
Description copied from class:A_CmsWorkplaceApp
Returns the current bread crumb entries in an ordered map.- Specified by:
getBreadCrumbForState
in classA_CmsWorkplaceApp
- Parameters:
state
- the current state- Returns:
- bread crumb entry name by state, in case the state is empty, the entry will be disabled
- See Also:
-
getComponentForState
Description copied from class:A_CmsWorkplaceApp
Returns the app component for the given state.- Specified by:
getComponentForState
in classA_CmsWorkplaceApp
- Parameters:
state
- the state to render- Returns:
- the app component
- See Also:
-