Uses of Interface
com.vaadin.flow.component.HasElement
Packages that use HasElement
Package
Description
-
Uses of HasElement in com.vaadin.flow.component
Subinterfaces of HasElement in com.vaadin.flow.componentModifier and TypeInterfaceDescriptioninterfaceRepresents a component that can gain and lose focus.interfaceA generic interface for components and other user interface objects that may have an aria-label and an aria-labelledby DOM attributes to set the accessible name of the component.interfaceA component to which the user can add and remove child components.interfaceA generic interface for components and other user interface objects that may be enabled or disabled.interfaceMixin interface for field components that have helper text as property and slots for inserting components.interfaceA component that supports label definition.interfaceA component which the children components are ordered, so the index of each child matters for the layout.interfaceA component which supports a placeholder.interfaceAny component implementing this interface supports setting the size of the component usingHasSize.setWidth(String),HasSize.setHeight(String),HasSize.setMaxWidth(String),HasSize.setMaxHeight(String),HasSize.setMinWidth(String), andHasSize.setMinHeight(String).interfaceRepresentsComponentwhich has class attribute and inline styles.interfaceA component that supports text content.interfaceRepresentsComponentwhich has theme attribute.interfaceHasValueAndElement<E extends HasValue.ValueChangeEvent<V>,V> A component that has a value.Classes in com.vaadin.flow.component that implement HasElementModifier and TypeClassDescriptionclassAbstractCompositeField<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.classclassA composite encapsulates aComponenttree to allow creation of new components by composing existing components.classA component which encapsulates a given HTML fragment with a single root element.classBase class for aComponentthat represents a single built-in HTML element.classBase class for aComponentthat represents a single built-in HTML element that can contain child components or text.classA component that displays a given SVG image.classA component which encapsulates the given text in a text node.classThe topmost component in any component hierarchy.static classPlaceholder view when navigating from server-side views to client-side views.Methods in com.vaadin.flow.component that return types with arguments of type HasElementModifier and TypeMethodDescriptionGets the currently active router target and parent layouts.Methods in com.vaadin.flow.component with parameters of type HasElementModifier and TypeMethodDescriptiondefault 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
Methods in com.vaadin.flow.component.internal that return types with arguments of type HasElementModifier and TypeMethodDescriptionUIInternals.getActiveRouterTargetsChain()Gets the currently active router target and parent layouts.Methods in com.vaadin.flow.component.internal with parameters of type HasElementModifier and TypeMethodDescriptiondefault 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 HasElementModifier and TypeClassDescriptionclassCustom UI for use with WebComponents served from the server.classWrapper 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 HasElementModifier and TypeMethodDescriptiondefault <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.routerModifier and TypeInterfaceDescriptioninterfaceImplementations of this interface represent a parent for a navigation target components via theRoute.layout()parameter.Classes in com.vaadin.flow.router that implement HasElementModifier and TypeClassDescriptionclassThis is abstract error view for routing exceptions.classThis is a basic default error view shown on exceptions during navigation.classThis is a default error view shown on access denied routing exceptions.classThis is a basic default error view shown on routing exceptions.classA 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 HasElementModifier and TypeMethodDescriptionstatic <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 HasElementModifier and TypeMethodDescriptionAfterNavigationEvent.getActiveChain()Get the active chain that we have after navigation.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 HasElementModifier and TypeMethodDescriptionstatic 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 HasElementModifier and TypeMethodDescriptionstatic 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 HasElementModifierConstructorDescriptionLocationChangeEvent(Router router, UI ui, NavigationTrigger trigger, Location location, List<HasElement> routeTargetChain) Creates a new location change event.