public class CmsTypeComboWidget extends CmsComboWidget
A_CmsWidget.CmsDummyWidgetDialogCONFIGURATION_HEIGHTHELP_POSTFIX, LABEL_PREFIX| 构造器和说明 |
|---|
CmsTypeComboWidget()
Default constructor.
|
CmsTypeComboWidget(java.lang.String config)
Constructor with a configuration parameter.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale)
Returns the configuration string for the ADE content editor widget.
|
java.util.List<java.lang.String> |
getCssResourceLinks(CmsObject cms)
Returns a list of CSS resources required by the widget.
|
java.lang.String |
getInitCall()
Returns the java script initialization call.
|
java.util.List<java.lang.String> |
getJavaScriptResourceLinks(CmsObject cms)
Returns a list of java script resources required by the widget.
|
boolean |
isInternal()
Returns if this is an internal widget.
|
I_CmsWidget |
newInstance()
Creates a duplicate of this widget instance.
|
void |
setConfiguration(java.lang.String config)
Sets the configuration of this widget.
|
getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogWidget, getWidgetNameaddSelectOption, getConfiguration, getDefaultDisplayType, getHeight, getResourcePath, getSelectedValue, getSelectedValues, getSelectOptions, parseSelectOptions, setSelectOptionsequals, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, getWidgetStringValue, hashCode, isCompactViewEnabled, setEditorValuegetDialogInitMethod, getHelpBubble, getHelpText, getWidgetStringValue, isCompactViewEnabled, setEditorValuepublic CmsTypeComboWidget()
public CmsTypeComboWidget(java.lang.String config)
config - the configuration stringpublic java.lang.String getConfiguration(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, java.util.Locale contentLocale)
I_CmsADEWidgetgetConfiguration 在接口中 I_CmsADEWidgetgetConfiguration 在类中 A_CmsSelectWidgetcms - the OpenCms contextschemaType - the schema typemessages - the messagesresource - the edited resourcecontentLocale - the content localeI_CmsADEWidget.getConfiguration(org.opencms.file.CmsObject, org.opencms.xml.types.A_CmsXmlContentValue, org.opencms.i18n.CmsMessages, org.opencms.file.CmsResource, java.util.Locale)public java.util.List<java.lang.String> getCssResourceLinks(CmsObject cms)
A_CmsSelectWidgetgetCssResourceLinks 在接口中 I_CmsADEWidgetgetCssResourceLinks 在类中 A_CmsSelectWidgetcms - the current OpenCms contextI_CmsADEWidget.getCssResourceLinks(org.opencms.file.CmsObject)public java.lang.String getInitCall()
A_CmsSelectWidgetgetInitCall 在接口中 I_CmsADEWidgetgetInitCall 在类中 A_CmsSelectWidgetI_CmsADEWidget.getInitCall()public java.util.List<java.lang.String> getJavaScriptResourceLinks(CmsObject cms)
A_CmsSelectWidgetgetJavaScriptResourceLinks 在接口中 I_CmsADEWidgetgetJavaScriptResourceLinks 在类中 A_CmsSelectWidgetcms - the current OpenCms contextI_CmsADEWidget.getJavaScriptResourceLinks(org.opencms.file.CmsObject)public boolean isInternal()
A_CmsSelectWidgetOnly widgets belonging to the OpenCms core should be marked as internal.
isInternal 在接口中 I_CmsADEWidgetisInternal 在类中 A_CmsSelectWidgettrue if this is an internal widgetI_CmsADEWidget.isInternal()public I_CmsWidget newInstance()
I_CmsWidgetnewInstance 在接口中 I_CmsWidgetnewInstance 在类中 CmsComboWidgetI_CmsWidget.newInstance()public void setConfiguration(java.lang.String config)
I_CmsWidgetThis can be used to enable / disable certain widget features that should not always be available, or to pass specific initialization information to the widget. It depends on the widget implementation on how this information is used.
setConfiguration 在接口中 I_CmsWidgetsetConfiguration 在类中 A_CmsSelectWidgetconfig - the configuration to setA_CmsWidget.setConfiguration(java.lang.String)