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_HEIGHTFields inherited from class org.opencms.widgets.A_CmsWidget
HELP_POSTFIX, LABEL_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionCreates 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, getDialogWidgetMethods inherited from class org.opencms.widgets.A_CmsSelectWidget
addSelectOption, getConfiguration, getConfiguration, getCssResourceLinks, getDefaultDisplayType, getHeight, getInitCall, getJavaScriptResourceLinks, getResourcePath, getSelectedValue, getSelectedValues, getSelectOptions, isInternal, parseSelectOptions, setConfiguration, setSelectOptionsMethods inherited from class org.opencms.widgets.A_CmsWidget
equals, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, getWidgetStringValue, hashCode, isCompactViewEnabled, setEditorValueMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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_CmsADEWidgetReturns the class name of the widget.- Specified by:
getWidgetNamein interfaceI_CmsADEWidget- Overrides:
getWidgetNamein classCmsComboWidget- Returns:
- the class name
- See Also:
-
newInstance
Description copied from interface:I_CmsWidgetCreates a duplicate of this widget instance.- Specified by:
newInstancein interfaceI_CmsWidget- Overrides:
newInstancein classCmsComboWidget- Returns:
- a duplicate of this widget instance
- See Also:
-