Java com.vaadin.ui VerticalLayout fields, constructors, methods, implement or subclass

Example usage for Java com.vaadin.ui VerticalLayout fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.vaadin.ui VerticalLayout.

The text is from its open source code.

Subclass

com.vaadin.ui.VerticalLayout has subclasses.
Click this link to see all its subclasses.

Constructor

VerticalLayout()
Constructs an empty VerticalLayout.
VerticalLayout(Component... children)
Constructs a VerticalLayout with the given components.

Method

voidaddComponent(Component c)
Add a component into this container.
voidaddComponentAsFirst(Component c)
Adds a component into this container.
voidaddComponents(Component... components)
RegistrationaddLayoutClickListener(LayoutClickListener listener)
RegistrationaddListener(Component.Listener listener)
voidaddStyleName(String style)
ComponentgetComponent(int index)
Returns the component at the given position.
intgetComponentCount()
Gets the number of contained components.
intgetComponentIndex(Component component)
Returns the index of the given component.
ObjectgetData()
Gets the application specific data.
floatgetHeight()
HasComponentsgetParent()
StringgetStyleName()
floatgetWidth()
booleanisVisible()
Iteratoriterator()
Gets the component container iterator for going trough all the components in the container.
voidremoveAllComponents()
Removes all components from the container.
voidremoveComponent(Component c)
Removes the component from this container.
voidreplaceComponent(Component oldComponent, Component newComponent)
voidsetCaption(String caption)
voidsetComponentAlignment(Component childComponent, Alignment alignment)
voidsetData(Object data)
Sets the data object, that can be used for any application specific data.
voidsetDebugId(String id)
voidsetDefaultComponentAlignment(Alignment defaultAlignment)
voidsetDescription(String description)
Sets the component's description.
voidsetExpandRatio(Component component, float ratio)

This method is used to control how excess space in layout is distributed among components.

voidsetHeight(String height)
voidsetHeight(float height, Unit unit)
voidsetHeightUndefined()
voidsetIcon(Resource icon)
Sets the component's icon.
voidsetId(String id)
voidsetMargin(boolean enabled)
voidsetResponsive(boolean responsive)
Toggles responsiveness of this component.
voidsetSizeFull()
voidsetSizeUndefined()
voidsetSpacing(boolean spacing)
voidsetStyleName(String style)
voidsetVisible(boolean visible)
voidsetWidth(String width)
voidsetWidth(float width, Unit unit)
voidsetWidthUndefined()