DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements.barcoding
Class Dim2Barcode

java.lang.Object
  |
  +--com.cete.dynamicpdf.PageElement
        |
        +--com.cete.dynamicpdf.pageelements.barcoding.Dim2Barcode
All Implemented Interfaces:
ICoordinate
Direct Known Subclasses:
Pdf417

public abstract class Dim2Barcode
extends PageElement
implements ICoordinate

This is the base class for Pdf417 and MacroPdf417.

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


Method Summary
abstract  void draw(PageWriter writer)
          Draws the barcode to the given PageWriter object.
 float getAngle()
          Gets the angle to be rotated.
 Color getColor()
          Gets the Color of PDF417 bar code.
 float getX()
          Gets the X coordinate of the PDF417 bar code.
 float getY()
          Gets the Y coordinate of the PDF417 bar code.
 void setAngle(float angle)
          Sets the rotated angle for PDFf417 bar code.
 void setColor(Color color)
          Sets the Color for the PDF417 bar code.
 void setX(float x)
          Sets the X coordinate of the PDF417 bar code.
 void setY(float y)
          Sets the Y coordinate of the PDF417 bar code.
 
Methods inherited from class com.cete.dynamicpdf.PageElement
getRequiredLicenseLevel, getStrID, setRequiredLicenseLevel, setStrID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

draw

public abstract void draw(PageWriter writer)
Draws the barcode to the given PageWriter object.

Specified by:
draw in class PageElement
Parameters:
writer - PageWriter object to receive the page element's output.
See Also:
PageWriter

getColor

public Color getColor()
Gets the Color of PDF417 bar code.

Returns:
Color object.

setColor

public void setColor(Color color)
Sets the Color for the PDF417 bar code.

Parameters:
color - color for the PDF417 bar code.
See Also:
Color

getX

public float getX()
Gets the X coordinate of the PDF417 bar code.

Specified by:
getX in interface ICoordinate
Returns:
float x The X coordinate of the PDF417 bar code.

setX

public void setX(float x)
Sets the X coordinate of the PDF417 bar code.

Specified by:
setX in interface ICoordinate
Parameters:
x - The X coordinate of the PDF417 bar code.

getY

public float getY()
Gets the Y coordinate of the PDF417 bar code.

Specified by:
getY in interface ICoordinate
Returns:
float y The Y coordinate of the PDF417 bar code.

setY

public void setY(float y)
Sets the Y coordinate of the PDF417 bar code.

Specified by:
setY in interface ICoordinate
Parameters:
y - The Y coordinate of the PDF417 bar code.

getAngle

public float getAngle()
Gets the angle to be rotated.

Returns:
float value of angle to be rotated.

setAngle

public void setAngle(float angle)
Sets the rotated angle for PDFf417 bar code.

Parameters:
angle - float value of angle to be rotated.

DynamicPDF by ceTe Software

API Reference for DynamicPDFTM v4.0.1 for Java generated on October 06, 2006
© Copyright 2006, ceTe Software