org.pdfsam.console.business.dto
Class PageRotation
java.lang.Object
org.pdfsam.console.business.dto.PageRotation
- All Implemented Interfaces:
- java.io.Serializable
public class PageRotation
- extends java.lang.Object
- implements java.io.Serializable
Model for a page rotation
- Author:
- Andrea Vacondio
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEGREES_0
public static final int DEGREES_0
- See Also:
- Constant Field Values
DEGREES_90
public static final int DEGREES_90
- See Also:
- Constant Field Values
DEGREES_180
public static final int DEGREES_180
- See Also:
- Constant Field Values
DEGREES_270
public static final int DEGREES_270
- See Also:
- Constant Field Values
NO_PAGE
public static final int NO_PAGE
- See Also:
- Constant Field Values
SINGLE_PAGE
public static final int SINGLE_PAGE
- See Also:
- Constant Field Values
ODD_PAGES
public static final int ODD_PAGES
- See Also:
- Constant Field Values
EVEN_PAGES
public static final int EVEN_PAGES
- See Also:
- Constant Field Values
ALL_PAGES
public static final int ALL_PAGES
- See Also:
- Constant Field Values
PageRotation
public PageRotation()
PageRotation
public PageRotation(int pageNumber,
int degrees)
- type is SINGLE_PAGE
- Parameters:
degrees
- pageNumber
-
PageRotation
public PageRotation(int pageNumber,
int degrees,
int type)
- Parameters:
degrees
- pageNumber
- type
-
getPageNumber
public int getPageNumber()
- Returns:
- the pageNumber
setPageNumber
public void setPageNumber(int pageNumber)
- Parameters:
pageNumber
- the pageNumber to set
getDegrees
public int getDegrees()
- Returns:
- the degrees
setDegrees
public void setDegrees(int degrees)
- Parameters:
degrees
- the degrees to set
getType
public int getType()
- Returns:
- the type
setType
public void setType(int type)
- Parameters:
type
- the type to set
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object