public abstract class A_CmsHtmlGalleryWidget extends A_CmsGalleryWidget
A_CmsWidget.CmsDummyWidgetDialog
HELP_POSTFIX, LABEL_PREFIX
限定符 | 构造器和说明 |
---|---|
protected |
A_CmsHtmlGalleryWidget()
Creates a new html gallery widget.
|
|
A_CmsHtmlGalleryWidget(java.lang.String configuration)
Creates a html gallery widget with the specified combo options.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
boolean |
showPreview(java.lang.String value)
Returns
true if the preview button should be shown. |
getConfiguration, getCssResourceLinks, getDefaultDisplayType, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getInitCall, getJavaScriptResourceLinks, getNameLower, getNameUpper, isCompactViewEnabled, isInternal
equals, getConfiguration, getDialogHtmlEnd, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, getWidgetStringValue, hashCode, setConfiguration, setEditorValue
getConfiguration, getDialogHtmlEnd, getHelpBubble, getHelpText, getWidgetStringValue, newInstance, setConfiguration, setEditorValue
public A_CmsHtmlGalleryWidget(java.lang.String configuration)
configuration
- the configuration (possible options) for the combo boxprotected A_CmsHtmlGalleryWidget()
public java.lang.String getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
I_CmsWidget
getDialogWidget
在接口中 I_CmsWidget
getDialogWidget
在类中 A_CmsGalleryWidget
cms
- 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_CmsADEWidget
getWidgetName
在接口中 I_CmsADEWidget
getWidgetName
在类中 A_CmsGalleryWidget
I_CmsADEWidget.getWidgetName()
public boolean showPreview(java.lang.String value)
A_CmsGalleryWidget
true
if the preview button should be shown.showPreview
在类中 A_CmsGalleryWidget
value
- the current widget valuetrue
if the preview button should be shownA_CmsGalleryWidget.showPreview(java.lang.String)