T
- item type.public class ContentDetailSubApp<T> extends AbstractDetailSubApp<ContentDetailSubApp.SubAppView>
Modifier and Type | Class and Description |
---|---|
static class |
ContentDetailSubApp.DetailLocation
ItemLocation used by implementations of
ContentDetailSubApp . |
static interface |
ContentDetailSubApp.LocationContext
LocationContext.
|
static class |
ContentDetailSubApp.SubAppView |
Modifier | Constructor and Description |
---|---|
protected |
ContentDetailSubApp(SubAppContext subAppContext,
I18NAuthoringSupport<T> i18NAuthoringSupport,
DetailDescriptor<T,?> descriptor,
LocaleContext localeContext,
ValueContext<T> valueContext,
ItemDescriber<T> itemDescriber) |
Modifier and Type | Method and Description |
---|---|
String |
getCaption()
This method will try to determine the current sub app caption, the one usually displayed in the tab where the subapp opens.
|
void |
locationChanged(Location location) |
ContentDetailSubApp.SubAppView |
start(Location location) |
supportsLocation
destroy, getAppContext, getCurrentLocation, getCurrentViewReference, getIcon, getSubAppContext, getSubAppId, getView, isCloseable, onSubAppStart, onSubAppStop, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accessViewBeanStore, asVaadinComponent, bindContext, bindInstance, create, create, create, create, getComponentProvider
@Inject protected ContentDetailSubApp(SubAppContext subAppContext, I18NAuthoringSupport<T> i18NAuthoringSupport, DetailDescriptor<T,?> descriptor, LocaleContext localeContext, ValueContext<T> valueContext, ItemDescriber<T> itemDescriber)
public ContentDetailSubApp.SubAppView start(Location location)
start
in interface SubApp
start
in class BaseSubApp<ContentDetailSubApp.SubAppView>
public String getCaption()
BaseSubApp
getCaption
in interface SubApp
getCaption
in class BaseSubApp<ContentDetailSubApp.SubAppView>
public void locationChanged(Location location)
locationChanged
in interface SubApp
locationChanged
in class BaseSubApp<ContentDetailSubApp.SubAppView>
Copyright © 2020 Magnolia International Ltd.. All rights reserved.