Class Image
- java.lang.Object
-
- com.gentics.contentnode.rest.model.ContentNodeItem
-
- com.gentics.contentnode.rest.model.File
-
- com.gentics.contentnode.rest.model.Image
-
- All Implemented Interfaces:
Serializable
public class Image extends File
Image object, represents an Image in GCN- Author:
- norbert
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.gentics.contentnode.rest.model.ContentNodeItem
ContentNodeItem.ItemType
-
-
Field Summary
-
Fields inherited from class com.gentics.contentnode.rest.model.File
broken, channelId, description, fileSize, fileType, folderId, folderName, forceOnline, inherited, online, tags, url
-
-
Constructor Summary
Constructors Constructor Description Image()
Constructor used by JAXB
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getDpiX()
DPI (x-Dimension)Integer
getDpiY()
DPI (y-Dimension)Float
getFpX()
Return the focal point x-axis factor.Float
getFpY()
Return the focal point y-axis factor.String
getIconCls()
Define attribute to select the appropriate classInteger
getSizeX()
Image size (x-Dimension)Integer
getSizeY()
Image size (y-Dimension)Integer
getTypeId()
Type IDBoolean
isGisResizable()
Whether the image is resizable by Gentics Image Storevoid
setDpiX(Integer dpiX)
void
setDpiY(Integer dpiY)
void
setFpX(Float fpX)
Set the Focal point x-axis factor.void
setFpY(Float fpY)
Set the focal point y-axis factor.void
setGisResizable(Boolean gisResizable)
Sets whether the image is resizable by Gentics Image Storevoid
setSizeX(Integer sizeX)
void
setSizeY(Integer sizeY)
-
Methods inherited from class com.gentics.contentnode.rest.model.File
getAlternateUrls, getChannelId, getCls, getDescription, getDisinheritedChannels, getFileSize, getFileType, getFolder, getFolderId, getFolderName, getInheritedFrom, getInheritedFromId, getLeaf, getLiveUrl, getMasterNode, getMasterNodeId, getNiceUrl, getPath, getPublishPath, getTags, getText, getUrl, isBroken, isDisinheritDefault, isDisinherited, isExcluded, isForceOnline, isInherited, isOnline, setAlternateUrls, setBroken, setChannelId, setCls, setDescription, setDisinheritDefault, setDisinherited, setDisinheritedChannels, setExcluded, setFileSize, setFileType, setFolder, setFolderId, setFolderName, setForceOnline, setIconCls, setInherited, setInheritedFrom, setInheritedFromId, setLeaf, setLiveUrl, setMasterNode, setMasterNodeId, setNiceUrl, setOnline, setPath, setPublishPath, setTags, setText, setTypeId, setUrl
-
Methods inherited from class com.gentics.contentnode.rest.model.ContentNodeItem
getCdate, getCreator, getDeleted, getEdate, getEditor, getFolderDeleted, getGlobalId, getId, getMasterDeleted, getName, getType, setCdate, setCreator, setDeleted, setEdate, setEditor, setFolderDeleted, setGlobalId, setId, setMasterDeleted, setName, setType
-
-
-
-
Method Detail
-
getIconCls
public String getIconCls()
Define attribute to select the appropriate class- Overrides:
getIconCls
in classFile
- Returns:
-
getSizeX
public Integer getSizeX()
Image size (x-Dimension)- Returns:
- the sizeX
-
getSizeY
public Integer getSizeY()
Image size (y-Dimension)- Returns:
- the sizeY
-
getDpiX
public Integer getDpiX()
DPI (x-Dimension)- Returns:
- the dpiX
-
getDpiY
public Integer getDpiY()
DPI (y-Dimension)- Returns:
- the dpiY
-
isGisResizable
public Boolean isGisResizable()
Whether the image is resizable by Gentics Image Store- Returns:
-
setSizeX
public void setSizeX(Integer sizeX)
- Parameters:
sizeX
- the sizeX to set
-
setSizeY
public void setSizeY(Integer sizeY)
- Parameters:
sizeY
- the sizeY to set
-
setDpiX
public void setDpiX(Integer dpiX)
- Parameters:
dpiX
- the dpiX to set
-
setDpiY
public void setDpiY(Integer dpiY)
- Parameters:
dpiY
- the dpiY to set
-
getFpX
public Float getFpX()
Return the focal point x-axis factor.- Returns:
-
setFpX
public void setFpX(Float fpX)
Set the Focal point x-axis factor.- Parameters:
fpX
-
-
getFpY
public Float getFpY()
Return the focal point y-axis factor.- Returns:
-
setFpY
public void setFpY(Float fpY)
Set the focal point y-axis factor.- Parameters:
fpY
-
-
setGisResizable
public void setGisResizable(Boolean gisResizable)
Sets whether the image is resizable by Gentics Image Store- Parameters:
gisResizable
- True if resizable
-
-