public class AdmincentralAppView extends Object implements AppView
AppView
,
Serialized FormAppView.Listener
Constructor and Description |
---|
AdmincentralAppView(info.magnolia.event.EventBus eventBus) |
Modifier and Type | Method and Description |
---|---|
String |
addSubAppView(View view,
String caption,
boolean closable) |
String |
addSubAppView(View view,
String caption,
String icon,
boolean closable) |
com.vaadin.ui.TabSheet |
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) |
void |
setAppLogo(String logo,
String bgcolor) |
void |
setAppName(String appName) |
void |
setListener(AppView.Listener listener) |
void |
setTabCaptionsAsHtml() |
void |
setTheme(String themeName) |
void |
updateCaption(String instanceId,
String caption) |
@Inject public AdmincentralAppView(@Named(value="admincentral") info.magnolia.event.EventBus eventBus)
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 View getSubAppViewContainer(String instanceId)
AppView
getSubAppViewContainer
in interface AppView
public void closeSubAppView(String instanceId)
closeSubAppView
in interface AppView
public void setAppLogo(String logo)
setAppLogo
in interface AppView
public void setAppLogo(String logo, String bgcolor)
setAppLogo
in interface AppView
public void setAppName(String appName)
setAppName
in interface AppView
public void setTabCaptionsAsHtml()
setTabCaptionsAsHtml
in interface AppView
public com.vaadin.ui.TabSheet asVaadinComponent()
View
asVaadinComponent
in interface View
Copyright © 2021 Magnolia International Ltd.. All rights reserved.