Example usage for Java com.vaadin.ui Layout fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addComponent(Component c) Adds the component into this container. |
void | addComponents(Component... components) Adds the components in the given order to this component container. |
void | addStyleName(String style) Adds one or more style names to this component. |
int | getComponentCount() Gets the number of children this ComponentContainer has. |
Iterator | getComponentIterator() Gets an iterator to the collection of contained components. |
Iterator | iterator() Gets an iterator to the collection of contained components. |
void | markAsDirtyRecursive() Causes this connector and all connectors below it to be marked as dirty. |
void | removeAllComponents() Removes all components from this container. |
void | removeComponent(Component c) Removes the component from this container. |
void | removeStyleName(String style) Removes one or more style names from component. |
void | setCaption(String caption) Sets the caption of the component. |
void | setHeight(float height, Unit unit) Sets the height of the object. |
void | setPrimaryStyleName(String style) Changes the primary style name of the component. |
void | setSizeFull() Sets the size to 100% x 100%. |
void | setSizeUndefined() Clears any size settings. |
void | setStyleName(String style) Sets one or more user-defined style names of the component, replacing any previous user-defined styles. |
void | setVisible(boolean visible) Sets the visibility of the component. |
void | setWidth(String width) Sets the width of the component using String presentation. |
void | setWidthUndefined() Clears any defined width. |