|
||||||||
| 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.
| 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_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,
CmsMessages messages,
I_CmsWidgetParameter param)
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. |
protected CmsVfsImageWidgetConfiguration |
getWidgetConfiguration(CmsObject cms,
CmsMessages messages,
I_CmsWidgetParameter param)
Returns the widget configuration. |
java.lang.String |
getWidgetName()
Returns the class name of the widget. |
I_CmsWidget |
newInstance()
Creates a duplicate of this widget instance. |
| Methods inherited from class org.opencms.widgets.A_CmsAdeGalleryWidget |
|---|
getConfiguration, getCssResourceLinks, getDialogWidget, getGalleryOpenParams, getInitCall, getJavaScriptResourceLinks, getJSONConfig, getOpenGalleryCall, isInternal |
| 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 |
| Methods inherited from interface org.opencms.widgets.I_CmsWidget |
|---|
getConfiguration, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpText, getWidgetStringValue, setConfiguration, setEditorValue |
| Constructor Detail |
|---|
public CmsAdeImageGalleryWidget()
protected CmsAdeImageGalleryWidget(java.lang.String configuration)
configuration - the configuration to use| Method Detail |
|---|
public java.lang.String getGalleryName()
A_CmsAdeGalleryWidget"html".
getGalleryName in class A_CmsAdeGalleryWidgetA_CmsAdeGalleryWidget.getGalleryName()public java.lang.String getWidgetName()
I_CmsADEWidget
getWidgetName in interface I_CmsADEWidgetgetWidgetName in class A_CmsAdeGalleryWidgetI_CmsADEWidget.getWidgetName()public I_CmsWidget newInstance()
I_CmsWidget
I_CmsWidget.newInstance()
protected JSONObject getAdditionalGalleryInfo(CmsObject cms,
CmsMessages messages,
I_CmsWidgetParameter param)
throws JSONException
A_CmsAdeGalleryWidget
May be null.
getAdditionalGalleryInfo in class A_CmsAdeGalleryWidgetcms - an initialized instance of a CmsObjectmessages - the dialog messagesparam - the widget parameter to generate the widget for
JSONException - if something goes wrong generating the JSON objectA_CmsAdeGalleryWidget.getAdditionalGalleryInfo(org.opencms.file.CmsObject, org.opencms.i18n.CmsMessages, org.opencms.widgets.I_CmsWidgetParameter)protected java.lang.String getGalleryTypes()
A_CmsAdeGalleryWidget
getGalleryTypes in class A_CmsAdeGalleryWidgetA_CmsAdeGalleryWidget.getGalleryTypes()
protected java.lang.String getOpenPreviewCall(I_CmsWidgetDialog widgetDialog,
java.lang.String id)
A_CmsAdeGalleryWidget
getOpenPreviewCall in class A_CmsAdeGalleryWidgetwidgetDialog - the dialog where the widget is used onid - the field id
A_CmsAdeGalleryWidget.getOpenPreviewCall(org.opencms.widgets.I_CmsWidgetDialog, java.lang.String)
protected CmsVfsImageWidgetConfiguration getWidgetConfiguration(CmsObject cms,
CmsMessages messages,
I_CmsWidgetParameter param)
A_CmsAdeGalleryWidget
getWidgetConfiguration in class A_CmsAdeGalleryWidgetcms - an initialized instance of a CmsObjectmessages - the dialog where the widget is used onparam - the widget parameter to generate the widget for
A_CmsAdeGalleryWidget.getWidgetConfiguration(org.opencms.file.CmsObject, org.opencms.i18n.CmsMessages, org.opencms.widgets.I_CmsWidgetParameter)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||