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
Image object, represents an Image in GCN
- Author:
- norbert
- See Also:
-
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
-
Method Summary
Modifier and TypeMethodDescriptiongetDpiX()
DPI (x-Dimension)getDpiY()
DPI (y-Dimension)getFpX()
Return the focal point x-axis factor.getFpY()
Return the focal point y-axis factor.Define attribute to select the appropriate classgetSizeX()
Image size (x-Dimension)getSizeY()
Image size (y-Dimension)Type IDWhether the image is resizable by Gentics Image Storevoid
void
void
Set the Focal point x-axis factor.void
Set the focal point y-axis factor.void
setGisResizable
(Boolean gisResizable) Sets whether the image is resizable by Gentics Image Storevoid
void
Methods inherited from class com.gentics.contentnode.rest.model.File
getAlternateUrls, getChannelId, getCls, getCustomCdate, getCustomEdate, 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, setCustomCdate, setCustomEdate, 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
-
Constructor Details
-
Image
public Image()Constructor used by JAXB
-
-
Method Details
-
getIconCls
Define attribute to select the appropriate class- Overrides:
getIconCls
in classFile
- Returns:
-
getSizeX
Image size (x-Dimension)- Returns:
- the sizeX
-
getSizeY
Image size (y-Dimension)- Returns:
- the sizeY
-
getTypeId
Type ID -
getDpiX
DPI (x-Dimension)- Returns:
- the dpiX
-
getDpiY
DPI (y-Dimension)- Returns:
- the dpiY
-
isGisResizable
Whether the image is resizable by Gentics Image Store- Returns:
-
setSizeX
- Parameters:
sizeX
- the sizeX to set
-
setSizeY
- Parameters:
sizeY
- the sizeY to set
-
setDpiX
- Parameters:
dpiX
- the dpiX to set
-
setDpiY
- Parameters:
dpiY
- the dpiY to set
-
getFpX
Return the focal point x-axis factor.- Returns:
-
setFpX
Set the Focal point x-axis factor.- Parameters:
fpX
-
-
getFpY
Return the focal point y-axis factor.- Returns:
-
setFpY
Set the focal point y-axis factor.- Parameters:
fpY
-
-
setGisResizable
Sets whether the image is resizable by Gentics Image Store- Parameters:
gisResizable
- True if resizable
-