Package com.vaadin.server
Class LegacyApplicationUIProvider
- java.lang.Object
-
- com.vaadin.server.UIProvider
-
- com.vaadin.server.LegacyApplicationUIProvider
-
- All Implemented Interfaces:
Serializable
@Deprecated public abstract class LegacyApplicationUIProvider extends UIProvider
Deprecated.As of 7.0. Used only to support LegacyApplication - will be removed when LegacyApplication support is removed.- Since:
- 7.0.0
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LegacyApplicationUIProvider()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.-
Methods inherited from class com.vaadin.server.UIProvider
getAnnotationFor, getPushMode, getPushTransport, getWidgetset, getWidgetsetInfo, isPreservedOnRefresh
-
-
-
-
Method Detail
-
getUIClass
public Class<? extends UI> getUIClass(UIClassSelectionEvent event)
Deprecated.- Specified by:
getUIClass
in classUIProvider
-
createInstance
public UI createInstance(UICreateEvent event)
Deprecated.- Overrides:
createInstance
in classUIProvider
-
getTheme
public String getTheme(UICreateEvent event)
Deprecated.Description copied from class:UIProvider
Finds the theme to use for a specific UI. If no specific theme is required,null
is returned.The default implementation checks for a @
Theme
annotation on the UI class.- Overrides:
getTheme
in classUIProvider
- Parameters:
event
- the UI create event with information about the UI and the current request.- Returns:
- the name of the theme, or
null
if the default theme should be used
-
getPageTitle
public String getPageTitle(UICreateEvent event)
Deprecated.- Overrides:
getPageTitle
in classUIProvider
-
getExistingUI
public UI getExistingUI(UIClassSelectionEvent event)
Deprecated.Hack used to return existing LegacyWindow instances without regard for out-of-sync problems.- Parameters:
event
-- Returns:
-
createApplication
protected abstract LegacyApplication createApplication()
Deprecated.
-
-