|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.CmsWorkplace
org.opencms.workplace.tools.CmsToolDialog
org.opencms.workplace.CmsDialog
org.opencms.workplace.galleries.A_CmsGallery
org.opencms.workplace.galleries.CmsDownloadGallery
public class CmsDownloadGallery
Generates the download gallery popup window which can be used in editors or as a dialog widget.
Field Summary | |
---|---|
static java.lang.String |
URI_GALLERY
URI of the download gallery popup dialog. |
Fields inherited from class org.opencms.workplace.galleries.A_CmsGallery |
---|
ACTION_DELETE, ACTION_LIST, ACTION_SEARCH, ACTION_UPLOAD, CSS_FILENAME, DIALOG_DELETE, DIALOG_EDITPROPERTY, DIALOG_LIST, DIALOG_SEARCH, DIALOG_TYPE, DIALOG_UPLOAD, MODE_EDITOR, MODE_VIEW, MODE_WIDGET, OPEN_URI_SUFFIX, PARAM_CSSPATH, PARAM_DIALOGMODE, PARAM_FIELDID, PARAM_GALLERY_TYPENAME, PARAM_GALLERYPATH, PARAM_PAGE, PARAM_PROPERTYVALUE, PARAM_RESOURCEPATH, PARAM_SEARCHWORD, PATH_GALLERIES |
Fields inherited from class org.opencms.workplace.tools.CmsToolDialog |
---|
PARAM_BASE, PARAM_PATH, PARAM_ROOT, PARAM_STYLE, STYLE_NEW |
Constructor Summary | |
---|---|
CmsDownloadGallery()
Public empty constructor, required for A_CmsGallery.createInstance(String, CmsJspActionElement) . |
|
CmsDownloadGallery(CmsJspActionElement jsp)
Public constructor with JSP action element. |
|
CmsDownloadGallery(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Public constructor with JSP variables. |
Method Summary | |
---|---|
java.lang.String |
buildGalleryItemPreview()
Builds the html String for the preview frame. |
int |
getGalleryItemsTypeId()
Returns the type id of the gallery items that should be listed. |
java.lang.String |
getHeadFrameSetHeight()
Returns the height of the head frameset. |
java.lang.Integer |
getOrder()
Returns the order of the implemented gallery, used to sort the gallery buttons in the editors. |
Methods inherited from class org.opencms.workplace.tools.CmsToolDialog |
---|
dialogTitle, getAdminTool, getCurrentToolPath, getParamBase, getParamPath, getParamRoot, getParamStyle, getParentPath, getToolManager, iconsBlockArea, iconsBlockAreaEnd, iconsBlockAreaStart, initAdminTool, pageBody, pageHtmlStyle, setParamBase, setParamPath, setParamRoot, setParamStyle, useNewStyle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String URI_GALLERY
Constructor Detail |
---|
public CmsDownloadGallery()
A_CmsGallery.createInstance(String, CmsJspActionElement)
.
public CmsDownloadGallery(CmsJspActionElement jsp)
jsp
- an initialized JSP action elementpublic CmsDownloadGallery(javax.servlet.jsp.PageContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
context
- the JSP page contextreq
- the JSP requestres
- the JSP responseMethod Detail |
---|
public java.lang.String buildGalleryItemPreview()
buildGalleryItemPreview
in class A_CmsGallery
public int getGalleryItemsTypeId()
A_CmsGallery
In case of downloadgallery use '-1' to list all resources excluding folders.
getGalleryItemsTypeId
in class A_CmsGallery
A_CmsGallery.getGalleryItemsTypeId()
public java.lang.String getHeadFrameSetHeight()
A_CmsGallery
getHeadFrameSetHeight
in class A_CmsGallery
A_CmsGallery.getHeadFrameSetHeight()
public java.lang.Integer getOrder()
getOrder
in class A_CmsGallery
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |