|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFAction
org.apache.fop.pdf.PDFGoTo
class representing a /GoTo object.
Field Summary | |
protected String |
destination
|
protected String |
pageReference
the pageReference |
protected float |
xPosition
|
protected float |
yPosition
|
Fields inherited from class org.apache.fop.pdf.PDFObject |
generation, number |
Constructor Summary | |
PDFGoTo(int number,
String pageReference)
create a /GoTo object. |
Method Summary | |
String |
getAction()
represent the action to call this method should be implemented to return the action which gets called by the Link Object. |
String |
getPageReference()
|
void |
setDestination(String dest)
|
void |
setPageReference(String pageReference)
Sets page reference after object has been created |
void |
setXPosition(int xPosition)
Sets the x Position to jump to |
void |
setYPosition(int yPosition)
Sets the Y position to jump to |
byte[] |
toPDF()
represent the object in PDF |
Methods inherited from class org.apache.fop.pdf.PDFObject |
getNumber, output, referencePDF |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected String pageReference
protected String destination
protected float xPosition
protected float yPosition
Constructor Detail |
public PDFGoTo(int number, String pageReference)
number
- the object's numberpageReference
- the pageReference represented by this objectMethod Detail |
public void setPageReference(String pageReference)
pageReference
- the new page reference to usepublic String getPageReference()
public void setYPosition(int yPosition)
yPosition
- y positionpublic void setDestination(String dest)
public void setXPosition(int xPosition)
xPosition
- x positionpublic String getAction()
PDFAction
getAction
in class PDFAction
public byte[] toPDF()
toPDF
in class PDFAction
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |