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
-
Method Summary
Modifier and TypeMethodDescriptionReturns the image copyright information.Gets the focal point of the image (null if not set).int
getHash()
Returns the structure id hash.int
Returns the height.Returns the selected path.The view link for displaying the image.int
getWidth()
Returns the width.void
setCopyright
(String copyright) Sets the image copyright information.void
setFocalPoint
(CmsPoint imagePoint) Sets the focal point for the image.void
setHash
(int hash) Sets the hash.void
setHeight
(int height) Sets the height.void
setSelectedPath
(String selectedPath) Sets the selected path.void
setViewLink
(String viewLink) Sets the link for displaying the image.void
setWidth
(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, setTitle
Methods 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
-