jPod PDF library

de.intarsys.pdf.pd
Class PDLinkAnnotation

java.lang.Object
  extended by de.intarsys.pdf.cos.COSBasedObject
      extended by de.intarsys.pdf.pd.PDObject
          extended by de.intarsys.pdf.pd.PDAnnotation
              extended by de.intarsys.pdf.pd.PDLinkAnnotation
All Implemented Interfaces:
ICOSObjectListener, IAdditionalActionSupport, de.intarsys.tools.attribute.IAttributeSupport

public class PDLinkAnnotation
extends PDAnnotation

An annotation implementing a hyperlink behavior within a document.


Nested Class Summary
static class PDLinkAnnotation.MetaClass
          The meta class implementation
 
Field Summary
static COSName CN_H_I
           
static COSName CN_H_N
           
static COSName CN_H_O
           
static COSName CN_H_P
           
static COSName CN_Subtype_Link
           
static COSName DK_Dest
           
static COSName DK_H
           
static COSName DK_PA
           
static COSName DK_QuadPoints
           
static PDLinkAnnotation.MetaClass META
          The meta class instance
 
Fields inherited from class de.intarsys.pdf.pd.PDAnnotation
ANNOTATION_ACTION_TRIGGERS, CN_Type_Annot, DK_A, DK_AP, DK_AS, DK_Border, DK_BS, DK_C, DK_CA, DK_Contents, DK_F, DK_IC, DK_M, DK_NM, DK_OC, DK_P, DK_Rect, DK_StructParent
 
Fields inherited from class de.intarsys.pdf.pd.PDObject
DK_Subtype, DK_Type
 
Fields inherited from interface de.intarsys.pdf.pd.IAdditionalActionSupport
DK_AA
 
Method Summary
 float getDefaultHeight()
          The default height this annotation likes to have.
 float getDefaultWidth()
          The default width this annotation likes to have.
 PDDestination getDestination()
           
 COSName getHighlightingMode()
           
 String getSubtypeLabel()
          A String representation of this.
 void setDestination(PDDestination destination)
           
 void setHighlightingMode(COSName newHighlightingMode)
           
 
Methods inherited from class de.intarsys.pdf.pd.PDAnnotation
addAction, basicGetFlags, basicSetFlags, canReceiveFocus, copy, dispose, getAction, getAdditionalActions, getAppearance, getAppearanceState, getAppearanceStates, getBorderStyle, getBorderStyleName, getBorderStyleWidth, getColor, getContents, getFlags, getMinHeight, getMinWidth, getModified, getName, getNormalizedRectangle, getPage, getRectangle, getSupportedTriggerEvents, invalidateCaches, isHidden, isInvisible, isLocked, isMarkupAnnotation, isNoRotate, isNoView, isNoZoom, isPrint, isReadOnly, isToggleNoView, isWidgetAnnotation, setAction, setAdditionalActions, setAppearance, setAppearanceState, setBorderStyle, setBorderStyleName, setBorderStyleWidth, setColor, setContents, setHidden, setInvisible, setLocked, setName, setNoRotate, setNoView, setNoZoom, setPrint, setReadOnly, setRectangle, setToggleNoView, supportsPrint, toString, touch
 
Methods inherited from class de.intarsys.pdf.pd.PDObject
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent
 
Methods inherited from class de.intarsys.pdf.cos.COSBasedObject
changed, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

META

public static final PDLinkAnnotation.MetaClass META
The meta class instance


CN_Subtype_Link

public static final COSName CN_Subtype_Link

DK_Dest

public static final COSName DK_Dest

DK_H

public static final COSName DK_H

DK_PA

public static final COSName DK_PA

DK_QuadPoints

public static final COSName DK_QuadPoints

CN_H_I

public static final COSName CN_H_I

CN_H_N

public static final COSName CN_H_N

CN_H_O

public static final COSName CN_H_O

CN_H_P

public static final COSName CN_H_P
Method Detail

getDefaultHeight

public float getDefaultHeight()
Description copied from class: PDAnnotation
The default height this annotation likes to have.

Overrides:
getDefaultHeight in class PDAnnotation
Returns:
The default height this annotation likes to have.

getDefaultWidth

public float getDefaultWidth()
Description copied from class: PDAnnotation
The default width this annotation likes to have.

Overrides:
getDefaultWidth in class PDAnnotation
Returns:
The default width this annotation likes to have.

getDestination

public PDDestination getDestination()

getHighlightingMode

public COSName getHighlightingMode()

getSubtypeLabel

public String getSubtypeLabel()
Description copied from class: PDAnnotation
A String representation of this.

Specified by:
getSubtypeLabel in class PDAnnotation
Returns:
A String representation of this.

setDestination

public void setDestination(PDDestination destination)

setHighlightingMode

public void setHighlightingMode(COSName newHighlightingMode)

jPod PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.