|
||||||||||||
| 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 java.lang.String |
destination
|
protected java.lang.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,
java.lang.String pageReference)
create a /GoTo object. |
|
| Method Summary | |
java.lang.String |
getAction()
represent the action to call this method should be implemented to return the action which gets called by the Link Object. |
java.lang.String |
getPageReference()
|
void |
setDestination(java.lang.String dest)
|
void |
setPageReference(java.lang.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 java.lang.String pageReference
protected java.lang.String destination
protected float xPosition
protected float yPosition
| Constructor Detail |
public PDFGoTo(int number,
java.lang.String pageReference)
number - the object's numberpageReference - the pageReference represented by this object| Method Detail |
public void setPageReference(java.lang.String pageReference)
pageReference - the new page reference to usepublic java.lang.String getPageReference()
public void setYPosition(int yPosition)
yPosition - y positionpublic void setDestination(java.lang.String dest)
public void setXPosition(int xPosition)
xPosition - x positionpublic java.lang.String getAction()
PDFAction
getAction in class PDFActionpublic byte[] toPDF()
toPDF in class PDFAction
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||