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

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

Introduction

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

The text is from its open source code.

Subclass

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

Constructor

CssLayout()
Constructs an empty CssLayout.
CssLayout(Component... children)
Constructs a CssLayout with the given components in the given order.

Method

voidaddComponent(Component c)
Add a component into this container.
voidaddComponent(Component c, int index)
Adds a component into indexed position in this container.
voidaddComponentAsFirst(Component c)
Adds a component into this container.
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.
StringgetStyleName()
booleanisVisible()
Iteratoriterator()
Gets the component container iterator for going trough all the components in the container.
voidmarkAsDirty()
voidremoveAllComponents()
Removes all components from the container.
voidremoveComponent(Component c)
Removes the component from this container.
voidremoveStyleName(String style)
voidreplaceComponent(Component oldComponent, Component newComponent)
voidsetCaption(String caption)
voidsetData(Object data)
Sets the data object, that can be used for any application specific data.
voidsetHeight(String height)
voidsetHeight(float height, Unit unit)
voidsetHeightUndefined()
voidsetIcon(Resource icon)
Sets the component's icon.
voidsetId(String id)
voidsetPrimaryStyleName(String style)
voidsetSizeFull()
voidsetSizeUndefined()
voidsetStyleName(String style)
voidsetVisible(boolean visible)
voidsetWidth(String width)
voidsetWidth(float width, Unit unit)
voidsetWidthUndefined()