Class WebComponentUI

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.UI
com.vaadin.flow.component.webcomponent.WebComponentUI
All Implemented Interfaces:
AttachNotifier, DetachNotifier, HasComponents, HasElement, HasEnabled, HasStyle, PollNotifier, RouterLayout, Serializable

public class WebComponentUI extends UI
Custom UI for use with WebComponents served from the server.

For internal use only. May be renamed or removed in a future release.

Since:
2.0
Author:
Vaadin Ltd.
See Also:
  • Field Details

  • Constructor Details

    • WebComponentUI

      public WebComponentUI()
  • Method Details

    • doInit

      public void doInit(VaadinRequest request, int uiId, String appId)
      Description copied from class: UI
      Internal initialization method, should not be overridden. This method is not declared as final because that would break compatibility with e.g. CDI.
      Overrides:
      doInit in class UI
      Parameters:
      request - the initialization request
      uiId - the id of the new ui
      appId - the application id
      See Also:
    • isNavigationSupported

      public boolean isNavigationSupported()
      Description copied from class: UI
      Returns true if this UI instance supports navigation.
      Overrides:
      isNavigationSupported in class UI
      Returns:
      true if this UI instance supports navigation, otherwise false.