|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.ade.galleries.shared.CmsGalleryConfiguration
public class CmsGalleryConfiguration
The gallery configuration.
| Constructor Summary | |
|---|---|
CmsGalleryConfiguration()
Constructor. |
|
CmsGalleryConfiguration(I_CmsGalleryConfiguration configuration)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCurrentElement()
Returns the currently selected element. |
I_CmsGalleryProviderConstants.GalleryMode |
getGalleryMode()
Returns the gallery mode. |
java.lang.String |
getGalleryPath()
Returns the start gallery path. |
java.lang.String[] |
getGalleryTypes()
Returns the available gallery types. |
java.lang.String |
getImageFormatNames()
Returns the image format names. |
java.lang.String |
getImageFormats()
Returns the image formats. |
java.lang.String |
getLocale()
Returns the content locale. |
java.lang.String |
getReferencePath()
Returns the path of the edited resource. |
java.util.List<java.lang.String> |
getResourceTypes()
Returns the available resource types. |
java.util.List<java.lang.String> |
getSearchTypes()
Returns the searchable types. |
java.lang.String |
getStartFolder()
Returns the start folder. |
java.lang.String |
getStartSite()
Returns the start site. |
I_CmsGalleryProviderConstants.GalleryTabId[] |
getTabIds()
Returns the tab id's. |
java.lang.String |
getTreeToken()
Gets the tree token. |
boolean |
isIncludeFiles()
Returns if files are selectable. |
boolean |
isShowSiteSelector()
Returns if the site selector should be shown. |
boolean |
isUseFormats()
Returns if image formats should be used in preview. |
void |
setCurrentElement(java.lang.String currentElement)
Sets the currentElement. |
void |
setGalleryMode(I_CmsGalleryProviderConstants.GalleryMode galleryMode)
Sets the galleryMode. |
void |
setGalleryPath(java.lang.String galleryPath)
Sets the galleryPath. |
void |
setGalleryTypes(java.lang.String... galleryTypes)
Sets the galleryTypes. |
void |
setImageFormatNames(java.lang.String imageFormatNames)
Sets the image format names. |
void |
setImageFormats(java.lang.String imageFormats)
Sets the image formats. |
void |
setLocale(java.lang.String locale)
Sets the locale. |
void |
setReferencePath(java.lang.String referencePath)
Sets the referencePath. |
void |
setResourceTypes(java.util.List<java.lang.String> resourceTypes)
Sets the resourceTypes. |
void |
setSearchTypes(java.util.List<java.lang.String> searchTypes)
Sets the searchTypes. |
void |
setShowSiteSelector(boolean showSiteSelector)
Sets the showSiteSelector. |
void |
setStartFolder(java.lang.String startFolder)
Sets the start folder. |
void |
setStartSite(java.lang.String startSite)
Sets the startSite. |
void |
setTabIds(I_CmsGalleryProviderConstants.GalleryTabId... tabIds)
Sets the tab id's. |
void |
setUseFormats(boolean useFormats)
Sets the use formats flag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsGalleryConfiguration()
public CmsGalleryConfiguration(I_CmsGalleryConfiguration configuration)
configuration - the initial configuration| Method Detail |
|---|
public java.lang.String getCurrentElement()
I_CmsGalleryConfiguration
getCurrentElement in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getCurrentElement()public I_CmsGalleryProviderConstants.GalleryMode getGalleryMode()
I_CmsGalleryConfiguration
getGalleryMode in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getGalleryMode()public java.lang.String getGalleryPath()
I_CmsGalleryConfiguration
getGalleryPath in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getGalleryPath()public java.lang.String[] getGalleryTypes()
I_CmsGalleryConfiguration
getGalleryTypes in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getGalleryTypes()public java.lang.String getImageFormatNames()
I_CmsGalleryConfiguration
getImageFormatNames in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getImageFormatNames()public java.lang.String getImageFormats()
I_CmsGalleryConfiguration
getImageFormats in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getImageFormats()public java.lang.String getLocale()
I_CmsGalleryConfiguration
getLocale in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getLocale()public java.lang.String getReferencePath()
I_CmsGalleryConfiguration
getReferencePath in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getReferencePath()public java.util.List<java.lang.String> getResourceTypes()
I_CmsGalleryConfiguration
getResourceTypes in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getResourceTypes()public java.util.List<java.lang.String> getSearchTypes()
I_CmsGalleryConfiguration
getSearchTypes in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getSearchTypes()public java.lang.String getStartFolder()
I_CmsGalleryConfiguration
getStartFolder in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getStartFolder()public java.lang.String getStartSite()
I_CmsGalleryConfiguration
getStartSite in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getStartSite()public I_CmsGalleryProviderConstants.GalleryTabId[] getTabIds()
I_CmsGalleryConfiguration
getTabIds in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getTabIds()public java.lang.String getTreeToken()
I_CmsGalleryConfigurationThe tree token is used to save/load tree opening states for tree tabs in the gallery dialog. If two widget instances use different tree tokens, opening or closing tree entries in one will not effect the tree opening state of the other.
getTreeToken in interface I_CmsGalleryConfigurationI_CmsGalleryConfiguration.getTreeToken()public boolean isIncludeFiles()
I_CmsGalleryConfiguration
isIncludeFiles in interface I_CmsGalleryConfigurationtrue if files are selectableI_CmsGalleryConfiguration.isIncludeFiles()public boolean isShowSiteSelector()
I_CmsGalleryConfiguration
isShowSiteSelector in interface I_CmsGalleryConfigurationtrue if the site selector should be shownI_CmsGalleryConfiguration.isShowSiteSelector()public boolean isUseFormats()
I_CmsGalleryConfiguration
isUseFormats in interface I_CmsGalleryConfigurationtrue if image format should be used in previewI_CmsGalleryConfiguration.isUseFormats()public void setCurrentElement(java.lang.String currentElement)
I_CmsGalleryConfiguration
setCurrentElement in interface I_CmsGalleryConfigurationcurrentElement - the currentElement to setI_CmsGalleryConfiguration.setCurrentElement(java.lang.String)public void setGalleryMode(I_CmsGalleryProviderConstants.GalleryMode galleryMode)
galleryMode - the galleryMode to setpublic void setGalleryPath(java.lang.String galleryPath)
galleryPath - the galleryPath to setpublic void setGalleryTypes(java.lang.String... galleryTypes)
galleryTypes - the galleryTypes to setpublic void setImageFormatNames(java.lang.String imageFormatNames)
imageFormatNames - the imageFormatNames to setpublic void setImageFormats(java.lang.String imageFormats)
imageFormats - the image formats to setpublic void setLocale(java.lang.String locale)
locale - the locale to setpublic void setReferencePath(java.lang.String referencePath)
referencePath - the referencePath to setpublic void setResourceTypes(java.util.List<java.lang.String> resourceTypes)
resourceTypes - the resourceTypes to setpublic void setSearchTypes(java.util.List<java.lang.String> searchTypes)
searchTypes - the searchTypes to setpublic void setShowSiteSelector(boolean showSiteSelector)
showSiteSelector - the showSiteSelector to setpublic void setStartFolder(java.lang.String startFolder)
startFolder - the start folderpublic void setStartSite(java.lang.String startSite)
startSite - the startSite to setpublic void setTabIds(I_CmsGalleryProviderConstants.GalleryTabId... tabIds)
tabIds - the tab id's to setpublic void setUseFormats(boolean useFormats)
useFormats - the use formats flag to set
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||