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