public class DefaultAppView extends Object implements AppView
AppView
,
Serialized FormAppView.Listener
Constructor and Description |
---|
DefaultAppView() |
Modifier and Type | Method and Description |
---|---|
String |
addSubAppView(View view,
String caption,
boolean closable) |
String |
addSubAppView(View view,
String caption,
String icon,
boolean closable) |
MagnoliaTabSheet |
asVaadinComponent()
Returns the Vaadin component managed by this view.
|
void |
closeSubAppView(String instanceId) |
String |
getActiveSubAppView() |
View |
getSubAppViewContainer(String instanceId)
Get the view of the container of a SubApp.
|
void |
setActiveSubAppView(String instanceId) |
void |
setAppLogo(String logo,
String bgcolor) |
void |
setAppName(String name) |
void |
setListener(AppView.Listener listener) |
void |
setTheme(String themeName) |
void |
updateCaption(String instanceId,
String caption) |
public String addSubAppView(View view, String caption, boolean closable)
addSubAppView
in interface AppView
public String addSubAppView(View view, String caption, String icon, boolean closable)
addSubAppView
in interface AppView
public void setActiveSubAppView(String instanceId)
setActiveSubAppView
in interface AppView
public String getActiveSubAppView()
getActiveSubAppView
in interface AppView
public void updateCaption(String instanceId, String caption)
updateCaption
in interface AppView
public void setListener(AppView.Listener listener)
setListener
in interface AppView
public MagnoliaTabSheet asVaadinComponent()
View
asVaadinComponent
in interface View
public View getSubAppViewContainer(String instanceId)
AppView
getSubAppViewContainer
in interface AppView
public void closeSubAppView(String instanceId)
closeSubAppView
in interface AppView
public void setAppLogo(String logo, String bgcolor)
setAppLogo
in interface AppView
public void setAppName(String name)
setAppName
in interface AppView
Copyright © 2017 Magnolia International Ltd.. All rights reserved.