Class CmsTextareaWidgetFactory
java.lang.Object
org.opencms.acacia.client.widgets.CmsTextareaWidgetFactory
- All Implemented Interfaces:
I_CmsWidgetFactory,I_CmsHasInit
Factory to generate basic input widget.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConfiguration for enabling typography button in inline mode only.Array of both possible typography options. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFormWidget(String configuration) Creates the from editing widget.createInlineWidget(String configuration, com.google.gwt.dom.client.Element element) Wraps an existing DOM element to create an inline editing widget.static voidInitializes this class.
-
Field Details
-
CONF_TYPOGRAPHY
Configuration for enabling typography button in inline mode only.- See Also:
-
TYPOGRAPHY_OPTIONS
Array of both possible typography options.
-
-
Constructor Details
-
CmsTextareaWidgetFactory
public CmsTextareaWidgetFactory()
-
-
Method Details
-
initClass
Initializes this class. -
createFormWidget
Description copied from interface:I_CmsWidgetFactoryCreates the from editing widget.- Specified by:
createFormWidgetin interfaceI_CmsWidgetFactory- Parameters:
configuration- the widget configuration- Returns:
- the widget
- See Also:
-
createInlineWidget
public I_CmsEditWidget createInlineWidget(String configuration, com.google.gwt.dom.client.Element element) Description copied from interface:I_CmsWidgetFactoryWraps an existing DOM element to create an inline editing widget.- Specified by:
createInlineWidgetin interfaceI_CmsWidgetFactory- Parameters:
configuration- the widget configurationelement- the element to wrap- Returns:
- the widget
- See Also:
-