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
Modifier and TypeFieldDescriptionstatic final org.opencms.gwt.shared.categorizedselect.I_CmsCategorizedSelectDataFactory
The configuration factory used for unmarshalling the data from the server.static final String
Name for the widget factory. -
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 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_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:
-