public static class FormLayout.FormItem extends GeneratedVaadinFormItem<FormLayout.FormItem> implements HasComponents
<vaadin-form-item> element. Used to
 wrap components for display in a FormLayout.| Constructor and Description | 
|---|
FormItem()
Constructs an empty FormItem. 
 | 
FormItem(Component... components)
Constructs a FormItem with the given initial components to wrap. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
remove(Component... components)
Removes the given child components from this component. 
 | 
void | 
removeAll()
Removes all contents from this component, this includes child components,
 text content as well as child elements that have been added directly to
 this component using the  
Element API. | 
addToLabeladdListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, addComponentAsFirst, addComponentAtIndexisEnabled, setEnabledgetElementaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameaddClickListener, addClickShortcutaddAttachListeneraddDetachListenerpublic FormItem()
HasComponents.add(Component...).HasComponents.add(Component...)public FormItem(Component... components)
HasComponents.add(Component...).components - the initial components to wrap as a form item.HasComponents.add(Component...)public void removeAll()
GeneratedVaadinFormItemElement API.removeAll in interface HasComponentsremoveAll in class GeneratedVaadinFormItem<FormLayout.FormItem>public void remove(Component... components)
GeneratedVaadinFormItemremove in interface HasComponentsremove in class GeneratedVaadinFormItem<FormLayout.FormItem>components - The components to remove.Copyright © 2019. All rights reserved.