Package org.opencms.ade.galleries.shared
Class CmsImageInfoBean
java.lang.Object
org.opencms.gwt.shared.CmsIconBean
org.opencms.ade.galleries.shared.CmsResourceInfoBean
org.opencms.ade.galleries.shared.CmsImageInfoBean
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable,I_CmsHasIconClasses
Bean holding image info to be display in the resource preview dialog.
- Since:
- 8.0.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the image copyright information.Gets the focal point of the image (null if not set).intgetHash()Returns the structure id hash.intReturns the height.Returns the selected path.The view link for displaying the image.intgetWidth()Returns the width.voidsetCopyright(String copyright) Sets the image copyright information.voidsetFocalPoint(CmsPoint imagePoint) Sets the focal point for the image.voidsetHash(int hash) Sets the hash.voidsetHeight(int height) Sets the height.voidsetSelectedPath(String selectedPath) Sets the selected path.voidsetViewLink(String viewLink) Sets the link for displaying the image.voidsetWidth(int width) Sets the width.Methods inherited from class org.opencms.ade.galleries.shared.CmsResourceInfoBean
getDescription, getLastModified, getNoEditReason, getPreviewContent, getProperties, getPropertyLabel, getResourcePath, getResourceType, getSize, getStructureId, getTitle, setDescription, setLastModified, setNoEditReason, setPreviewContent, setProperties, setPropertyNiceNames, setResourcePath, setResourceType, setSize, setStructureId, setTitleMethods inherited from class org.opencms.gwt.shared.CmsIconBean
getBigIconClasses, getSmallIconClasses, setBigIconClasses, setSmallIconClasses
-
Constructor Details
-
CmsImageInfoBean
public CmsImageInfoBean()
-
-
Method Details
-
getCopyright
Returns the image copyright information.- Returns:
- the image copyright information
-
getFocalPoint
Gets the focal point of the image (null if not set).- Returns:
- the focal point of the image
-
getHash
Returns the structure id hash.- Returns:
- the hash
-
getHeight
Returns the height.- Returns:
- the height
-
getSelectedPath
Returns the selected path.- Returns:
- the selected path
-
getViewLink
The view link for displaying the image.- Returns:
- the link for displaying the image
-
getWidth
Returns the width.- Returns:
- the width
-
setCopyright
Sets the image copyright information.- Parameters:
copyright- the image copyright information to set
-
setHash
Sets the hash.- Parameters:
hash- the hash
-
setHeight
Sets the height.- Parameters:
height- the height to set
-
setSelectedPath
Sets the selected path.- Parameters:
selectedPath- the selected path to set
-
setViewLink
Sets the link for displaying the image.- Parameters:
viewLink- the link for displaying the image
-
setWidth
Sets the width.- Parameters:
width- the width to set
-