public class ViewerRotationChangeEvent extends ViewerEvent
DocumentViewer.| Constructor and Description |
|---|
ViewerRotationChangeEvent(Object source,
RotationAngle rotationAngle) |
ViewerRotationChangeEvent(Object source,
RotationAngle rotationAngle,
int[] rotatedPageNumbers) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getRotatedPageNumbers()
Returns numbers of rotated pages.
|
RotationAngle |
getRotationAngle()
Returns current angle of rotation.
|
boolean |
isRotatedSpecificPages()
Returns whether some pages have been rotated.
|
getSource, toStringpublic ViewerRotationChangeEvent(Object source, RotationAngle rotationAngle)
public ViewerRotationChangeEvent(Object source, RotationAngle rotationAngle, int[] rotatedPageNumbers)
public RotationAngle getRotationAngle()
public boolean isRotatedSpecificPages()
public int[] getRotatedPageNumbers()