D
- type of definitionpublic class StaticFieldFactory<D extends StaticFieldDefinition> extends AbstractFieldFactory<D,Object>
initializeProperty
definition, field, item
Constructor and Description |
---|
StaticFieldFactory(D definition,
com.vaadin.v7.data.Item relatedFieldItem)
Deprecated.
since 5.4.7 - use
StaticFieldFactory(StaticFieldDefinition, Item, UiContext, I18NAuthoringSupport) instead. |
StaticFieldFactory(D definition,
com.vaadin.v7.data.Item relatedFieldItem,
UiContext uiContext,
I18NAuthoringSupport i18nAuthoringSupport) |
Modifier and Type | Method and Description |
---|---|
protected com.vaadin.v7.ui.Field<Object> |
createFieldComponent()
Implemented by subclasses to create and initialize the Vaadin Field instance to use.
|
String |
createFieldValue()
Create the value displayed into the static field.
|
void |
setPropertyDataSourceAndDefaultValue(com.vaadin.v7.data.Property property)
Do not set datasource for a Static field.
|
createDefaultValue, createField, createTypedValue, getComponentProvider, getConfiguredDefaultValue, getDefaultFieldType, getDefinitionType, getFieldDefinition, getFieldType, getI18nBasename, getLocale, getView, initializeConverter, initializeProperty, initializeTransformer, isMessageKey, setComponentProvider, setFieldValidatorFactoryFactory, setI18nContentSupport, setLocale, setPropertyDataSourceDefaultValue
getMessage, getMessages, getParent, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessages, getParent, setParent
@Inject public StaticFieldFactory(D definition, com.vaadin.v7.data.Item relatedFieldItem, UiContext uiContext, I18NAuthoringSupport i18nAuthoringSupport)
@Deprecated public StaticFieldFactory(D definition, com.vaadin.v7.data.Item relatedFieldItem)
StaticFieldFactory(StaticFieldDefinition, Item, UiContext, I18NAuthoringSupport)
instead.protected com.vaadin.v7.ui.Field<Object> createFieldComponent()
AbstractFieldFactory
createFieldComponent
in class AbstractFieldFactory<D extends StaticFieldDefinition,Object>
public String createFieldValue()
public void setPropertyDataSourceAndDefaultValue(com.vaadin.v7.data.Property property)
setPropertyDataSourceAndDefaultValue
in class AbstractFieldFactory<D extends StaticFieldDefinition,Object>
Copyright © 2019 Magnolia International Ltd.. All rights reserved.