intarsys PDF library API

de.intarsys.pdf.pd
Class PDBorderStyle

java.lang.Object
  extended by de.intarsys.pdf.cos.COSBasedObject
      extended by de.intarsys.pdf.pd.PDObject
          extended by de.intarsys.pdf.pd.PDBorderStyle
All Implemented Interfaces:
ICOSObjectListener, IAttributeSupport

public class PDBorderStyle
extends PDObject

The definition of a border style for an annotation.


Nested Class Summary
static class PDBorderStyle.MetaClass
          The meta class implementation
 
Field Summary
static COSName CN_S_B
          Style B: beveled
static COSName CN_S_D
          Style D: dashed
static COSName CN_S_I
          Style D: Inset
static COSName CN_S_S
          Style S: solid
static COSName CN_S_U
          Style D: underlined
static COSName CN_Type_Border
          The border type name
static COSName DK_D
          The DashArray type.
static COSName DK_S
          The Style type.
static COSName DK_W
          The width type.
static PDBorderStyle.MetaClass META
          The meta class instance
 
Fields inherited from class de.intarsys.pdf.pd.PDObject
DK_Subtype, DK_Type
 
Method Summary
 int[] getDashArray()
           
 COSName getStyle()
           
 float getWidth()
           
 void setDashArray(int[] newDashArray)
           
 void setStyle(COSName newStyle)
           
 void setWidth(float newWidth)
          Set the style.
 
Methods inherited from class de.intarsys.pdf.pd.PDObject
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toString
 
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, invalidateCaches, 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 PDBorderStyle.MetaClass META
The meta class instance


DK_W

public static final COSName DK_W
The width type.


DK_S

public static final COSName DK_S
The Style type.


CN_S_S

public static final COSName CN_S_S
Style S: solid


CN_S_D

public static final COSName CN_S_D
Style D: dashed


CN_S_B

public static final COSName CN_S_B
Style B: beveled


CN_S_I

public static final COSName CN_S_I
Style D: Inset


CN_S_U

public static final COSName CN_S_U
Style D: underlined


DK_D

public static final COSName DK_D
The DashArray type.


CN_Type_Border

public static final COSName CN_Type_Border
The border type name

Method Detail

setDashArray

public void setDashArray(int[] newDashArray)

getDashArray

public int[] getDashArray()

setStyle

public void setStyle(COSName newStyle)

getStyle

public COSName getStyle()

setWidth

public void setWidth(float newWidth)
Set the style. If newWidth = 0, no border is drawn.

Parameters:
newWidth - The new width.

getWidth

public float getWidth()

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.