public abstract class A_CmsHtmlGalleryWidget extends A_CmsGalleryWidget
A_CmsWidget.CmsDummyWidgetDialog
HELP_POSTFIX, LABEL_PREFIX
Modifier | Constructor and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
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
in interface I_CmsWidget
getDialogWidget
in class 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
in interface I_CmsADEWidget
getWidgetName
in class A_CmsGalleryWidget
I_CmsADEWidget.getWidgetName()
public boolean showPreview(java.lang.String value)
A_CmsGalleryWidget
true
if the preview button should be shown.showPreview
in class A_CmsGalleryWidget
value
- the current widget valuetrue
if the preview button should be shownA_CmsGalleryWidget.showPreview(java.lang.String)