com.sun.pdfview
public class PDFDestination extends Object
Field Summary | |
---|---|
static int | FIT |
static int | FITB |
static int | FITBH |
static int | FITBV |
static int | FITH |
static int | FITR |
static int | FITV |
static int | XYZ The known types of destination |
Constructor Summary | |
---|---|
protected | PDFDestination(PDFObject pageObj, int type)
Creates a new instance of PDFDestination
|
Method Summary | |
---|---|
float | getBottom()
Get the bottom coordinate value |
static PDFDestination | getDestination(PDFObject obj, PDFObject root)
Get a destination from either an array (explicit destination), a
name (named destination) or a string (name tree destination).
|
float | getLeft()
Get the left coordinate value |
PDFObject | getPage()
Get the PDF Page object associated with this destination |
float | getRight()
Get the right coordinate value |
float | getTop()
Get the top coordinate value |
int | getType()
Get the type of this destination |
float | getZoom()
Get the zoom value |
void | setBottom(float bottom)
Set the bottom coordinate value |
void | setLeft(float left)
Set the left coordinate value |
void | setRight(float right)
Set the right coordinate value |
void | setTop(float top)
Set the top coordinate value |
void | setZoom(float zoom)
Set the zoom value |
Parameters: pageObj the page object this destination refers to type the type of page this object refers to
Parameters: obj the PDFObject representing this destination root the root of the PDF object tree