Uses of Interface
com.vaadin.flow.component.HasElement
-
Packages that use HasElement Package Description com.vaadin.flow.component com.vaadin.flow.component.internal com.vaadin.flow.component.webcomponent com.vaadin.flow.di com.vaadin.flow.router -
-
Uses of HasElement in com.vaadin.flow.component
Subinterfaces of HasElement in com.vaadin.flow.component Modifier and Type Interface Description interfaceFocusable<T extends Component>Represents a component that can gain and lose focus.interfaceHasAriaLabelA generic interface for components and other user interface objects that may have an aria-label property to set the accessible name of the component.interfaceHasComponentsA component to which the user can add and remove child components.interfaceHasEnabledA generic interface for components and other user interface objects that may be enabled or disabled.interfaceHasHelperMixin interface for field components that have helper text as property and slots for inserting components.interfaceHasLabelA component that supports label definition.interfaceHasOrderedComponentsA component which the children components are ordered, so the index of each child matters for the layout.interfaceHasSizeAny component implementing this interface supports setting the size of the component usingHasSize.setWidth(String)andHasSize.setHeight(String).interfaceHasStyleRepresentsComponentwhich has class attribute and inline styles.interfaceHasTextA component that supports text content.interfaceHasThemeRepresentsComponentwhich has theme attribute.interfaceHasValueAndElement<E extends HasValue.ValueChangeEvent<V>,V>A component that has a value.Classes in com.vaadin.flow.component that implement HasElement Modifier and Type Class Description classAbstractCompositeField<C extends Component,S extends AbstractCompositeField<C,S,T>,T>An abstract field class that is backed by a composite component.classAbstractField<C extends AbstractField<C,T>,T>An abstract implementation of a field, or aComponentallowing user input.classAbstractSinglePropertyField<C extends AbstractField<C,T>,T>Abstract field that is based on a single element property.classComponentclassComposite<T extends Component>A composite encapsulates aComponenttree to allow creation of new components by composing existing components.classHtmlA component which encapsulates a given HTML fragment with a single root element.classHtmlComponentBase class for aComponentthat represents a single built-in HTML element.classHtmlContainerBase class for aComponentthat represents a single built-in HTML element that can contain child components or text.classTextA component which encapsulates the given text in a text node.classUIThe topmost component in any component hierarchy.Methods in com.vaadin.flow.component with parameters of type HasElement Modifier and Type Method Description default GPropertyDescriptor. get(HasElement hasElement)Gets the property value for the given component.static RouterComponentUtil. getRouter(HasElement component)Gets the router instance for the given component.default voidPropertyDescriptor. set(HasElement hasElement, S value)Sets the property value for the given component. -
Uses of HasElement in com.vaadin.flow.component.internal
Classes in com.vaadin.flow.component.internal that implement HasElement Modifier and Type Class Description classJavaScriptBootstrapUICustom UI forJavaScriptBootstrapHandler.static classJavaScriptBootstrapUI.ClientViewPlaceholderPlaceholder view when navigating from server-side views to client-side views.Methods in com.vaadin.flow.component.internal that return types with arguments of type HasElement Modifier and Type Method Description List<HasElement>UIInternals. getActiveRouterTargetsChain()Gets the currently active router target and parent layouts.Methods in com.vaadin.flow.component.internal with parameters of type HasElement Modifier and Type Method Description default voidUIInternalUpdater. updateRoot(UI ui, HasElement oldRoot, HasElement newRoot)Update root element of the given UI. -
Uses of HasElement in com.vaadin.flow.component.webcomponent
Classes in com.vaadin.flow.component.webcomponent that implement HasElement Modifier and Type Class Description classWebComponentUICustom UI for use with WebComponents served from the server.classWebComponentWrapperWrapper component for a web component that exposesClientCallablemethods that the client-side components expect to be available. -
Uses of HasElement in com.vaadin.flow.di
Methods in com.vaadin.flow.di with type parameters of type HasElement Modifier and Type Method Description default <T extends HasElement>
TInstantiator. createRouteTarget(Class<T> routeTargetType, NavigationEvent event)Creates an instance of a navigation target or router layout. -
Uses of HasElement in com.vaadin.flow.router
Subinterfaces of HasElement in com.vaadin.flow.router Modifier and Type Interface Description interfaceRouterLayoutImplementations of this interface represent a parent for a navigation target components via theRoute.layout()parameter.Classes in com.vaadin.flow.router that implement HasElement Modifier and Type Class Description classInternalServerErrorThis is a basic default error view shown on exceptions during navigation.classRouteNotFoundErrorThis is a basic default error view shown on routing exceptions.classRouterLinkA link that handles navigation internally usingRouterinstead of loading a new page in the browser.Methods in com.vaadin.flow.router with type parameters of type HasElement Modifier and Type Method Description static <C extends HasElement>
HighlightCondition<C>HighlightConditions. always()Always highlight.static <C extends HasElement>
HighlightCondition<C>HighlightConditions. locationPrefix(String prefix)Highlight if the navigation path starts withprefix.static <C extends HasElement>
HighlightCondition<C>HighlightConditions. never()Never highlight.static <C extends HasElement>
HighlightAction<C>HighlightActions. none()An action which does nothing, regardless of the highlight state.static <C extends HasElement>
HighlightAction<C>HighlightActions. toggleAttribute(String attribute)An action which toggles the target'sattributebased on its highlight state.static <C extends HasElement>
HighlightAction<C>HighlightActions. toggleTheme(String theme)An action which togglesthemeon the target based on its highlight state.Methods in com.vaadin.flow.router that return types with arguments of type HasElement Modifier and Type Method Description List<HasElement>AfterNavigationEvent. getActiveChain()Get the active chain that we have after navigation.List<HasElement>LocationChangeEvent. getRouteTargetChain()Gets the chain of route targets that will be nested inside the UI, starting from the most deeply nested component.Methods in com.vaadin.flow.router with parameters of type HasElement Modifier and Type Method Description static List<BeforeEnterObserver>EventUtil. collectBeforeEnterObserversFromChainElement(HasElement element, Collection<? extends HasElement> childrenExclusions)Collect before enter observer instances in theelement's hierarchy.default voidRouterLayout. removeRouterLayoutContent(HasElement oldContent)Removes content that should no longer be shown in this router layout.default voidRouterLayout. showRouterLayoutContent(HasElement content)Shows the content of the layout which is the router target component annotated with a@Route.Method parameters in com.vaadin.flow.router with type arguments of type HasElement Modifier and Type Method Description static List<BeforeEnterObserver>EventUtil. collectBeforeEnterObservers(Collection<? extends HasElement> oldChain, Collection<? extends HasElement> newChain)Collect before enter observer instances based on what will be attached when a new view chain is applied.static List<BeforeEnterObserver>EventUtil. collectBeforeEnterObserversFromChain(Collection<? extends HasElement> chain, Collection<? extends HasElement> childrenExclusions)Collect before enter observer instances based on what will be attached when a new view chain is applied.static List<BeforeEnterObserver>EventUtil. collectBeforeEnterObserversFromChainElement(HasElement element, Collection<? extends HasElement> childrenExclusions)Collect before enter observer instances in theelement's hierarchy.static List<LocaleChangeObserver>EventUtil. collectLocaleChangeObservers(List<HasElement> components)Collect all Components implementingLocaleChangeObserverconnected to the tree of all given Components in list.static voidEventUtil. informLocaleChangeObservers(UI ui, List<HasElement> components)Inform components implementingLocaleChangeObserverabout locale change.Constructor parameters in com.vaadin.flow.router with type arguments of type HasElement Constructor Description LocationChangeEvent(Router router, UI ui, NavigationTrigger trigger, Location location, List<HasElement> routeTargetChain)Creates a new location change event.
-