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 LegacyApplicationcreateApplication()Deprecated.UIcreateInstance(UICreateEvent event)Deprecated.UIgetExistingUI(UIClassSelectionEvent event)Deprecated.Hack used to return existing LegacyWindow instances without regard for out-of-sync problems.StringgetPageTitle(UICreateEvent event)Deprecated.StringgetTheme(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:
getUIClassin classUIProvider
-
createInstance
public UI createInstance(UICreateEvent event)
Deprecated.- Overrides:
createInstancein classUIProvider
-
getTheme
public String getTheme(UICreateEvent event)
Deprecated.Description copied from class:UIProviderFinds the theme to use for a specific UI. If no specific theme is required,nullis returned.The default implementation checks for a @
Themeannotation on the UI class.- Overrides:
getThemein classUIProvider- Parameters:
event- the UI create event with information about the UI and the current request.- Returns:
- the name of the theme, or
nullif the default theme should be used
-
getPageTitle
public String getPageTitle(UICreateEvent event)
Deprecated.- Overrides:
getPageTitlein 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.
-
-