info.magnolia.ui.framework.app
Class DefaultAppView
java.lang.Object
info.magnolia.ui.framework.app.DefaultAppView
- All Implemented Interfaces:
- AppView, View, Serializable
public class DefaultAppView
- extends Object
- implements AppView
View used to give all apps a uniform look-and-feel.
- See Also:
AppView
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAppView
public DefaultAppView()
addSubAppView
public String addSubAppView(View view,
String caption,
boolean closable)
- Specified by:
addSubAppView
in interface AppView
setActiveSubAppView
public void setActiveSubAppView(String instanceId)
- Specified by:
setActiveSubAppView
in interface AppView
getActiveSubAppView
public String getActiveSubAppView()
- Specified by:
getActiveSubAppView
in interface AppView
updateCaption
public void updateCaption(String instanceId,
String caption)
- Specified by:
updateCaption
in interface AppView
setTheme
public void setTheme(String themeName)
- Specified by:
setTheme
in interface AppView
setListener
public void setListener(AppView.Listener listener)
- Specified by:
setListener
in interface AppView
asVaadinComponent
public MagnoliaTabSheet asVaadinComponent()
- Description copied from interface:
View
- Returns the Vaadin component managed by this view.
- Specified by:
asVaadinComponent
in interface View
getSubAppViewContainer
public View getSubAppViewContainer(String instanceId)
- Description copied from interface:
AppView
- Get the view of the container of a SubApp.
Enables working with the Tab component for example, which is necessary for attaching dialogs.
- Specified by:
getSubAppViewContainer
in interface AppView
closeSubAppView
public void closeSubAppView(String instanceId)
- Specified by:
closeSubAppView
in interface AppView
setAppLogo
public void setAppLogo(String logo,
String bgcolor)
- Specified by:
setAppLogo
in interface AppView
setAppName
public void setAppName(String name)
- Specified by:
setAppName
in interface AppView
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.