T
- public class EnabledFieldTransformer<T> extends BasicTransformer<T>
Transformer
implementation used for EnabledFieldFactory
.
If property is not set then it's handled as true because of MgnlUser.enabled
is set to true by default.basePropertyName, definition, i18NPropertyName, relatedFormItem, type
Constructor and Description |
---|
EnabledFieldTransformer(com.vaadin.v7.data.Item parent,
ConfiguredFieldDefinition definition,
Class<T> type)
Deprecated.
since 5.6 - use
EnabledFieldTransformer(Item, ConfiguredFieldDefinition, Class, I18NAuthoringSupport) instead. |
EnabledFieldTransformer(com.vaadin.v7.data.Item parent,
ConfiguredFieldDefinition definition,
Class<T> type,
I18NAuthoringSupport i18NAuthoringSupport) |
Modifier and Type | Method and Description |
---|---|
T |
readFromItem()
Transform a specific Item values to a specified type T.
|
definePropertyName, deriveLocaleAwareName, getBasePropertyName, getI18NAuthoringSupport, getLocale, getOrCreateProperty, getOrCreateProperty, getRelatedFormItem, getType, hasI18NSupport, isReadOnly, setI18NPropertyName, setLocale, setReadOnly, setType, writeToItem
@Inject public EnabledFieldTransformer(com.vaadin.v7.data.Item parent, ConfiguredFieldDefinition definition, Class<T> type, I18NAuthoringSupport i18NAuthoringSupport)
@Deprecated public EnabledFieldTransformer(com.vaadin.v7.data.Item parent, ConfiguredFieldDefinition definition, Class<T> type)
EnabledFieldTransformer(Item, ConfiguredFieldDefinition, Class, I18NAuthoringSupport)
instead.public T readFromItem()
Transformer
readFromItem
in interface Transformer<T>
readFromItem
in class BasicTransformer<T>
Copyright © 2019 Magnolia International Ltd.. All rights reserved.