info.magnolia.ui.form.field.factory
Class RichTextFieldFactory
java.lang.Object
info.magnolia.ui.form.AbstractFormItem
info.magnolia.ui.form.field.factory.AbstractFieldFactory<RichTextFieldDefinition,String>
info.magnolia.ui.form.field.factory.RichTextFieldFactory
- All Implemented Interfaces:
- FieldFactory, FormItem
public class RichTextFieldFactory
- extends AbstractFieldFactory<RichTextFieldDefinition,String>
Creates and initializes an edit field based on a field definition.
Method Summary |
protected com.vaadin.ui.Field<String> |
createFieldComponent()
Implemented by subclasses to create and initialize the Vaadin Field instance to use. |
Methods inherited from class info.magnolia.ui.form.field.factory.AbstractFieldFactory |
createDefaultValue, createField, getDefaultFieldType, getDefinitionType, getFieldDefinition, getFieldType, getI18nBasename, getView, initializeTransformer, setComponentProvider, setFieldValidatorFactoryFactory, setI18nContentSupport, setPropertyDataSourceAndDefaultValue, setPropertyDataSourceDefaultValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EVENT_SEND_MAGNOLIA_LINK
public static final String EVENT_SEND_MAGNOLIA_LINK
- Event is emit from server to client when link has been selected.
- See Also:
- Constant Field Values
EVENT_CANCEL_LINK
public static final String EVENT_CANCEL_LINK
- Event is emit from server to client when link dialog has been
canceled or exception has occurred. In case of exception
the event will carry error message.
- See Also:
- Constant Field Values
EVENT_GET_MAGNOLIA_LINK
public static final String EVENT_GET_MAGNOLIA_LINK
- Event is emit from client to server when user requests a link dialog.
Event carries optional link that should be treated as default link value.
- See Also:
- Constant Field Values
RichTextFieldFactory
@Inject
public RichTextFieldFactory(RichTextFieldDefinition definition,
com.vaadin.data.Item relatedFieldItem,
AppController appController,
UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n)
createFieldComponent
protected com.vaadin.ui.Field<String> createFieldComponent()
- Description copied from class:
AbstractFieldFactory
- Implemented by subclasses to create and initialize the Vaadin Field instance to use.
- Specified by:
createFieldComponent
in class AbstractFieldFactory<RichTextFieldDefinition,String>
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.