DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class PageElement

java.lang.Object
  |
  +--com.cete.dynamicpdf.PageElement
Direct Known Subclasses:
BackgroundImage, Bookmark, Circle, Group, ImportedPageArea, ImportedPageData, LayoutGrid, Line, Link, Note, Path, RotatingPageElement

public abstract class PageElement
extends java.lang.Object

Base class from which all page elements are derived.


Constructor Summary
protected PageElement()
          Initializes a new instance of the PageElement class.
protected PageElement(java.lang.String strID)
          Initializes a new instance of the PageElement class.
 
Method Summary
abstract  void draw(PageWriter writer)
          Draws the page element to the given PageWriter class.
 int getRequiredLicenseLevel()
          Gets the required license level of the page element.
 java.lang.String getStrID()
          Gets the ID of the page element.
protected  void setRequiredLicenseLevel(int level)
          Sets the required license level.
 void setStrID(java.lang.String strID)
          Sets the ID of the page element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageElement

protected PageElement()
Initializes a new instance of the PageElement class.


PageElement

protected PageElement(java.lang.String strID)
Initializes a new instance of the PageElement class.

Parameters:
strID - the String id the page element is know by.
Method Detail

setStrID

public void setStrID(java.lang.String strID)
Sets the ID of the page element.

Parameters:
strID - the String value indicating the ID of the page element.

getStrID

public java.lang.String getStrID()
Gets the ID of the page element.

Returns:
the String value which indicates the ID of the page element.

getRequiredLicenseLevel

public int getRequiredLicenseLevel()
Gets the required license level of the page element.

Returns:
the int value indicating the license level.

draw

public abstract void draw(PageWriter writer)
Draws the page element to the given PageWriter class.

Parameters:
writer - the PageWriter class to receive the page elements output.

setRequiredLicenseLevel

protected void setRequiredLicenseLevel(int level)
Sets the required license level.

Parameters:
level - the int value indicating the license level.

DynamicPDF by ceTe Software

API Reference for DynamicPDF™ for Java generated on December 20, 2005
© Copyright 2005, ceTe Software