public class FormPropertiesComponent
extends com.vaadin.ui.VerticalLayout
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandlercom.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.MarginInfo, com.vaadin.ui.Layout.SpacingHandlercom.vaadin.ui.ComponentContainer.ComponentAttachEvent, com.vaadin.ui.ComponentContainer.ComponentAttachListener, com.vaadin.ui.ComponentContainer.ComponentDetachEvent, com.vaadin.ui.ComponentContainer.ComponentDetachListener| Modifier and Type | Field and Description |
|---|---|
protected com.vaadin.ui.Form |
form |
protected List<FormProperty> |
formProperties |
protected FormPropertyRendererManager |
formPropertyRendererManager |
protected Map<FormProperty,com.vaadin.ui.Component> |
propertyComponents |
| Constructor and Description |
|---|
FormPropertiesComponent() |
| Modifier and Type | Method and Description |
|---|---|
List<FormProperty> |
getFormProperties() |
Map<String,String> |
getFormPropertyValues()
Returns all values filled in in the writable fields on the form.
|
protected FormPropertyRenderer |
getRenderer(FormProperty formProperty) |
protected void |
initForm() |
void |
setFormEnabled(boolean enabled) |
void |
setFormProperties(List<FormProperty> formProperties) |
addComponent, addComponent, addComponentAsFirst, addListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getComponentIterator, getExpandRatio, isSpacing, isSpacingEnabled, paintContent, removeComponent, removeListener, replaceComponent, setComponentAlignment, setComponentAlignment, setComponentAlignment, setExpandRatio, setSpacingchangeVariables, fireClick, getMargin, setMargin, setMargin, setMarginaddListener, addListener, attach, detach, fireComponentAttachEvent, fireComponentDetachEvent, moveComponentsFrom, removeAllComponents, removeListener, removeListener, requestRepaintAll, setEnabled, setHeight, setWidthaddListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, focus, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidthUnitsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, addListener, moveComponentsFrom, removeAllComponents, removeListener, removeListener, requestRepaintAlladdListener, addStyleName, attach, childRequestedRepaint, detach, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setParent, setReadOnly, setStyleName, setVisibleprotected FormPropertyRendererManager formPropertyRendererManager
protected List<FormProperty> formProperties
protected Map<FormProperty,com.vaadin.ui.Component> propertyComponents
protected com.vaadin.ui.Form form
public List<FormProperty> getFormProperties()
public void setFormProperties(List<FormProperty> formProperties)
public Map<String,String> getFormPropertyValues() throws com.vaadin.data.Validator.InvalidValueException
com.vaadin.data.Validator.InvalidValueException - when a validation error occurs.public void setFormEnabled(boolean enabled)
protected void initForm()
protected FormPropertyRenderer getRenderer(FormProperty formProperty)
Copyright © 2016 Alfresco. All rights reserved.