D
- definition typepublic class SystemLanguagesFieldFactory<D extends SystemLanguagesFieldDefinition> extends SelectFieldFactory<D>
CONFIG:/server/i18n/system/languages
.initializeProperty
SelectFieldFactory.DefaultOptionComparator
select
definition, field, item
Constructor and Description |
---|
SystemLanguagesFieldFactory(D definition,
com.vaadin.data.Item relatedFieldItem,
info.magnolia.context.Context context)
Deprecated.
since 5.4.7 - use
SystemLanguagesFieldFactory(SystemLanguagesFieldDefinition, Item, UiContext, I18NAuthoringSupport, Context) instead. |
SystemLanguagesFieldFactory(D definition,
com.vaadin.data.Item relatedFieldItem,
UiContext uiContext,
I18NAuthoringSupport i18nAuthoringSupport,
info.magnolia.context.Context context) |
Modifier and Type | Method and Description |
---|---|
protected Object |
createDefaultValue(com.vaadin.data.Property dataSource) |
List<SelectFieldOptionDefinition> |
getOptions()
Returns the languages defined under
CONFIG:/server/i18n/system/languages . |
createFieldComponent, createRemoteOptionFilterPredicate, createSelectionField, getConfiguredDefaultValue, getIconResource, getRemoteOptionsName, getRemoteOptionsValue, getSelectFieldOptionDefinition, initializeComparator, setPropertyDataSourceAndDefaultValue
createField, createTypedValue, getComponentProvider, getDefaultFieldType, getDefinitionType, getFieldDefinition, getFieldType, getI18nBasename, getLocale, getView, initializeConverter, initializeProperty, initializeTransformer, 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 SystemLanguagesFieldFactory(D definition, com.vaadin.data.Item relatedFieldItem, UiContext uiContext, I18NAuthoringSupport i18nAuthoringSupport, info.magnolia.context.Context context)
@Deprecated public SystemLanguagesFieldFactory(D definition, com.vaadin.data.Item relatedFieldItem, info.magnolia.context.Context context)
SystemLanguagesFieldFactory(SystemLanguagesFieldDefinition, Item, UiContext, I18NAuthoringSupport, Context)
instead.public List<SelectFieldOptionDefinition> getOptions()
CONFIG:/server/i18n/system/languages
.getOptions
in class SelectFieldFactory<D extends SystemLanguagesFieldDefinition>
protected Object createDefaultValue(com.vaadin.data.Property dataSource)
createDefaultValue
in class AbstractFieldFactory<D extends SystemLanguagesFieldDefinition,Object>
Copyright © 2017 Magnolia International Ltd.. All rights reserved.