Package org.opencms.widgets
Class CmsLinkGalleryWidget
java.lang.Object
org.opencms.widgets.A_CmsWidget
org.opencms.widgets.A_CmsGalleryWidget
org.opencms.widgets.CmsLinkGalleryWidget
- All Implemented Interfaces:
I_CmsADEWidget,I_CmsWidget
Provides a widget that allows access to the available OpenCms external link galleries, for use on a widget dialog.
- Since:
- 6.0.0
-
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_CmsWidget
HELP_POSTFIX, LABEL_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new external link gallery widget.CmsLinkGalleryWidget(String configuration) Creates a new external link gallery widget with the given configuration. -
Method Summary
Modifier and TypeMethodDescriptionReturns the lower case name of the gallery, for example"html".Returns the upper case name of the gallery, for example"Html".Returns the class name of the widget.Creates a duplicate of this widget instance.booleanshowPreview(String value) Returnstrueif the preview button should be shown.Methods inherited from class org.opencms.widgets.A_CmsGalleryWidget
getConfiguration, getCssResourceLinks, getDefaultDisplayType, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getDialogWidget, getInitCall, getJavaScriptResourceLinks, isCompactViewEnabled, isInternalMethods inherited from class org.opencms.widgets.A_CmsWidget
equals, getConfiguration, getDialogHtmlEnd, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, getWidgetStringValue, hashCode, setConfiguration, setEditorValueMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencms.widgets.I_CmsWidget
getConfiguration, getDialogHtmlEnd, getHelpBubble, getHelpText, getWidgetStringValue, setConfiguration, setEditorValue
-
Constructor Details
-
CmsLinkGalleryWidget
public CmsLinkGalleryWidget()Creates a new external link gallery widget. -
CmsLinkGalleryWidget
Creates a new external link gallery widget with the given configuration.- Parameters:
configuration- the configuration to use
-
-
Method Details
-
getNameLower
Description copied from class:A_CmsGalleryWidgetReturns the lower case name of the gallery, for example"html".- Specified by:
getNameLowerin classA_CmsGalleryWidget- Returns:
- the lower case name of the gallery
- See Also:
-
getNameUpper
Description copied from class:A_CmsGalleryWidgetReturns the upper case name of the gallery, for example"Html".- Specified by:
getNameUpperin classA_CmsGalleryWidget- Returns:
- the upper case name of the gallery
- See Also:
-
getWidgetName
Description copied from interface:I_CmsADEWidgetReturns the class name of the widget.- Specified by:
getWidgetNamein interfaceI_CmsADEWidget- Overrides:
getWidgetNamein classA_CmsGalleryWidget- Returns:
- the class name
- See Also:
-
newInstance
Description copied from interface:I_CmsWidgetCreates a duplicate of this widget instance.- Returns:
- a duplicate of this widget instance
- See Also:
-
showPreview
Description copied from class:A_CmsGalleryWidgetReturnstrueif the preview button should be shown.- Specified by:
showPreviewin classA_CmsGalleryWidget- Parameters:
value- the current widget value- Returns:
trueif the preview button should be shown- See Also:
-