|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfsam.guiclient.dto.VisualPageListItem
public class VisualPageListItem
DTO representing a page of a document
Constructor Summary | |
---|---|
VisualPageListItem()
|
|
VisualPageListItem(java.awt.image.BufferedImage thumbnail,
int pageNumber)
|
|
VisualPageListItem(java.awt.image.BufferedImage thumbnail,
int pageNumber,
boolean deleted)
|
|
VisualPageListItem(java.awt.image.BufferedImage thumbnail,
int pageNumber,
boolean deleted,
java.lang.String parentFileCanonicalPath,
java.lang.String documentPassword)
|
|
VisualPageListItem(java.awt.image.BufferedImage thumbnail,
int pageNumber,
boolean deleted,
java.lang.String parentFileCanonicalPath,
java.lang.String documentPassword,
Rotation rotation)
|
|
VisualPageListItem(int pageNumber)
|
|
VisualPageListItem(int pageNumber,
java.lang.String parentFileCanonicalPath)
|
|
VisualPageListItem(int pageNumber,
java.lang.String parentFileCanonicalPath,
java.lang.String documentPassword)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
int |
getCompleteRotation()
|
java.lang.String |
getDocumentPassword()
|
Rotation |
getOriginalRotation()
|
int |
getPageNumber()
|
java.lang.String |
getPaperFormat()
|
java.lang.String |
getParentFileCanonicalPath()
|
Rotation |
getRotation()
|
java.awt.image.BufferedImage |
getThumbnail()
|
boolean |
isDeleted()
|
boolean |
isFullyRotated()
|
boolean |
isRotated()
|
void |
rotateAnticlockwise()
rotate anticlockwise the item |
void |
rotateClockwise()
rotate clockwise the item |
void |
setDeleted(boolean deleted)
|
void |
setDocumentPassword(java.lang.String documentPassword)
|
void |
setOriginalRotation(Rotation originalRotation)
|
void |
setPageNumber(int pageNumber)
|
void |
setPaperFormat(double width,
double height)
set the paper format using the screen resolution |
void |
setPaperFormat(double width,
double height,
int resolution)
Set the paper format in a string format |
void |
setPaperFormat(java.lang.String paperFormat)
|
void |
setParentFileCanonicalPath(java.lang.String parentFileCanonicalPath)
|
void |
setRotation(Rotation rotation)
|
void |
setThumbnail(java.awt.image.BufferedImage thumbnail)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VisualPageListItem()
public VisualPageListItem(int pageNumber)
pageNumber
- public VisualPageListItem(int pageNumber, java.lang.String parentFileCanonicalPath)
pageNumber
- parentFileCanonicalPath
- public VisualPageListItem(int pageNumber, java.lang.String parentFileCanonicalPath, java.lang.String documentPassword)
pageNumber
- parentFileCanonicalPath
- documentPassword
- public VisualPageListItem(java.awt.image.BufferedImage thumbnail, int pageNumber)
thumbnail
- pageNumber
- public VisualPageListItem(java.awt.image.BufferedImage thumbnail, int pageNumber, boolean deleted)
thumbnail
- pageNumber
- deleted
- public VisualPageListItem(java.awt.image.BufferedImage thumbnail, int pageNumber, boolean deleted, java.lang.String parentFileCanonicalPath, java.lang.String documentPassword)
thumbnail
- pageNumber
- deleted
- parentFileCanonicalPath
- documentPassword
- public VisualPageListItem(java.awt.image.BufferedImage thumbnail, int pageNumber, boolean deleted, java.lang.String parentFileCanonicalPath, java.lang.String documentPassword, Rotation rotation)
thumbnail
- pageNumber
- deleted
- parentFileCanonicalPath
- documentPassword
- rotation
- Method Detail |
---|
public java.awt.image.BufferedImage getThumbnail()
public void setThumbnail(java.awt.image.BufferedImage thumbnail)
thumbnail
- the thumbnails to setpublic int getPageNumber()
public void setPageNumber(int pageNumber)
pageNumber
- the pageNumber to setpublic boolean isDeleted()
public void setDeleted(boolean deleted)
deleted
- the deleted to setpublic java.lang.String getParentFileCanonicalPath()
public void setParentFileCanonicalPath(java.lang.String parentFileCanonicalPath)
parentFileCanonicalPath
- the parentFileCanonicalPath to setpublic java.lang.String getDocumentPassword()
public void setDocumentPassword(java.lang.String documentPassword)
documentPassword
- the documentPassword to setpublic Rotation getRotation()
public void setRotation(Rotation rotation)
rotation
- the rotation to setpublic void rotateClockwise()
public void rotateAnticlockwise()
public boolean isRotated()
public boolean isFullyRotated()
public void setPaperFormat(double width, double height, int resolution)
width
- width of the generated imageheight
- height of the generated imageresolution
- the resolution of the generated imagepublic void setPaperFormat(double width, double height)
width
- width of the generated imageheight
- height of the generated imagepublic java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String getPaperFormat()
public void setPaperFormat(java.lang.String paperFormat)
paperFormat
- the paperFormat to setpublic Rotation getOriginalRotation()
public void setOriginalRotation(Rotation originalRotation)
originalRotation
- the originalRotation to setpublic int getCompleteRotation()
originalRotation
and rotation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |