org.pdfbox.pdmodel.interactive.annotation
Class PDAnnotationWidget

java.lang.Object
  extended byorg.pdfbox.pdmodel.interactive.annotation.PDAnnotation
      extended byorg.pdfbox.pdmodel.interactive.annotation.PDAnnotationWidget
All Implemented Interfaces:
COSObjectable

public class PDAnnotationWidget
extends PDAnnotation

This is the class that represents a widget.

Version:
$Revision: 1.2 $
Author:
Ben Litchfield

Field Summary
 
Fields inherited from class org.pdfbox.pdmodel.interactive.annotation.PDAnnotation
FLAG_HIDDEN, FLAG_INVISIBLE, FLAG_LOCKED, FLAG_NO_ROTATE, FLAG_NO_VIEW, FLAG_NO_ZOOM, FLAG_PRINTED, FLAG_READ_ONLY, FLAG_TOGGLE_NO_VIEW
 
Constructor Summary
PDAnnotationWidget()
          Constructor.
PDAnnotationWidget(COSDictionary field)
          Creates a PDWidget from a COSDictionary, expected to be a correct object definition for a field in PDF.
 
Methods inherited from class org.pdfbox.pdmodel.interactive.annotation.PDAnnotation
createAnnotation, getAction, getActions, getAnnotationFlags, getAnnotationName, getAppearance, getAppearanceStream, getBoderStyle, getColour, getContents, getCOSObject, getDictionary, getModifiedDate, getRectangle, isHidden, isInvisible, isLocked, isNoRotate, isNoView, isNoZoom, isPrinted, isReadOnly, isToggleNoView, setAction, setActions, setAnnotationFlags, setAnnotationName, setAppearance, setAppearanceStream, setBorderStyle, setColour, setContents, setHidden, setInvisible, setLocked, setModifiedDate, setNoRotate, setNoView, setNoZoom, setPrinted, setReadOnly, setRectangle, setToggleNoView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDAnnotationWidget

public PDAnnotationWidget()
Constructor.


PDAnnotationWidget

public PDAnnotationWidget(COSDictionary field)
Creates a PDWidget from a COSDictionary, expected to be a correct object definition for a field in PDF.

Parameters:
field - the PDF objet to represent as a field.