Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.interactive.annotation » [javadoc | source]
org.apache.pdfbox.pdmodel.interactive.annotation
public class: PDBorderStyleDictionary [javadoc | source]
java.lang.Object
   org.apache.pdfbox.pdmodel.interactive.annotation.PDBorderStyleDictionary

All Implemented Interfaces:
    COSObjectable

This class represents a PDF /BS entry the border style dictionary.
Field Summary
public static final  String STYLE_SOLID    Constant for the name of a solid style. 
public static final  String STYLE_DASHED    Constant for the name of a dashed style. 
public static final  String STYLE_BEVELED    Constant for the name of a beveled style. 
public static final  String STYLE_INSET    Constant for the name of a inset style. 
public static final  String STYLE_UNDERLINE    Constant for the name of a underline style. 
Constructor:
 public PDBorderStyleDictionary() 
 public PDBorderStyleDictionary(COSDictionary dict) 
    Constructor.
    Parameters:
    dict - a border style dictionary.
Method from org.apache.pdfbox.pdmodel.interactive.annotation.PDBorderStyleDictionary Summary:
getCOSObject,   getDashStyle,   getDictionary,   getStyle,   getWidth,   setDashStyle,   setStyle,   setWidth
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.interactive.annotation.PDBorderStyleDictionary Detail:
 public COSBase getCOSObject() 
    returns the dictionary.
 public PDLineDashPattern getDashStyle() 
    This will retrieve the dash style used for drawing the border.
 public COSDictionary getDictionary() 
    returns the dictionary.
 public String getStyle() 
    This will retrieve the border style, see the STYLE_* constants for valid values.
 public float getWidth() 
    This will retrieve the border width in points, 0 = no border.
 public  void setDashStyle(PDLineDashPattern d) 
    This will set the dash style used for drawing the border.
 public  void setStyle(String s) 
    This will set the border style, see the STYLE_* constants for valid values.
 public  void setWidth(float w) 
    This will set the border width in points, 0 = no border.