org.apache.fop.layout
Class LinkSet


public class LinkSet

a set of rectangles on a page that are linked to a common destination


Field Summary
 (package private) intcontentRectangleWidth
           
 (package private) Stringdestination
          the destination of the links
 final static intEXTERNAL
           
 final static intINTERNAL
           
 (package private) Vectorrects
          the set of rectangles

Constructor Summary
LinkSet(String destination, Area area, int linkType)
           

Method Summary
 voidaddRect(Rectangle r, LineArea lineArea)
           
 voidalign()
           
 voidapplyAreaContainerOffsets(AreaContainer ac, Area area)
           
 AreagetArea()
           
 StringgetDest()
           
 intgetEndIndent()
           
 intgetLinkType()
           
 VectorgetRects()
           
 intgetStartIndent()
           
 voidmergeLinks()
           
 voidsetContentRectangleWidth(int contentRectangleWidth)
           
 voidsetXOffset(int x)
           
 voidsetYOffset(int y)
           

Field Detail

contentRectangleWidth

int contentRectangleWidth

destination

String destination
the destination of the links

EXTERNAL

public final static int EXTERNAL

INTERNAL

public final static int INTERNAL

rects

Vector rects
the set of rectangles
Constructor Detail

LinkSet

public LinkSet(String destination, Area area, int linkType)
Method Detail

addRect

public void addRect(Rectangle r, LineArea lineArea)

align

public void align()

applyAreaContainerOffsets

public void applyAreaContainerOffsets(AreaContainer ac, Area area)

getArea

public Area getArea()

getDest

public String getDest()

getEndIndent

public int getEndIndent()

getLinkType

public int getLinkType()

getRects

public Vector getRects()

getStartIndent

public int getStartIndent()

mergeLinks

public void mergeLinks()

setContentRectangleWidth

public void setContentRectangleWidth(int contentRectangleWidth)

setXOffset

public void setXOffset(int x)

setYOffset

public void setYOffset(int y)

Association Links

to Class java.lang.String

the destination of the links

to Class java.util.Vector

the set of rectangles

to Class org.apache.fop.layout.Area