public final class CmsGalleryConfigurationJSO extends com.google.gwt.core.client.JavaScriptObject implements I_CmsGalleryConfiguration
限定符 | 构造器和说明 |
---|---|
protected |
CmsGalleryConfigurationJSO()
Hiding constructor.
|
限定符和类型 | 方法和说明 |
---|---|
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 |
getGalleryTypeName()
Returns the gallery type name.
|
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.
|
CmsGalleryTabConfiguration |
getTabConfiguration()
Gets the tab configuration.
|
java.lang.String |
getTreeToken()
Gets the tree token.
|
java.lang.String |
getUploadFolder()
Returns the upload folder.
|
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.
|
static CmsGalleryConfigurationJSO |
parseConfiguration(java.lang.String conf)
Parses the given JSON configuration string.
|
void |
setCurrentElement(java.lang.String currentElement)
Sets the currentElement.
|
void |
setStartFolder(java.lang.String startFolder)
Sets the start folder.
|
public static CmsGalleryConfigurationJSO parseConfiguration(java.lang.String conf)
conf
- the JSON configuration stringpublic java.lang.String getCurrentElement()
I_CmsGalleryConfiguration
getCurrentElement
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getCurrentElement()
public I_CmsGalleryProviderConstants.GalleryMode getGalleryMode()
I_CmsGalleryConfiguration
getGalleryMode
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getGalleryMode()
public java.lang.String getGalleryPath()
I_CmsGalleryConfiguration
getGalleryPath
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getGalleryPath()
public java.lang.String getGalleryTypeName()
I_CmsGalleryConfiguration
getGalleryTypeName
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getGalleryTypeName()
public java.lang.String[] getGalleryTypes()
I_CmsGalleryConfiguration
getGalleryTypes
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getGalleryTypes()
public java.lang.String getImageFormatNames()
I_CmsGalleryConfiguration
getImageFormatNames
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getImageFormatNames()
public java.lang.String getImageFormats()
I_CmsGalleryConfiguration
getImageFormats
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getImageFormats()
public java.lang.String getLocale()
I_CmsGalleryConfiguration
getLocale
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getLocale()
public java.lang.String getReferencePath()
I_CmsGalleryConfiguration
getReferencePath
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getReferencePath()
public java.util.List<java.lang.String> getResourceTypes()
I_CmsGalleryConfiguration
getResourceTypes
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getResourceTypes()
public java.util.List<java.lang.String> getSearchTypes()
I_CmsGalleryConfiguration
getSearchTypes
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getSearchTypes()
public java.lang.String getStartFolder()
I_CmsGalleryConfiguration
getStartFolder
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getStartFolder()
public java.lang.String getStartSite()
I_CmsGalleryConfiguration
getStartSite
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getStartSite()
public CmsGalleryTabConfiguration getTabConfiguration()
I_CmsGalleryConfiguration
getTabConfiguration
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getTabConfiguration()
public java.lang.String getTreeToken()
I_CmsGalleryConfiguration
The 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
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getTreeToken()
public java.lang.String getUploadFolder()
I_CmsGalleryConfiguration
getUploadFolder
在接口中 I_CmsGalleryConfiguration
I_CmsGalleryConfiguration.getUploadFolder()
public boolean isIncludeFiles()
I_CmsGalleryConfiguration
isIncludeFiles
在接口中 I_CmsGalleryConfiguration
true
if files are selectableI_CmsGalleryConfiguration.isIncludeFiles()
public boolean isShowSiteSelector()
I_CmsGalleryConfiguration
isShowSiteSelector
在接口中 I_CmsGalleryConfiguration
true
if the site selector should be shownI_CmsGalleryConfiguration.isShowSiteSelector()
public boolean isUseFormats()
I_CmsGalleryConfiguration
isUseFormats
在接口中 I_CmsGalleryConfiguration
true
if image format should be used in previewI_CmsGalleryConfiguration.isUseFormats()
public void setCurrentElement(java.lang.String currentElement)
I_CmsGalleryConfiguration
setCurrentElement
在接口中 I_CmsGalleryConfiguration
currentElement
- the currentElement to setI_CmsGalleryConfiguration.setCurrentElement(java.lang.String)
public void setStartFolder(java.lang.String startFolder)
I_CmsGalleryConfiguration
setStartFolder
在接口中 I_CmsGalleryConfiguration
startFolder
- the start folderI_CmsGalleryConfiguration.setStartFolder(java.lang.String)