Uses of Class
com.vaadin.ui.UI
-
Packages that use UI Package Description com.vaadin.annotations com.vaadin.event com.vaadin.navigator com.vaadin.server com.vaadin.server.communication com.vaadin.ui com.vaadin.util -
-
Uses of UI in com.vaadin.annotations
Methods in com.vaadin.annotations that return types with arguments of type UI Modifier and Type Method Description Class<? extends UI>
ui()
Gets the default UI class to use for the servlet. -
Uses of UI in com.vaadin.event
Methods in com.vaadin.event that return UI Modifier and Type Method Description UI
MarkedAsDirtyConnectorEvent. getUi()
Get the UI for which the connector event was firedUI
UIEvents.PollEvent. getUI()
Get theUI
instance that received the poll request.Constructors in com.vaadin.event with parameters of type UI Constructor Description MarkedAsDirtyConnectorEvent(ClientConnector source, UI ui)
PollEvent(UI ui)
-
Uses of UI in com.vaadin.navigator
Fields in com.vaadin.navigator declared as UI Modifier and Type Field Description protected UI
Navigator. ui
TheUI
bound with the Navigator.Methods in com.vaadin.navigator that return UI Modifier and Type Method Description UI
Navigator. getUI()
Methods in com.vaadin.navigator with parameters of type UI Modifier and Type Method Description protected NavigationStateManager
Navigator. createNavigationStateManager(UI ui)
Creates a navigation state manager for given UI.protected void
Navigator. init(UI ui, NavigationStateManager stateManager, ViewDisplay display)
Initializes a navigator created with the no arguments constructor.Constructors in com.vaadin.navigator with parameters of type UI Constructor Description Navigator(UI ui, NavigationStateManager stateManager, ViewDisplay display)
Creates a navigator.Navigator(UI ui, ViewDisplay display)
Creates a navigator that is tracking the active view using URI fragments of thePage
containing the given UI.Navigator(UI ui, ComponentContainer container)
Creates a navigator that is tracking the active view using URI fragments of thePage
containing the given UI and replacing the contents of aComponentContainer
with the active view.Navigator(UI ui, SingleComponentContainer container)
Creates a navigator that is tracking the active view using URI fragments of thePage
containing the given UI and replacing the contents of aSingleComponentContainer
with the active view.PushStateManager(UI ui)
Creates a new PushStateManager. -
Uses of UI in com.vaadin.server
Methods in com.vaadin.server that return UI Modifier and Type Method Description UI
LegacyApplicationUIProvider. createInstance(UICreateEvent event)
Deprecated.UI
UIProvider. createInstance(UICreateEvent event)
UI
VaadinService. findUI(VaadinRequest request)
Finds theUI
that belongs to the provided request.UI
LegacyApplicationUIProvider. getExistingUI(UIClassSelectionEvent event)
Deprecated.Hack used to return existing LegacyWindow instances without regard for out-of-sync problems.UI
AbstractClientConnector. getUI()
Finds a UI ancestor of this connector.UI
ClientConnector. getUI()
Returns the UI this connector is attached to.UI
DragAndDropService. getUI()
Deprecated.UI
LocaleService. getUI()
Retrieves the UI this service is bound to.UI
Page. getUI()
UI
VaadinSession. getUIByEmbedId(String embedId)
Finds the UI with the corresponding embed id.UI
VaadinSession. getUIById(int uiId)
Returns a UI with the given id.Methods in com.vaadin.server that return types with arguments of type UI Modifier and Type Method Description Class<? extends UI>
BootstrapResponse. getUiClass()
Gets the class of the UI that will be displayed on the generated bootstrap page.Class<? extends UI>
BootstrapHandler.BootstrapContext. getUIClass()
Gets the UI class which will be used.Class<? extends UI>
DefaultUIProvider. getUIClass(UIClassSelectionEvent event)
Class<? extends UI>
LegacyApplicationUIProvider. getUIClass(UIClassSelectionEvent event)
Deprecated.Class<? extends UI>
UICreateEvent. getUIClass()
Gets the UI class that will be created.abstract Class<? extends UI>
UIProvider. getUIClass(UIClassSelectionEvent event)
Collection<UI>
VaadinSession. getUIs()
Gets all the UIs of this session.Methods in com.vaadin.server with parameters of type UI Modifier and Type Method Description void
VaadinSession. addUI(UI ui)
Adds an initialized UI to this session.LegacyCommunicationManager.ClientCache
LegacyCommunicationManager. getClientCache(UI uI)
Deprecated.As of 7.1.ClientConnector
LegacyCommunicationManager. getConnector(UI uI, String connectorId)
Deprecated.As of 7.1.abstract InputStream
VaadinService. getThemeResourceAsStream(UI ui, String themeName, String resource)
Finds the given theme resource from the web content folder or using the class loader and returns a stream for it.InputStream
VaadinServletService. getThemeResourceAsStream(UI uI, String themeName, String resource)
boolean
VaadinService. isUIActive(UI ui)
Returns whether the given UI is active (the client-side actively communicates with the server) or whether it can be removed from the session and eventually collected.void
VaadinSession. removeUI(UI ui)
Called by the framework to remove an UI instance from the session because it has been closed.void
LegacyCommunicationManager. repaintAll(UI ui)
Deprecated.static List<ComponentSizeValidator.InvalidLayout>
ComponentSizeValidator. validateLayouts(UI ui)
Validates the layout and returns a collection of errors.Method parameters in com.vaadin.server with type arguments of type UI Modifier and Type Method Description abstract String
VaadinService. getMainDivId(VaadinSession session, VaadinRequest request, Class<? extends UI> uiClass)
Creates and returns a unique ID for the DIV where the UI is to be rendered.String
VaadinServletService. getMainDivId(VaadinSession session, VaadinRequest request, Class<? extends UI> uiClass)
Constructors in com.vaadin.server with parameters of type UI Constructor Description LocaleService(UI ui, UIState.LocaleServiceState state)
Creates a LocaleService bound to the given UI.Page(UI uI, PageState state)
Constructor parameters in com.vaadin.server with type arguments of type UI Constructor Description BootstrapFragmentResponse(BootstrapHandler handler, VaadinRequest request, VaadinSession session, Class<? extends UI> uiClass, List<org.jsoup.nodes.Node> fragmentNodes, UIProvider uiProvider)
Crate a new bootstrap fragment response.BootstrapPageResponse(BootstrapHandler handler, VaadinRequest request, VaadinSession session, Class<? extends UI> uiClass, org.jsoup.nodes.Document document, Map<String,Object> headers, UIProvider uiProvider)
Crate a new bootstrap page response.BootstrapResponse(BootstrapHandler handler, VaadinRequest request, VaadinSession session, Class<? extends UI> uiClass, UIProvider uiProvider)
Creates a new bootstrap event.BrowserWindowOpener(Class<? extends UI> uiClass)
Creates a window opener that will open windows containing the provided UI class.BrowserWindowOpener(Class<? extends UI> uiClass, String path)
Creates a window opener that will open windows containing the provided UI using the provided path.UICreateEvent(VaadinRequest request, Class<? extends UI> uiClass)
Creates a new UI create event for a given VaadinRequest and UI class but without a UI id.UICreateEvent(VaadinRequest request, Class<? extends UI> uiClass, Integer uiId)
Creates a new UI create event for a given VaadinRequest, UI class and UI id. -
Uses of UI in com.vaadin.server.communication
Methods in com.vaadin.server.communication that return UI Modifier and Type Method Description UI
AtmospherePushConnection. getUI()
Gets the UI this push connection is associated with.Methods in com.vaadin.server.communication with parameters of type UI Modifier and Type Method Description protected String
UIInitHandler. getInitialUidl(VaadinRequest request, UI uI)
Generates the initial UIDL message that can e.g.protected void
ServerRpcHandler. handleInvocation(UI ui, ClientConnector connector, ServerRpcMethodInvocation invocation)
Handles the given RPC method invocation for the given connector.protected void
ServerRpcHandler. handleInvocation(UI ui, ClientConnector connector, LegacyChangeVariablesInvocation legacyInvocation)
Handles the given Legacy variable change RPC method invocation for the given connector.protected void
ServerRpcHandler. handleInvocations(UI ui, int lastSyncIdSeenByClient, elemental.json.JsonArray invocationsData)
Processes invocations data received from the client.void
ServerRpcHandler. handleRpc(UI ui, Reader reader, VaadinRequest request)
Reads JSON containing zero or more serialized RPC calls (including legacy variable changes) and executes the calls.void
ServerRpcHandler. handleRpc(UI ui, String message, VaadinRequest request)
Reads JSON containing zero or more serialized RPC calls (including legacy variable changes) and executes the calls.void
ClientRpcWriter. write(UI ui, Writer writer)
Writes a JSON object containing all pending client RPC invocations in the given UI.void
ConnectorHierarchyWriter. write(UI ui, Writer writer, Set<String> stateUpdateConnectors)
Writes a JSON object containing the connector hierarchy (parent-child mappings) of the dirty connectors in the given UI.void
ConnectorTypeWriter. write(UI ui, Writer writer, PaintTarget target)
Writes a JSON object containing connector-ID-to-type-ID mappings for each dirty Connector in the given UI.void
LegacyUidlWriter. write(UI ui, Writer writer, PaintTarget target)
Writes a JSON array containing the changes of all dirtyLegacyComponent
s in the given UI.void
MetadataWriter. write(UI ui, Writer writer, boolean repaintAll, boolean async, SystemMessages messages)
Writes a JSON object containing metadata related to the given UI.void
ResourceWriter. write(UI ui, Writer writer, JsonPaintTarget target)
Writes a JSON object containing registered resources.Set<String>
SharedStateWriter. write(UI ui, Writer writer)
Writes a JSON object containing the pending state changes of the dirty connectors of the given UI.void
UidlWriter. write(UI ui, Writer writer, boolean async)
Writes a JSON object containing all pending changes to the given UI.Constructors in com.vaadin.server.communication with parameters of type UI Constructor Description AtmospherePushConnection(UI ui)
-
Uses of UI in com.vaadin.ui
Subclasses of UI in com.vaadin.ui Modifier and Type Class Description class
LegacyWindow
Deprecated.Methods in com.vaadin.ui that return UI Modifier and Type Method Description static UI
UI. getCurrent()
Gets the currently used UI.UI
Component. getUI()
Gets the UI the component is attached to.UI
UI. getUI()
Overridden to return a value instead of referring to the parent.Methods in com.vaadin.ui with parameters of type UI Modifier and Type Method Description static void
UI. setCurrent(UI ui)
Sets the thread local for the current UI.Constructors in com.vaadin.ui with parameters of type UI Constructor Description ConnectorTracker(UI uI)
Creates a new ConnectorTracker for the given uI. -
Uses of UI in com.vaadin.util
Methods in com.vaadin.util with parameters of type UI Modifier and Type Method Description static Map<Class<?>,CurrentInstance>
CurrentInstance. setCurrent(UI ui)
Sets current instances for the UI and all related classes.
-