Package org.opencms.widgets
Class CmsSelectComboWidget
java.lang.Object
org.opencms.widgets.A_CmsWidget
org.opencms.widgets.A_CmsSelectWidget
org.opencms.widgets.CmsComboWidget
org.opencms.widgets.CmsSelectComboWidget
- All Implemented Interfaces:
I_CmsADEWidget
,I_CmsWidget
Select box widget that can transform into a combo box by clicking an edit icon.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencms.widgets.A_CmsWidget
A_CmsWidget.CmsDummyWidgetDialog
-
Field Summary
Fields inherited from class org.opencms.widgets.A_CmsSelectWidget
CONFIGURATION_HEIGHT
Fields inherited from class org.opencms.widgets.A_CmsWidget
HELP_POSTFIX, LABEL_PREFIX
-
Constructor Summary
ConstructorDescriptionCreates a new combo widget.CmsSelectComboWidget
(String configuration) Creates a combo widget with the specified combo options.CmsSelectComboWidget
(List<CmsSelectWidgetOption> configuration) Creates a combo widget with the select options specified in the given configuration List. -
Method Summary
Modifier and TypeMethodDescriptionReturns the class name of the widget.Creates a duplicate of this widget instance.Methods inherited from class org.opencms.widgets.CmsComboWidget
getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogWidget
Methods inherited from class org.opencms.widgets.A_CmsSelectWidget
addSelectOption, getConfiguration, getConfiguration, getCssResourceLinks, getDefaultDisplayType, getHeight, getInitCall, getJavaScriptResourceLinks, getResourcePath, getSelectedValue, getSelectedValues, getSelectOptions, isInternal, parseSelectOptions, setConfiguration, setSelectOptions
Methods inherited from class org.opencms.widgets.A_CmsWidget
equals, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, getWidgetStringValue, hashCode, isCompactViewEnabled, setEditorValue
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opencms.widgets.I_CmsWidget
getDialogInitMethod, getHelpBubble, getHelpText, getWidgetStringValue, isCompactViewEnabled, setEditorValue
-
Constructor Details
-
CmsSelectComboWidget
public CmsSelectComboWidget()Creates a new combo widget. -
CmsSelectComboWidget
Creates a combo widget with the select options specified in the given configuration List.The list elements must be of type
.CmsSelectWidgetOption
- Parameters:
configuration
- the configuration (possible options) for the select widget- See Also:
-
CmsSelectComboWidget
Creates a combo widget with the specified combo options.- Parameters:
configuration
- the configuration (possible options) for the combo box
-
-
Method Details
-
getWidgetName
Description copied from interface:I_CmsADEWidget
Returns the class name of the widget.- Specified by:
getWidgetName
in interfaceI_CmsADEWidget
- Overrides:
getWidgetName
in classCmsComboWidget
- Returns:
- the class name
- See Also:
-
newInstance
Description copied from interface:I_CmsWidget
Creates a duplicate of this widget instance.- Specified by:
newInstance
in interfaceI_CmsWidget
- Overrides:
newInstance
in classCmsComboWidget
- Returns:
- a duplicate of this widget instance
- See Also:
-