public class FormPropertiesForm
extends com.vaadin.ui.VerticalLayout
FormPropertiesForm.FormPropertiesEvent
s which allow listening for
submission and cancellation of the form.Modifier and Type | Class and Description |
---|---|
class |
FormPropertiesForm.FormPropertiesEvent
Event indicating a form has been submitted or cancelled.
|
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.MarginInfo, com.vaadin.ui.Layout.SpacingHandler
com.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.Button |
cancelFormButton |
protected FormPropertiesComponent |
formPropertiesComponent |
protected FormService |
formService |
protected com.vaadin.ui.Label |
formTitle |
protected I18nManager |
i18nManager |
protected com.vaadin.ui.Button |
submitFormButton |
Constructor and Description |
---|
FormPropertiesForm() |
Modifier and Type | Method and Description |
---|---|
protected void |
addEmptySpace(com.vaadin.ui.ComponentContainer container) |
void |
clear()
Clear all (writable) values in the form.
|
void |
hideCancelButton() |
protected void |
initButtons() |
protected void |
initFormPropertiesComponent() |
protected void |
initListeners() |
protected void |
initTitle() |
void |
setCancelButtonCaption(String caption) |
void |
setFormHelp(String caption) |
void |
setFormProperties(List<FormProperty> formProperties) |
void |
setSubmitButtonCaption(String caption) |
addComponent, addComponent, addComponentAsFirst, addListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getComponentIterator, getExpandRatio, isSpacing, isSpacingEnabled, paintContent, removeComponent, removeListener, replaceComponent, setComponentAlignment, setComponentAlignment, setComponentAlignment, setExpandRatio, setSpacing
changeVariables, fireClick, getMargin, setMargin, setMargin, setMargin
addListener, addListener, attach, detach, fireComponentAttachEvent, fireComponentDetachEvent, moveComponentsFrom, removeAllComponents, removeListener, removeListener, requestRepaintAll, setEnabled, setHeight, setWidth
addListener, 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, setWidthUnits
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, addListener, moveComponentsFrom, removeAllComponents, removeListener, removeListener, requestRepaintAll
addListener, addStyleName, attach, childRequestedRepaint, detach, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setParent, setReadOnly, setStyleName, setVisible
protected transient FormService formService
protected I18nManager i18nManager
protected com.vaadin.ui.Label formTitle
protected com.vaadin.ui.Button submitFormButton
protected com.vaadin.ui.Button cancelFormButton
protected FormPropertiesComponent formPropertiesComponent
public void setFormProperties(List<FormProperty> formProperties)
public void setSubmitButtonCaption(String caption)
public void setCancelButtonCaption(String caption)
public void setFormHelp(String caption)
public void clear()
protected void initTitle()
protected void initButtons()
protected void initFormPropertiesComponent()
protected void initListeners()
public void hideCancelButton()
protected void addEmptySpace(com.vaadin.ui.ComponentContainer container)
Copyright © 2016 Alfresco. All rights reserved.