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
public class CmsImageInfoBean extends CmsResourceInfoBean
Bean holding image info to be display in the resource preview dialog.- Since:
- 8.0.
-
-
Constructor Summary
Constructors Constructor Description CmsImageInfoBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCopyright()
Returns the image copyright information.CmsPoint
getFocalPoint()
Gets the focal point of the image (null if not set).int
getHash()
Returns the structure id hash.int
getHeight()
Returns the height.java.lang.String
getSelectedPath()
Returns the selected path.java.lang.String
getViewLink()
The view link for displaying the image.int
getWidth()
Returns the width.void
setCopyright(java.lang.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(java.lang.String selectedPath)
Sets the selected path.void
setViewLink(java.lang.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 Detail
-
CmsImageInfoBean
public CmsImageInfoBean()
-
-
Method Detail
-
getCopyright
public java.lang.String getCopyright()
Returns the image copyright information.- Returns:
- the image copyright information
-
getFocalPoint
public CmsPoint getFocalPoint()
Gets the focal point of the image (null if not set).- Returns:
- the focal point of the image
-
getHash
public int getHash()
Returns the structure id hash.- Returns:
- the hash
-
getHeight
public int getHeight()
Returns the height.- Returns:
- the height
-
getSelectedPath
public java.lang.String getSelectedPath()
Returns the selected path.- Returns:
- the selected path
-
getViewLink
public java.lang.String getViewLink()
The view link for displaying the image.- Returns:
- the link for displaying the image
-
getWidth
public int getWidth()
Returns the width.- Returns:
- the width
-
setCopyright
public void setCopyright(java.lang.String copyright)
Sets the image copyright information.- Parameters:
copyright
- the image copyright information to set
-
setFocalPoint
public void setFocalPoint(CmsPoint imagePoint)
Sets the focal point for the image.- Parameters:
imagePoint
- the focal point
-
setHash
public void setHash(int hash)
Sets the hash.- Parameters:
hash
- the hash
-
setHeight
public void setHeight(int height)
Sets the height.- Parameters:
height
- the height to set
-
setSelectedPath
public void setSelectedPath(java.lang.String selectedPath)
Sets the selected path.- Parameters:
selectedPath
- the selected path to set
-
setViewLink
public void setViewLink(java.lang.String viewLink)
Sets the link for displaying the image.- Parameters:
viewLink
- the link for displaying the image
-
setWidth
public void setWidth(int width)
Sets the width.- Parameters:
width
- the width to set
-
-