info.magnolia.ui.api.app
Interface AppView
- All Superinterfaces:
- Serializable, View
- All Known Implementing Classes:
- DefaultAppView
public interface AppView
- extends View
AppView interface used for displaying apps and adding and removing the subApp views.
Creates an instance id when adding a new subApp view. This is used to identify the view associated with a SubAppContext
.
Nested Class Summary |
static interface |
AppView.Listener
Listens to events coming from the TabSheet. |
updateCaption
void updateCaption(String instanceId,
String caption)
setTheme
void setTheme(String value)
setAppLogo
void setAppLogo(String logo,
String bgcolor)
setAppName
void setAppName(String name)
setListener
void setListener(AppView.Listener listener)
addSubAppView
String addSubAppView(View view,
String caption,
boolean closable)
closeSubAppView
void closeSubAppView(String instanceId)
setActiveSubAppView
void setActiveSubAppView(String instanceId)
getActiveSubAppView
String getActiveSubAppView()
getSubAppViewContainer
View getSubAppViewContainer(String instanceId)
- Get the view of the container of a SubApp.
Enables working with the Tab component for example, which is necessary for attaching dialogs.
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.