Top Description Fields Constructors Methods
org.apache.pdfbox.pdmodel.interactive.annotation.handlers

public Class PDLinkAppearanceHandler

extends PDAbstractAppearanceHandler
Class Inheritance
Imports
java.io.IOException, org.apache.commons.logging.Log, .LogFactory, org.apache.pdfbox.cos.COSArray, .COSBase, .COSNumber, org.apache.pdfbox.pdmodel.common.PDRectangle, org.apache.pdfbox.pdmodel.graphics.color.PDColor, .PDDeviceGray, org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation, .PDAnnotationLink, .PDBorderStyleDictionary, org.apache.pdfbox.pdmodel.PDAppearanceContentStream, .PDDocument

Handler to generate the link annotations appearance.

Field Summary

Modifier and TypeField and Description
private static final Log
Inherited from org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler:
ANGLED_STYLESARROW_ANGLEdocumentINTERIOR_COLOR_STYLESSHORT_STYLES

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
pack-priv float

Returns:

the line width
getLineWidth
()

Get the line with of the border.

Inherited from org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler:
addRectDifferencesapplyRectDifferencescreateCOSStreamdrawArrowdrawCircledrawCircle2drawDiamonddrawStylegetAnnotationgetAppearancegetColorgetDefaultFontgetDownAppearancegetNormalAppearanceAsContentStreamgetNormalAppearanceAsContentStreamgetPaddedRectanglegetRectanglegetRolloverAppearancehandleBorderBoxsetOpacity

Field Detail

LOGback to summary
private static final Log LOG

Constructor Detail

PDLinkAppearanceHandlerback to summary
public PDLinkAppearanceHandler(PDAnnotation annotation)
PDLinkAppearanceHandlerback to summary
public PDLinkAppearanceHandler(PDAnnotation annotation, PDDocument document)

Method Detail

generateDownAppearanceback to summary
public void generateDownAppearance()

Implements org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAppearanceHandler.generateDownAppearance.

Annotations
@Override
generateNormalAppearanceback to summary
public void generateNormalAppearance()

Implements org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAppearanceHandler.generateNormalAppearance.

Annotations
@Override
generateRolloverAppearanceback to summary
public void generateRolloverAppearance()

Implements org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAppearanceHandler.generateRolloverAppearance.

Annotations
@Override
getLineWidthback to summary
pack-priv float getLineWidth()

Get the line with of the border. Get the width of the line used to draw a border around the annotation. This may either be specified by the annotation dictionaries Border setting or by the W entry in the BS border style dictionary. If both are missing the default width is 1.

Returns:float

the line width