|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.widgets.A_CmsWidget
org.opencms.widgets.A_CmsAdeGalleryWidget
org.opencms.widgets.CmsAdeImageGalleryWidget
public class CmsAdeImageGalleryWidget
ADE image gallery widget implementations.
Field Summary |
---|
Fields inherited from class org.opencms.widgets.A_CmsAdeGalleryWidget |
---|
PATH_GALLERY_JSP |
Fields inherited from class org.opencms.widgets.A_CmsWidget |
---|
HELP_POSTFIX, LABEL_PREFIX |
Constructor Summary | |
---|---|
|
CmsAdeImageGalleryWidget()
Constructor. |
protected |
CmsAdeImageGalleryWidget(java.lang.String configuration)
Creates a new gallery widget with the given configuration. |
Method Summary | |
---|---|
protected JSONObject |
getAdditionalGalleryInfo(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param,
java.lang.String configurationParam)
Returns additional widget information encapsulated in a JSON object. |
java.lang.String |
getGalleryName()
Returns the lower case name of the gallery, for example "html" . |
protected java.lang.String |
getGalleryTypes()
Returns the resource type names available within this gallery widget. |
protected java.lang.String |
getOpenPreviewCall(I_CmsWidgetDialog widgetDialog,
java.lang.String id)
Returns the javascript call to open the preview dialog. |
I_CmsWidget |
newInstance()
Creates a duplicate of this widget instance. |
Methods inherited from class org.opencms.widgets.A_CmsAdeGalleryWidget |
---|
getDialogWidget, getOpenGalleryCall |
Methods inherited from class org.opencms.widgets.A_CmsWidget |
---|
equals, getConfiguration, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, getWidgetStringValue, hashCode, setConfiguration, setEditorValue |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsAdeImageGalleryWidget()
protected CmsAdeImageGalleryWidget(java.lang.String configuration)
configuration
- the configuration to useMethod Detail |
---|
public java.lang.String getGalleryName()
A_CmsAdeGalleryWidget
"html"
.
getGalleryName
in class A_CmsAdeGalleryWidget
A_CmsAdeGalleryWidget.getGalleryName()
public I_CmsWidget newInstance()
I_CmsWidget
I_CmsWidget.newInstance()
protected JSONObject getAdditionalGalleryInfo(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param, java.lang.String configurationParam) throws JSONException
A_CmsAdeGalleryWidget
May be null
.
getAdditionalGalleryInfo
in class A_CmsAdeGalleryWidget
cms
- an initialized instance of a CmsObjectwidgetDialog
- the dialog where the widget is used onparam
- the widget parameter to generate the widget forconfigurationParam
- the widget configuration string
JSONException
A_CmsAdeGalleryWidget.getAdditionalGalleryInfo(org.opencms.file.CmsObject, org.opencms.widgets.I_CmsWidgetDialog, org.opencms.widgets.I_CmsWidgetParameter, java.lang.String)
protected java.lang.String getGalleryTypes()
A_CmsAdeGalleryWidget
getGalleryTypes
in class A_CmsAdeGalleryWidget
A_CmsAdeGalleryWidget.getGalleryTypes()
protected java.lang.String getOpenPreviewCall(I_CmsWidgetDialog widgetDialog, java.lang.String id)
A_CmsAdeGalleryWidget
getOpenPreviewCall
in class A_CmsAdeGalleryWidget
widgetDialog
- the dialog where the widget is used onid
- the field id
A_CmsAdeGalleryWidget.getOpenPreviewCall(org.opencms.widgets.I_CmsWidgetDialog, java.lang.String)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |