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
Modifier and TypeFieldDescriptionstatic final String
Configuration for enabling typography button in inline mode only.Array of both possible typography options. -
Constructor Summary
-
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 void
Initializes 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_CmsWidgetFactory
Creates the from editing widget.- Specified by:
createFormWidget
in 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_CmsWidgetFactory
Wraps an existing DOM element to create an inline editing widget.- Specified by:
createInlineWidget
in interfaceI_CmsWidgetFactory
- Parameters:
configuration
- the widget configurationelement
- the element to wrap- Returns:
- the widget
- See Also:
-