Uses of Interface
com.vaadin.ui.Component
-
-
Uses of Component in com.vaadin.data
Subinterfaces of Component in com.vaadin.data Modifier and Type Interface Description interfaceHasDataProvider<T>A generic interface for listing components that use a data provider for showing data.interfaceHasFilterableDataProvider<T,F>A generic interface for listing components that use a filterable data provider for showing data.interfaceHasHierarchicalDataProvider<T>A generic interface for hierarchical listing components that use a data provider for showing data.interfaceHasItems<T>A component that displays a collection of items.Methods in com.vaadin.data that return Component Modifier and Type Method Description ComponentHasValue.ValueChangeEvent. getComponent()Returns the component.Methods in com.vaadin.data that return types with arguments of type Component Modifier and Type Method Description Optional<Component>ValueContext. getComponent()Returns anOptionalfor theComponentrelated to value conversion.Constructors in com.vaadin.data with parameters of type Component Constructor Description ValueChangeEvent(Component component, HasValue<V> hasValue, V oldValue, boolean userOriginated)Creates a newValueChangeevent containing the given value, originating from the given source component.ValueContext(Component component)Constructor forValueContext.ValueContext(Component component, HasValue<?> hasValue)Constructor forValueContext.ValueContext(Component component, HasValue<?> hasValue, Locale locale)Constructor forValueContext. -
Uses of Component in com.vaadin.event
Fields in com.vaadin.event declared as Component Modifier and Type Field Description protected ComponentActionManager. viewerMethods in com.vaadin.event with type parameters of type Component Modifier and Type Method Description <T extends Component & Action.Container & VariableOwner>
voidActionManager. setViewer(T viewer)Methods in com.vaadin.event that return Component Modifier and Type Method Description ComponentLayoutEvents.LayoutClickEvent. getChildComponent()Returns the direct child component of the layout which contains the clicked component.ComponentLayoutEvents.LayoutClickEvent. getClickedComponent()Returns the component that was clicked, which is somewhere inside the parent layout on which the listener was registered.ComponentTransferable. getSourceComponent()Deprecated.ComponentTransferableImpl. getSourceComponent()Constructors in com.vaadin.event with parameters of type Component Constructor Description BlurEvent(Component source)ClickEvent(Component source, MouseEventDetails mouseEventDetails)CollapseEvent(Component source, T collapsedItem, boolean userOriginated)Construct a collapse event.ContextClickEvent(Component source, MouseEventDetails mouseEventDetails)DoubleClickEvent(Component source)ExpandEvent(Component source, T expandedItem, boolean userOriginated)Construct an expand event.FocusAndBlurServerRpcDecorator(Component component, SerializableConsumer<Component.Event> eventHandler)Create a new decorator instance.FocusAndBlurServerRpcImpl(Component component)FocusEvent(Component source)LayoutClickEvent(Component source, MouseEventDetails mouseEventDetails, Component clickedComponent, Component childComponent)SortEvent(Component source, List<T> sortOrder, boolean userOriginated)Creates a new sort order change event with a sort order list.TransferableImpl(Component sourceComponent, Map<String,Object> rawVariables) -
Uses of Component in com.vaadin.event.dd
Subinterfaces of Component in com.vaadin.event.dd Modifier and Type Interface Description interfaceDragSourceDeprecated.Replaced in 8.1 byDragSourceExtensioninterfaceDropTargetDeprecated.Replaced in 8.1 byDropTargetExtension. -
Uses of Component in com.vaadin.event.dd.acceptcriteria
Constructors in com.vaadin.event.dd.acceptcriteria with parameters of type Component Constructor Description SourceIs(Component... component) -
Uses of Component in com.vaadin.event.selection
Constructors in com.vaadin.event.selection with parameters of type Component Constructor Description MultiSelectionEvent(Component component, MultiSelect<T> source, Set<T> oldSelection, boolean userOriginated)Creates a new selection change event in a multiselect component.SingleSelectionEvent(Component component, SingleSelect<T> source, T oldSelection, boolean userOriginated)Creates a new selection change event in a component. -
Uses of Component in com.vaadin.navigator
Classes in com.vaadin.navigator that implement Component Modifier and Type Class Description static classNavigator.EmptyViewEmpty view component.Methods in com.vaadin.navigator that return Component Modifier and Type Method Description default ComponentView. getViewComponent()Gets the component to show when navigating to the view. -
Uses of Component in com.vaadin.server
Methods in com.vaadin.server that return Component Modifier and Type Method Description static ComponentDefaultErrorHandler. findComponent(Connector connector)Finds the nearest component by traversing upwards in the hierarchy.Methods in com.vaadin.server with parameters of type Component Modifier and Type Method Description voidJsonPaintTarget. addAttribute(String name, Component value)voidPaintTarget. addAttribute(String name, Component value)Adds a Component type attribute.voidJsonPaintTarget. addVariable(VariableOwner owner, String name, Component value)voidPaintTarget. addVariable(VariableOwner owner, String name, Component value)Adds a Component type variable.static booleanComponentSizeValidator. checkHeights(Component component)static booleanComponentSizeValidator. checkWidths(Component component)voidJsonPaintTarget. endPaintable(Component paintable)voidPaintTarget. endPaintable(Component paintable)Prints paintable element end tag.static LocaleServletPortletHelper. findLocale(Component component, VaadinSession session, VaadinRequest request)Deprecated.Helper to find the most most suitable Locale.static booleanLegacyCommunicationManager. isComponentVisibleToClient(Component child)Deprecated.As of 7.1.static voidResponsive. makeResponsive(Component... components)Enable responsive width and height range styling for the target component or UI instance.static voidLegacyPaint. paint(Component component, PaintTarget target)Paints the Paintable into a UIDL stream.static booleanComponentSizeValidator. parentCanDefineHeight(Component component)static booleanComponentSizeValidator. parentCanDefineWidth(Component component)PaintTarget.PaintStatusJsonPaintTarget. startPaintable(Component connector, String tagName)PaintTarget.PaintStatusPaintTarget. startPaintable(Component paintable, String tag)Prints element start tag of a paintable section.static List<ComponentSizeValidator.InvalidLayout>ComponentSizeValidator. validateComponentRelativeSizes(Component component, List<ComponentSizeValidator.InvalidLayout> errors, ComponentSizeValidator.InvalidLayout parent)Recursively checks given component and its subtree for invalid layout setups.Constructors in com.vaadin.server with parameters of type Component Constructor Description InvalidLayout(Component component, boolean height, boolean width) -
Uses of Component in com.vaadin.ui
Subinterfaces of Component in com.vaadin.ui Modifier and Type Interface Description static interfaceComponent.FocusableA sub-interface implemented by components that can obtain input focus.interfaceComponentContainerA special type of parent which allows the user to add and remove components to it.interfaceHasChildMeasurementHintComponent with layout measuring hint.interfaceHasComponentsinterfaceHasValueChangeModeImplemented by components which support value change modes.interfaceLayoutExtension to theComponentContainerinterface which adds the layouting control to the elements in the container.interfaceLegacyComponentDeprecated.As of 7.0.interfaceSelectiveRendererInterface implemented byHasComponentsimplementors that wish to dynamically be able to prevent given child components from reaching the client side.interfaceSingleComponentContainerInterface for component containers that have one child component and do not support adding or removing components.Classes in com.vaadin.ui that implement Component Modifier and Type Class Description classAbsoluteLayoutAbsoluteLayout is a layout implementation that mimics html absolute positioning.classAbstractColorPickerAn abstract class that defines default implementation for a color picker component.classAbstractComponentAn abstract class that defines default implementation for theComponentinterface.classAbstractComponentContainerExtension toAbstractComponentthat defines the default implementation for the methods inComponentContainer.classAbstractDateField<T extends Temporal & TemporalAdjuster & Serializable & Comparable<? super T>,R extends Enum<R>>A date editor component withLocalDateas an input value.classAbstractEmbeddedAbstract base for embedding components.classAbstractField<T>An abstract implementation of a field, or aComponentallowing user input.classAbstractFocusableAn abstract base class for focusable components.classAbstractJavaScriptComponentBase class for Components with all client-side logic implemented using JavaScript.classAbstractLayoutAn abstract class that defines default implementation for theLayoutinterface.classAbstractListing<T>A base class for listing components.classAbstractLocalDateFieldAbstract DateField class forLocalDatetype.classAbstractLocalDateTimeFieldAbstract DateField class forLocalDateTimetype.classAbstractMediaAbstract base class for the HTML5 media components.classAbstractMultiSelect<T>Base class for listing components that allow selecting multiple items.classAbstractOrderedLayoutclassAbstractSingleComponentContainerAbstract base class for component containers that have only one child component.classAbstractSingleSelect<T>An abstract base class for listing components that only support single selection and no lazy loading of data items.classAbstractSplitPanelAbstractSplitPanel.classAbstractTextFieldAbstract base class for text input components.classAccordionAn accordion is a component similar to aTabSheet, but with a vertical orientation and the selected component presented between tabs.classAudioThe Audio component translates into an HTML5 <audio> element and as such is only supported in browsers that support HTML5 media markup.classBrowserFrameA component displaying an embedded web page.classButtonA generic button component.classCheckBoxclassCheckBoxGroup<T>A group of Checkboxes.classColorPickerA class that defines default (button-like) implementation for a color picker component.classColorPickerAreaA class that defines area-like implementation for a color picker component.classComboBox<T>A filtering dropdown single-select.classCompositeComposite allows creating new UI components by composition of existing server-side components.classCssLayoutCssLayout is a layout component that can be used in browser environment only.classCustomComponentCustom component provides a simple implementation of theComponentinterface to allow creating new UI components by composition of existing server-side components.classCustomField<T>AHasValuewhose UI content can be constructed by the user, enabling the creation of e.g.classCustomLayoutA container component with freely designed layout and style.classDateFieldA date entry component, which displays the actual date selector as a popup.classDateTimeFieldA date time entry component, which displays the actual date selector as a popup.classDragAndDropWrapperDeprecated.Replaced in 8.1 withDragSourceExtensionandDropTargetExtension.classEmbeddedA component for embedding external objects.classFormLayoutFormLayout is used to layout fields.classGrid<T>A grid component for displaying tabular data.classGridLayoutA layout where the components are laid out on a grid using cell coordinates.classHorizontalLayoutHorizontal layoutHorizontalLayoutis a component container, which shows the subcomponents in the order of their addition (horizontally).classHorizontalSplitPanelA horizontal split panel contains two components and lays them horizontally.classImageComponent for embedding images.classInlineDateFieldA date entry component, which displays the actual date selector inline.classInlineDateTimeFieldA date time entry component, which displays the actual date selector inline.classLabelLabel component for showing non-editable short texts.classLegacyWindowDeprecated.classLinkLink is used to create external or internal URL links.classListSelect<T>This is a simple list select without, for instance, support for new items, lazyloading, and other advanced features.classLoginFormLogin form with auto-completion and auto-fill for all major browsers.classMenuBarA class representing a horizontal menu bar.classNativeButtonclassNativeSelect<T>A simple drop-down select component.classPanelPanel - a simple single component container.classPasswordFieldA field that is used to enter secret text information like passwords.classPopupViewA component for displaying a two different views to data.classProgressBarA component for displaying progress.classRadioButtonGroup<T>A group of RadioButtons.classRichTextAreaA simple RichTextArea to edit HTML format text.classSliderA component for selecting a numerical value within a range.classTabSheetTabSheet component.classTextAreaA text field that supports multi line editing.classTextFieldA component for editing textual data that fits on a single line.classTree<T>Tree component.classTreeGrid<T>A grid component for displaying hierarchical tabular data.classTwinColSelect<T>Multiselect component with two lists: left side for available items and right side for selected items.classUIThe topmost component in any component hierarchy.classUploadComponent for uploading files from client to server.classVerticalLayoutVertical layoutVerticalLayoutis a component container, which shows the subcomponents in the order of their addition (vertically).classVerticalSplitPanelA vertical split panel contains two components and lays them vertically.classVideoThe Video component translates into an HTML5 <video> element and as such is only supported in browsers that support HTML5 media markup.classWindowA component that represents a floating popup window that can be added to aUI.Fields in com.vaadin.ui with type parameters of type Component Modifier and Type Field Description protected LinkedList<Component>AbstractOrderedLayout. componentsCustom layout slots containing the components.protected LinkedList<Component>CssLayout. componentsCustom layout slots containing the components.protected KeyMapper<Component>TabSheet. keyMapperMapper between server-side component instances (tab contents) and keys given to the client that identify tabs.Methods in com.vaadin.ui with type parameters of type Component Modifier and Type Method Description <V extends Component>
Grid.Column<T,V>Grid. addComponentColumn(ValueProvider<T,V> componentProvider)Adds a column that shows components.<F,C extends HasValue<F> & Component>
Grid.Column<T,V>Grid.Column. setEditorComponent(C editorComponent)Sets a component to use for editing values of this columns in the editor row.<C extends HasValue<V> & Component>
Grid.Column<T,V>Grid.Column. setEditorComponent(C editorComponent, Setter<T,V> setter)Sets a component and setter to use for editing values of this column in the editor row.Methods in com.vaadin.ui that return Component Modifier and Type Method Description protected ComponentLoginForm. createContent(TextField userNameField, PasswordField passwordField, Button loginButton)Create the content for the login form with the supplied user name field, password field and the login button.Component[]Window. getAssistiveDescription()Gets the components that are used as assistive description.ComponentHasComponents.ComponentAttachEvent. getAttachedComponent()Gets the attached component.ComponentAbstractOrderedLayout. getComponent(int index)Returns the component at the given position.ComponentComponent.Event. getComponent()Gets the component where the event occurred.ComponentCssLayout. getComponent(int index)Returns the component at the given position.ComponentCustomLayout. getComponent(String location)Gets the child-component by its location.ComponentGridLayout.Area. getComponent()Gets the component connected to the area.ComponentGridLayout. getComponent(int x, int y)Gets the Component at given index.ComponentTabSheet.Tab. getComponent()Get the component related to the Tab.ComponentTabSheet.TabSheetTabImpl. getComponent()protected ComponentComposite. getCompositionRoot()Returns the composition root.protected ComponentCustomComponent. getCompositionRoot()Returns the composition root.ComponentAbstractSingleComponentContainer. getContent()protected ComponentCustomField. getContent()Returns the content (UI) of the custom component.ComponentSingleComponentContainer. getContent()Gets the content of this container.ComponentHasComponents.ComponentDetachEvent. getDetachedComponent()Gets the detached component.ComponentDragAndDropWrapper.WrapperTransferable. getDraggedComponent()Deprecated.The component in wrapper that is being dragged or null if the transferable is not a component (most likely an html5 drag).ComponentDragAndDropWrapper. getDragImageComponent()Deprecated.Gets the component that will be used as the drag image.ComponentAbstractSplitPanel. getFirstComponent()Gets the first component of this split panel.ComponentPopupView.Content. getPopupComponent()This should return the full Component representing the data.ComponentAbstractSplitPanel. getSecondComponent()Gets the second component of this split panel.ComponentTabSheet. getSelectedTab()Gets the selected tab content component.protected abstract ComponentCustomField. initContent()Create the content component or layout for the field.Methods in com.vaadin.ui that return types with arguments of type Component Modifier and Type Method Description Iterator<Component>AbstractComponentContainer. getComponentIterator()Deprecated.As of 7.0, useHasComponents.iterator()instead.Iterator<Component>ComponentContainer. getComponentIterator()Deprecated.As of 7.0, useHasComponents.iterator()instead.Iterator<Component>AbsoluteLayout. iterator()Gets an iterator for going through all components enclosed in the absolute layout.Iterator<Component>AbstractOrderedLayout. iterator()Gets the component container iterator for going trough all the components in the container.Iterator<Component>AbstractSingleComponentContainer. iterator()Iterator<Component>AbstractSplitPanel. iterator()Gets an iterator to the collection of contained components.Iterator<Component>Composite. iterator()Iterator<Component>CssLayout. iterator()Gets the component container iterator for going trough all the components in the container.Iterator<Component>CustomComponent. iterator()Iterator<Component>CustomField. iterator()Iterator<Component>CustomLayout. iterator()Gets the component container iterator for going trough all the components in the container.Iterator<Component>Grid. iterator()Gets an iterator to the collection of contained components.Iterator<Component>GridLayout. iterator()Gets an Iterator for the components contained in the layout.Iterator<Component>HasComponents. iterator()Gets an iterator to the collection of contained components.Iterator<Component>PopupView. iterator()This class only contains other components when the popup is showing.Iterator<Component>TabSheet. iterator()Gets the component container iterator for going through all the components (tab contents).Iterator<Component>UI. iterator()Methods in com.vaadin.ui with parameters of type Component Modifier and Type Method Description voidAbsoluteLayout. addComponent(Component c)voidAbsoluteLayout. addComponent(Component c, String cssPosition)Adds a component to the layout.voidAbstractComponentContainer. addComponent(Component c)This only implements the events and component parent calls.voidAbstractOrderedLayout. addComponent(Component c)Add a component into this container.voidAbstractOrderedLayout. addComponent(Component c, int index)Adds a component into indexed position in this container.voidAbstractSplitPanel. addComponent(Component c)Add a component into this container.voidComponentContainer. addComponent(Component c)Adds the component into this container.voidCssLayout. addComponent(Component c)Add a component into this container.voidCssLayout. addComponent(Component c, int index)Adds a component into indexed position in this container.voidCustomLayout. addComponent(Component c)Adds the component into this container.voidCustomLayout. addComponent(Component c, String location)Adds the component into this container to given location.voidGridLayout. addComponent(Component component)Adds the component into this container to the cursor position.voidGridLayout. addComponent(Component component, int column, int row)Adds the component to the grid in cells column1,row1 (NortWest corner of the area.) End coordinates (SouthEast corner of the area) are the same as column1,row1.voidGridLayout. addComponent(Component component, int column1, int row1, int column2, int row2)Adds a component to the grid in the specified area.voidLegacyWindow. addComponent(Component component)Deprecated.Adds a component to this UI.voidTabSheet. addComponent(Component c)Adds a new tab into TabSheet.voidAbstractOrderedLayout. addComponentAsFirst(Component c)Adds a component into this container.voidCssLayout. addComponentAsFirst(Component c)Adds a component into this container.voidAbstractComponentContainer. addComponents(Component... components)voidComponentContainer. addComponents(Component... components)Adds the components in the given order to this component container.voidHorizontalLayout. addComponentsAndExpand(Component... components)Adds the given components to this layout and sets them as expanded.voidVerticalLayout. addComponentsAndExpand(Component... components)Adds the given components to this layout and sets them as expanded.protected voidGrid.AbstractGridExtension. addComponentToGrid(Component c)Adds given component to the connector hierarchy of Grid.TabSheet.TabTabSheet. addTab(Component c)Adds a new tab into TabSheet.TabSheet.TabTabSheet. addTab(Component component, int position)Adds a new tab into TabSheet.TabSheet.TabTabSheet. addTab(Component c, String caption)Adds a new tab into TabSheet.TabSheet.TabTabSheet. addTab(Component c, String caption, Resource icon)Adds a new tab into TabSheet.TabSheet.TabTabSheet. addTab(Component tabComponent, String caption, Resource icon, int position)Adds a new tab into TabSheet.static booleanComponentRootSetter. canSetRoot(Component customComponent)Checks if the given custom component or composite may accept a root component.protected static PopupView.ContentPopupView. createContent(String minimizedValue, Component popupContent)Creates a Content from given text representation and popup content.protected voidAbstractComponentContainer. fireComponentAttachEvent(Component component)Fires the component attached event.protected voidAbstractSingleComponentContainer. fireComponentAttachEvent(Component component)Fires the component attached event.protected voidAbstractComponentContainer. fireComponentDetachEvent(Component component)Fires the component detached event.protected voidAbstractSingleComponentContainer. fireComponentDetachEvent(Component component)Fires the component detached event.AlignmentAbstractOrderedLayout. getComponentAlignment(Component childComponent)AlignmentGridLayout. getComponentAlignment(Component childComponent)AlignmentLayout.AlignmentHandler. getComponentAlignment(Component childComponent)Returns the current Alignment of given component.GridLayout.AreaGridLayout. getComponentArea(Component component)Returns information about the area where given component is laid in the GridLayout.intAbstractOrderedLayout. getComponentIndex(Component component)Returns the index of the given component.intCssLayout. getComponentIndex(Component component)Returns the index of the given component.protected StringCssLayout. getCss(Component c)Returns styles to be applied to given component.floatAbstractOrderedLayout. getExpandRatio(Component component)Returns the expand ratio of given component.floatFormLayout. getExpandRatio(Component component)Deprecated.This method currently has no effect as expand ratios are not implemented in FormLayoutAbsoluteLayout.ComponentPositionAbsoluteLayout. getPosition(Component component)Gets the position of a component in the layout.TabSheet.TabTabSheet. getTab(Component c)Returns theTabSheet.Tab(metadata) for a component.protected booleanAbstractComponent. isOrHasAncestor(Component content)Determine whether acontentcomponent is equal to, or the ancestor of this component.booleanSelectiveRenderer. isRendered(Component childComponent)Checks if the child component should be rendered (sent to the client side).booleanTabSheet. isRendered(Component childComponent)voidTabSheet.CloseHandler. onTabClose(TabSheet tabsheet, Component tabContent)Called when a user has pressed the close icon of a tab in the client side widget.voidAbsoluteLayout. removeComponent(Component c)voidAbstractComponentContainer. removeComponent(Component c)This only implements the events and component parent calls.voidAbstractOrderedLayout. removeComponent(Component c)Removes the component from this container.voidAbstractSplitPanel. removeComponent(Component c)Removes the component from this container.voidComponentContainer. removeComponent(Component c)Removes the component from this container.voidCssLayout. removeComponent(Component c)Removes the component from this container.voidCustomLayout. removeComponent(Component c)Removes the component from this container.voidGridLayout. removeComponent(Component component)Removes the specified component from the layout.voidLegacyWindow. removeComponent(Component component)Deprecated.This implementation removes the component from the content container (LegacyWindow.getContent()) instead of from the actual UI.voidTabSheet. removeComponent(Component component)Removes a component and its corresponding tab.protected voidGrid.AbstractGridExtension. removeComponentFromGrid(Component c)Removes given component from the connector hierarchy of Grid.static voidAbstractSingleComponentContainer. removeFromParent(Component content)Utility method for removing a component from its parent (if possible).voidAbsoluteLayout. replaceComponent(Component oldComponent, Component newComponent)Replaces one component with another one.voidAbstractOrderedLayout. replaceComponent(Component oldComponent, Component newComponent)voidAbstractSplitPanel. replaceComponent(Component oldComponent, Component newComponent)voidComponentContainer. replaceComponent(Component oldComponent, Component newComponent)Replaces the component in the container with another one without changing position.voidCssLayout. replaceComponent(Component oldComponent, Component newComponent)voidCustomLayout. replaceComponent(Component oldComponent, Component newComponent)voidGridLayout. replaceComponent(Component oldComponent, Component newComponent)voidLegacyWindow. replaceComponent(Component oldComponent, Component newComponent)Deprecated.This implementation replaces a component in the content container (LegacyWindow.getContent()) instead of in the actual UI.voidTabSheet. replaceComponent(Component oldComponent, Component newComponent)Replaces a component (tab content) with another.voidUI. scrollIntoView(Component component)Scrolls any component between the component and UI to a suitable position so the component is visible to the user.voidWindow. setAssistiveDescription(Component... components)Allows to specify which components contain the description for the window.voidAbstractOrderedLayout. setComponentAlignment(Component childComponent, Alignment alignment)voidGridLayout. setComponentAlignment(Component childComponent, Alignment alignment)voidLayout.AlignmentHandler. setComponentAlignment(Component childComponent, Alignment alignment)Set alignment for one contained component in this layout.protected voidComposite. setCompositionRoot(Component compositionRoot)Sets the component contained in the composite.protected voidCustomComponent. setCompositionRoot(Component compositionRoot)Sets the composition root for the component.voidAbstractSingleComponentContainer. setContent(Component content)Sets the content of this container.voidLegacyWindow. setContent(Component content)Deprecated.Set the content of the window.voidSingleComponentContainer. setContent(Component content)Sets the content of this container.voidUI. setContent(Component content)voidDragAndDropWrapper. setDragImageComponent(Component dragImageComponent)Deprecated.Sets the component that will be used as the drag image.voidAbstractOrderedLayout. setExpandRatio(Component component, float ratio)This method is used to control how excess space in layout is distributed among components.voidFormLayout. setExpandRatio(Component component, float ratio)Deprecated.This method currently has no effect as expand ratios are not implemented in FormLayoutvoidAbstractSplitPanel. setFirstComponent(Component c)Sets the first component of this split panel.voidAbsoluteLayout. setPosition(Component component, AbsoluteLayout.ComponentPosition position)Sets the position of a component in the layout.static voidComponentRootSetter. setRoot(Component customComponent, Component component)Sets the composition root for the given custom component or composite.voidAbstractSplitPanel. setSecondComponent(Component c)Sets the second component of this split panel.voidTabSheet. setSelectedTab(Component component)Sets the selected tab.voidTabSheet. setSelectedTab(Component component, boolean userOriginated)Sets the selected tab.Constructors in com.vaadin.ui with parameters of type Component Constructor Description Accordion(Component... components)Constructs a new accordion containing the given components.Area(GridLayoutState.ChildComponentData childData, Component component)Area(Component component, int column1, int row1, int column2, int row2)Construct a new area on a grid.ClickEvent(Component source)New instance of text change event.ClickEvent(Component source, MouseEventDetails details)Constructor with mouse details.CloseEvent(Component source)ComponentAttachEvent(HasComponents container, Component attachedComponent)Creates a new attach event.ComponentDetachEvent(HasComponents container, Component detachedComponent)Creates a new detach event.CssLayout(Component... children)Constructs a CssLayout with the given components in the given order.CustomComponent(Component compositionRoot)Constructs a new custom component.DragAndDropWrapper(Component root)Deprecated.Wraps given component in aDragAndDropWrapper.ErrorEvent(ErrorMessage message, Component component)Constructs a new event with a specified source component.Event(Component source)Constructs a new event with the specified source component.FormLayout(Component... children)Constructs a FormLayout and adds the given components to it.GridLayout(int columns, int rows, Component... children)Constructs a GridLayout of given size (number of columns and rows) and adds the given components in order to the grid.HorizontalLayout(Component... children)Constructs a HorizontalLayout with the given components.HorizontalSplitPanel(Component firstComponent, Component secondComponent)Creates a horizontal split panel containing the given components.Panel(Component content)Creates a new empty panel which contains the given content.Panel(String caption, Component content)Creates a new empty panel with the given caption and content.PopupView(String small, Component large)A simple way to create a PopupPanel.ResizeEvent(Component source)SelectedTabChangeEvent(Component source, boolean userOriginated)Creates a new instance of the event.SplitPositionChangeEvent(Component source, boolean userOriginated, float oldPosition, Sizeable.Unit oldUnit, float position, Sizeable.Unit unit)Creates a split position change event.SplitterClickEvent(Component source, MouseEventDetails mouseEventDetails)TabSheet(Component... components)Constructs a new TabSheet containing the given components.UI(Component content)Creates a new UI with the given component (often a layout) as its content.VerticalLayout(Component... children)Constructs a VerticalLayout with the given components.VerticalSplitPanel(Component firstComponent, Component secondComponent)Creates a horizontal split panel containing the given components.Window(String caption, Component content)Creates a new, empty window with the given content and title.WindowModeChangeEvent(Component source, WindowMode windowMode)WindowOrderChangeEvent(Component source, int order)WindowOrderUpdateEvent(Component source, Collection<Window> windows)WrapperTransferable(Component sourceComponent, Map<String,Object> rawVariables)Deprecated. -
Uses of Component in com.vaadin.ui.components.colorpicker
Classes in com.vaadin.ui.components.colorpicker that implement Component Modifier and Type Class Description classColorPickerGradientA component that represents a color gradient within a color picker.classColorPickerGridA component that represents a color selection grid within a color picker.classColorPickerHistoryA component that represents color selection history within a color picker.classColorPickerPopupA component that represents color selection popup within a color picker.classColorPickerPreviewA component that represents color selection preview within a color picker.classColorPickerSelectA component that represents color selection swatches within a color picker.Methods in com.vaadin.ui.components.colorpicker that return Component Modifier and Type Method Description protected ComponentColorPickerHistory. initContent()protected ComponentColorPickerSelect. initContent()Methods in com.vaadin.ui.components.colorpicker with parameters of type Component Modifier and Type Method Description protected StringColorPickerPreview. getCss(Component c) -
Uses of Component in com.vaadin.ui.components.grid
Methods in com.vaadin.ui.components.grid that return Component Modifier and Type Method Description ComponentFooterCell. getComponent()Returns the component displayed in this cell.ComponentHeaderCell. getComponent()Returns the component displayed in this cell.Methods in com.vaadin.ui.components.grid that return types with arguments of type Component Modifier and Type Method Description Collection<? extends Component>FooterRow. getComponents()Gets a collection of all components inside this row.Collection<? extends Component>HeaderRow. getComponents()Gets a collection of all components inside this row.Collection<? extends Component>StaticSection.StaticRow. getComponents()Methods in com.vaadin.ui.components.grid with parameters of type Component Modifier and Type Method Description voidFooterCell. setComponent(Component component)Sets the component displayed in this cell.voidHeaderCell. setComponent(Component component)Sets the component displayed in this cell.Method parameters in com.vaadin.ui.components.grid with type arguments of type Component Modifier and Type Method Description StringEditorErrorGenerator. apply(Map<Component,Grid.Column<T,?>> fieldToColumn, BinderValidationStatus<T> status)Generates an error message from given validation status object. -
Uses of Component in com.vaadin.ui.declarative
Methods in com.vaadin.ui.declarative that return Component Modifier and Type Method Description ComponentDesign.ComponentFactory. createComponent(String fullyQualifiedClassName, DesignContext context)Creates a component based on the fully qualified name derived from the tag name in the design.ComponentDesign.DefaultComponentFactory. createComponent(String fullyQualifiedClassName, DesignContext context)ComponentDesignContext.ComponentCreatedEvent. getComponent()Returns the created component.ComponentDesignContext. getComponentByCaption(String caption)Returns a component having the specified caption.ComponentDesignContext. getComponentById(String globalId)Returns a component having the specified global id.ComponentDesignContext. getComponentByLocalId(String localId)Returns a component having the specified local id.ComponentDesignContext. getRootComponent()Returns the root component of a created component hierarchy.static ComponentDesign. read(InputStream design)Loads a design from the given input stream.ComponentDesignContext. readDesign(org.jsoup.nodes.Element componentDesign)Reads the given design node and creates the corresponding component tree.ComponentDesign.ComponentMapper. tagToComponent(String tag, Design.ComponentFactory componentFactory, DesignContext context)Resolves and creates a component using the provided component factory based on a tag name.ComponentDesign.DefaultComponentMapper. tagToComponent(String tagName, Design.ComponentFactory componentFactory, DesignContext context)Methods in com.vaadin.ui.declarative that return types with arguments of type Component Modifier and Type Method Description protected Class<? extends Component>Design.DefaultComponentFactory. resolveComponentClass(String qualifiedClassName, DesignContext context)Resolves a component class based on the fully qualified name of the class.Methods in com.vaadin.ui.declarative with parameters of type Component Modifier and Type Method Description booleanFieldBinder. bindField(Component instance)Tries to bind the givenComponentinstance to a member field of the bind target.booleanFieldBinder. bindField(Component instance, String localId)Tries to bind the givenComponentinstance to a member field of the bind target.StringDesign.ComponentMapper. componentToTag(Component component, DesignContext context)Resolves a tag name from a component.StringDesign.DefaultComponentMapper. componentToTag(Component component, DesignContext context)org.jsoup.nodes.ElementDesignContext. createElement(Component childComponent)Creates an html tree node corresponding to the given element.StringDesignContext. getComponentLocalId(Component component)Returns the local id for a component.Map<String,String>DesignContext. getCustomAttributes(Component component)Gets the attributes that the component did not handle.<T> TDesignContext. getDefaultInstance(Component component)Returns the default instance for the given class.static DesignContextDesign. read(Component rootComponent)Loads a design for the given root component.static DesignContextDesign. read(InputStream stream, Component rootComponent)Loads a design from the given stream using the given root component.static DesignContextDesign. read(String filename, Component rootComponent)Loads a design from the given file name using the given root component.voidDesignContext. readDesign(org.jsoup.nodes.Element componentDesign, Component component)Reads the given design node and populates the given component with the corresponding component tree.booleanDesignContext. setComponentLocalId(Component component, String localId)Creates a mapping between the given local id and the component.voidDesignContext. setCustomAttribute(Component component, String attribute, String value)Sets a custom attribute not handled by the component.voidDesignContext. setRootComponent(Component rootComponent)Sets the root component of a created component hierarchy.booleanDesignContext. shouldWriteChildren(Component c, Component defaultC)Helper method for component write implementors to determine whether their children should be written out or not.booleanDesignContext. shouldWriteData(Component component)Determines whether the container data of a component should be written out by delegating to aShouldWriteDataDelegate.booleanShouldWriteDataDelegate. shouldWriteData(Component component)Determines whether the container data of a component should be written out.static voidDesign. write(Component component, OutputStream outputStream)Writes the given component tree in design format to the given output stream. -
Uses of Component in com.vaadin.ui.renderers
Methods in com.vaadin.ui.renderers with parameters of type Component Modifier and Type Method Description elemental.json.JsonValueComponentRenderer. encode(Component value)
-