Class CmsCategorizedSelectWidgetFactory
java.lang.Object
org.opencms.acacia.client.widgets.CmsCategorizedSelectWidgetFactory
- All Implemented Interfaces:
I_CmsWidgetFactory,I_CmsHasInit
public class CmsCategorizedSelectWidgetFactory
extends Object
implements I_CmsWidgetFactory, I_CmsHasInit
A factory for creating CmsCategorizedSelectWidget objects.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.opencms.gwt.shared.categorizedselect.I_CmsCategorizedSelectDataFactoryThe configuration factory used for unmarshalling the data from the server.static final StringName for the widget factory. -
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 widget factory on startup.
-
Field Details
-
WIDGET_NAME
Name for the widget factory.- See Also:
-
configFactory
public static final org.opencms.gwt.shared.categorizedselect.I_CmsCategorizedSelectDataFactory configFactoryThe configuration factory used for unmarshalling the data from the server.
-
-
Constructor Details
-
CmsCategorizedSelectWidgetFactory
public CmsCategorizedSelectWidgetFactory()
-
-
Method Details
-
initClass
Initializes widget factory on startup. -
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:
-