public class SOSConfigForm extends GenericConfigForm
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Modifier and Type | Field and Description |
---|---|
protected static String |
PROP_DATACONSUMERS |
protected static String |
PROP_DATAPROVIDERS |
protected static String |
PROP_ENDPOINT |
protected static String |
SOS_PACKAGE |
allForms, checkBoxes, fieldGroup, labels, listBoxes, MAIN_CONFIG, numberBoxes, parentForm, subForms, tabJustRemoved, textBoxes
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
ADD_ICON, APPLY_ICON, DEL_ICON, EDIT_ICON, ERROR_ICON, HELP_ICON, INFO_ICON, LINK_ICON, MSG_REQUIRED_FIELD, PROP_AUTOSTART, PROP_ID, PROP_MODULECLASS, PROP_NAME, PROP_SEP, REFRESH_ICON, STYLE_COLORED, STYLE_H1, STYLE_H2, STYLE_H3, STYLE_LINK, STYLE_PRESSED, STYLE_QUIET, STYLE_SECTION_BUTTONS, STYLE_SMALL
Constructor and Description |
---|
SOSConfigForm() |
Modifier and Type | Method and Description |
---|---|
void |
build(String title,
String popupText,
MyBeanItem<? extends Object> beanItem,
boolean includeSubForms)
Builds the whole form for a given config object.
|
Map<String,Class<?>> |
getPossibleTypes(String propId)
Return possible object types for the given property ID
|
boolean |
isFieldVisible(String propId) |
addChangeModuleButton, addChangeObjectButton, addTab, build, buildAndBindField, buildListComponent, buildSimpleList, buildSubForm, buildTable, buildTabs, commit, getParentForm, getPolymorphicBeanParentType, getPossibleValues, getSubForms, getTabCaption, makeAddressSelectField, makeModuleSelectField, makePasswordField, setParentForm
addComponent, addComponent, addComponentAsFirst, addLayoutClickListener, addListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getCustomAttributes, getDefaultComponentAlignment, getExpandRatio, getMargin, getState, getState, isSpacing, iterator, readDesign, removeComponent, removeLayoutClickListener, removeListener, replaceComponent, setComponentAlignment, setDefaultComponentAlignment, setExpandRatio, setMargin, setMargin, setSpacing, writeDesign
addComponentAttachListener, addComponentDetachListener, addComponents, addListener, addListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponentAttachListener, removeComponentDetachListener, removeListener, removeListener, setHeight, setWidth
addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isVisible, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addComponent, addComponents, addListener, addListener, getComponentCount, getComponentIterator, moveComponentsFrom, removeAllComponents, removeComponent, removeListener, removeListener, replaceComponent
addListener, addStyleName, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, readDesign, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
protected static final String SOS_PACKAGE
protected static final String PROP_DATAPROVIDERS
protected static final String PROP_DATACONSUMERS
protected static final String PROP_ENDPOINT
public void build(String title, String popupText, MyBeanItem<? extends Object> beanItem, boolean includeSubForms)
IModuleConfigForm
build
in interface IModuleConfigForm
build
in class GenericConfigForm
title
- title of the formpopupText
- help popup text shown when hovering on the form titlebeanItem
- object to render a form forincludeSubForms
- true to include sub forms in the componentpublic boolean isFieldVisible(String propId)
isFieldVisible
in class GenericConfigForm
public Map<String,Class<?>> getPossibleTypes(String propId)
IModuleConfigForm
getPossibleTypes
in interface IModuleConfigForm
getPossibleTypes
in class GenericConfigForm
propId
- property IDCopyright © 2016 Sensia Software LLC. All rights reserved.