DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements.forms
Class BorderStyle

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.forms.BorderStyle

public class BorderStyle
extends java.lang.Object

A border style class specifying the characteristics of a field�s border. An field may optionally be surrounded by a border when displayed or printed. If present, the border is drawn completely inside a field rectangle.

Licensing:
This class is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:


Field Summary
static BorderStyle BEVELED
          A simulated embossed rectangle that appears to be raised above the surface of the page.
static BorderStyle DASHED
          A dashed rectangle surrounding a field.
static BorderStyle INSET
          A simulated engraved rectangle that appears to be recessed below the surface of the page.
static BorderStyle SOLID
          A solid rectangle surrounding a field.
static BorderStyle UNDERLINE
          A single line along the bottom of a field's rectangle.
 
Method Summary
 void draw(DocumentWriter writer)
          Draws the BorderStyle's dictionary entries to the given DocumentWriter object.
 BorderThickness getThickness()
           
 void setMediumBorder()
          Sets the border line width as medium.
 void setThickBorder()
          Sets the border line width as Thick.
 void setThickness(BorderThickness value)
           
 void setThinBorder()
          Sets the border line width as thin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOLID

public static final BorderStyle SOLID
A solid rectangle surrounding a field.


DASHED

public static final BorderStyle DASHED
A dashed rectangle surrounding a field.


BEVELED

public static final BorderStyle BEVELED
A simulated embossed rectangle that appears to be raised above the surface of the page.


INSET

public static final BorderStyle INSET
A simulated engraved rectangle that appears to be recessed below the surface of the page.


UNDERLINE

public static final BorderStyle UNDERLINE
A single line along the bottom of a field's rectangle.

Method Detail

getThickness

public BorderThickness getThickness()

setThickness

public void setThickness(BorderThickness value)

setThinBorder

public void setThinBorder()
Sets the border line width as thin.


setMediumBorder

public void setMediumBorder()
Sets the border line width as medium.


setThickBorder

public void setThickBorder()
Sets the border line width as Thick.


draw

public void draw(DocumentWriter writer)
Draws the BorderStyle's dictionary entries to the given DocumentWriter object.

Parameters:
writer - DocumentWriter object to receive the output.
See Also:
DocumentWriter

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software