@Deprecated public abstract class LegacyApplicationUIProvider extends UIProvider
Constructor and Description |
---|
LegacyApplicationUIProvider()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected abstract LegacyApplication |
createApplication()
Deprecated.
|
UI |
createInstance(UICreateEvent event)
Deprecated.
|
UI |
getExistingUI(UIClassSelectionEvent event)
Deprecated.
Hack used to return existing LegacyWindow instances without regard for
out-of-sync problems.
|
String |
getPageTitle(UICreateEvent event)
Deprecated.
|
String |
getTheme(UICreateEvent event)
Deprecated.
Finds the theme to use for a specific UI.
|
Class<? extends UI> |
getUIClass(UIClassSelectionEvent event)
Deprecated.
|
getAnnotationFor, getPushMode, getPushTransport, getWidgetset, getWidgetsetInfo, isPreservedOnRefresh
public Class<? extends UI> getUIClass(UIClassSelectionEvent event)
getUIClass
in class UIProvider
public UI createInstance(UICreateEvent event)
createInstance
in class UIProvider
public String getTheme(UICreateEvent event)
UIProvider
null
is returned.
The default implementation checks for a @Theme
annotation on the
UI class.
getTheme
in class UIProvider
event
- the UI create event with information about the UI and the
current request.null
if the default theme
should be usedpublic String getPageTitle(UICreateEvent event)
getPageTitle
in class UIProvider
public UI getExistingUI(UIClassSelectionEvent event)
event
- protected abstract LegacyApplication createApplication()
Copyright © 2019 Vaadin Ltd. All rights reserved.