Package com.saperion.ngc.model.document
Class DocumentImageInfo
- java.lang.Object
-
- com.saperion.ngc.model.document.DocumentImageInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class DocumentImageInfo extends java.lang.Object implements java.io.Serializable- Author:
- rbo
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentImageInfo.DocumentThumbnail
-
Constructor Summary
Constructors Constructor Description DocumentImageInfo()Constructor.DocumentImageInfo(java.util.List<DocumentImageInfo.DocumentThumbnail> imageList, int id)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddImage(org.zkoss.image.Image image)Adds a new image.voidaddThumbnail(org.zkoss.image.Image image, int elementNumber)Adds a new image.voidclear()Clears all images..intgetActualId()org.zkoss.image.ImagegetActualImage()intgetImageCount()java.util.List<DocumentImageInfo.DocumentThumbnail>getImages()voidsetActualId(int id)Set the actual image id.
-
-
-
Constructor Detail
-
DocumentImageInfo
public DocumentImageInfo()
Constructor.
-
DocumentImageInfo
public DocumentImageInfo(java.util.List<DocumentImageInfo.DocumentThumbnail> imageList, int id)
Constructor.- Parameters:
imageList- Image listid- Selected id
-
-
Method Detail
-
addThumbnail
public void addThumbnail(org.zkoss.image.Image image, int elementNumber)Adds a new image.- Parameters:
image- ImageelementNumber- Element number
-
getImages
public java.util.List<DocumentImageInfo.DocumentThumbnail> getImages()
- Returns:
- Array of images
-
addImage
public void addImage(org.zkoss.image.Image image)
Adds a new image.- Parameters:
image- Image
-
getActualId
public int getActualId()
- Returns:
- Actual id
-
setActualId
public void setActualId(int id)
Set the actual image id.- Parameters:
id- Id
-
getActualImage
public org.zkoss.image.Image getActualImage()
- Returns:
- Actual image
-
clear
public void clear()
Clears all images..
-
getImageCount
public int getImageCount()
- Returns:
- image count
-
-