org.apache.fop.pdf
Class PDFLink

org.apache.fop.pdf.PDFObject
  |
  +--org.apache.fop.pdf.PDFLink

public class PDFLink
extends PDFObject

class representing an /Annot object of /Subtype /Link


Field Summary
 (package private) PDFActionaction
           
 (package private) floatbrx
           
 (package private) floatbry
           
 (package private) Stringcolor
           
 (package private) floatulx
           
 (package private) floatuly
           

Constructor Summary
PDFLink(int number, Rectangle r)
          create objects associated with a link annotation (GoToR)

Method Summary
 voidsetAction(PDFAction action)
           
 byte[]toPDF()
          produce the PDF representation of the object

Methods inherited from class org.apache.fop.pdf.PDFObject
getNumber, referencePDF

Field Detail

action

PDFAction action

brx

float brx

bry

float bry

color

String color

ulx

float ulx

uly

float uly
Constructor Detail

PDFLink

public PDFLink(int number, Rectangle r)
create objects associated with a link annotation (GoToR)
Parameters:
number - the object's number
producer - the application producing the PDF
Method Detail

setAction

public void setAction(PDFAction action)

toPDF

public byte[] toPDF()
produce the PDF representation of the object
Returns: the PDF

Association Links

to Class java.lang.String

to Class org.apache.fop.pdf.PDFAction