public class CmsRadioSelectWidget extends A_CmsSelectWidget
Please see the documentation of for a description
about the configuration String syntax for the select options.CmsSelectWidgetOption
The multi select widget does use the following select options:
CmsSelectWidgetOption.getValue() for the value of the option
CmsSelectWidgetOption.isDefault() for pre-selecting a specific value
CmsSelectWidgetOption.getOption() for the display name of the option
A_CmsWidget.CmsDummyWidgetDialogCONFIGURATION_HEIGHTHELP_POSTFIX, LABEL_PREFIX| 构造器和说明 |
|---|
CmsRadioSelectWidget()
Creates a new select widget.
|
CmsRadioSelectWidget(java.util.List<CmsSelectWidgetOption> configuration)
Creates a select widget with the select options specified in the given configuration List.
|
CmsRadioSelectWidget(java.lang.String configuration)
Creates a select widget with the specified select options.
|
| 限定符和类型 | 方法和说明 |
|---|---|
I_CmsXmlContentHandler.DisplayType |
getDefaultDisplayType()
Returns the default display type of this widget.
|
java.lang.String |
getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Generates the widget HTML for the provided widget parameter.
|
java.lang.String |
getWidgetName()
Returns the class name of the widget.
|
I_CmsWidget |
newInstance()
Creates a duplicate of this widget instance.
|
addSelectOption, getConfiguration, getConfiguration, getCssResourceLinks, getHeight, getInitCall, getJavaScriptResourceLinks, getResourcePath, getSelectedValue, getSelectedValues, getSelectOptions, isInternal, parseSelectOptions, setConfiguration, setSelectOptionsequals, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, getWidgetStringValue, hashCode, isCompactViewEnabled, setEditorValuegetDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpText, getWidgetStringValue, isCompactViewEnabled, setEditorValuepublic CmsRadioSelectWidget()
public CmsRadioSelectWidget(java.util.List<CmsSelectWidgetOption> configuration)
The list elements must be of type .CmsSelectWidgetOption
configuration - the configuration (possible options) for the select widgetCmsSelectWidgetOptionpublic CmsRadioSelectWidget(java.lang.String configuration)
configuration - the configuration (possible options) for the select boxpublic I_CmsXmlContentHandler.DisplayType getDefaultDisplayType()
I_CmsADEWidgetgetDefaultDisplayType 在接口中 I_CmsADEWidgetgetDefaultDisplayType 在类中 A_CmsSelectWidgetI_CmsADEWidget.getDefaultDisplayType()public java.lang.String getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
I_CmsWidgetcms - an initialized instance of a CmsObjectwidgetDialog - the dialog where the widget is used onparam - the widget parameter to generate the widget forI_CmsWidget.getDialogWidget(org.opencms.file.CmsObject, org.opencms.widgets.I_CmsWidgetDialog, org.opencms.widgets.I_CmsWidgetParameter)public java.lang.String getWidgetName()
I_CmsADEWidgetgetWidgetName 在接口中 I_CmsADEWidgetgetWidgetName 在类中 A_CmsSelectWidgetI_CmsADEWidget.getWidgetName()public I_CmsWidget newInstance()
I_CmsWidgetI_CmsWidget.newInstance()