|
||||||||
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_CmsAdeGalleryWidget |
---|
A_CmsAdeGalleryWidget.GALLERY_PARAM |
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(String configuration)
Creates a new gallery widget with the given configuration. |
Method Summary | |
---|---|
protected JSONObject |
getAdditionalGalleryInfo(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Returns additional widget information encapsulated in a JSON object. |
String |
getGalleryName()
Returns the lower case name of the gallery, for example "html" . |
protected String |
getGalleryTypes()
Returns the resource type names available within this gallery widget. |
protected String |
getOpenPreviewCall(I_CmsWidgetDialog widgetDialog,
String id)
Returns the javascript call to open the preview dialog. |
protected CmsVfsImageWidgetConfiguration |
getWidgetConfiguration(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Returns the widget configuration. |
I_CmsWidget |
newInstance()
Creates a duplicate of this widget instance. |
Methods inherited from class org.opencms.widgets.A_CmsAdeGalleryWidget |
---|
getDialogWidget, getGalleryOpenParams, 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(String configuration)
configuration
- the configuration to useMethod Detail |
---|
public 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) 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 for
JSONException
A_CmsAdeGalleryWidget.getAdditionalGalleryInfo(org.opencms.file.CmsObject, org.opencms.widgets.I_CmsWidgetDialog, org.opencms.widgets.I_CmsWidgetParameter)
protected CmsVfsImageWidgetConfiguration getWidgetConfiguration(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
A_CmsAdeGalleryWidget
getWidgetConfiguration
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 for
A_CmsAdeGalleryWidget.getWidgetConfiguration(org.opencms.file.CmsObject, org.opencms.widgets.I_CmsWidgetDialog, org.opencms.widgets.I_CmsWidgetParameter)
protected String getGalleryTypes()
A_CmsAdeGalleryWidget
getGalleryTypes
in class A_CmsAdeGalleryWidget
A_CmsAdeGalleryWidget.getGalleryTypes()
protected String getOpenPreviewCall(I_CmsWidgetDialog widgetDialog, 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 |