DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements
Class ContentArea

java.lang.Object
  extended by com.cete.dynamicpdf.PageElement
      extended by com.cete.dynamicpdf.pageelements.Group
          extended by com.cete.dynamicpdf.pageelements.ContentArea
All Implemented Interfaces:
IPageElementContainer

public class ContentArea
extends Group

Represents group of content with area.

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


Constructor Summary
ContentArea(float x, float y, float width, float height)
          Initializes a new instance of the ContentArea class.
 
Method Summary
 void draw(PageWriter writer)
          Draws the Content Area to the given PageWriter object.
 float getHeight()
          Get the height of the content area.
 float getWidth()
          Get the width of the content area.
 float getX()
          Gets the X coordinate of the content area.
 float getY()
          Gets the Y coordinate of the content area.
 void setHeight(float value)
          Set the height of the content area.
 void setWidth(float value)
          Set the width of the content area.
 void setX(float value)
          Sets the X coordinate of the content area.
 void setY(float value)
          Sets the Y coordinate of the content area.
 
Methods inherited from class com.cete.dynamicpdf.pageelements.Group
add, getEnumerator, getPageElement, getPageElement, getPageElementByID, hasElements, hasPageElements, insert, size
 
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
 

Constructor Detail

ContentArea

public ContentArea(float x,
                   float y,
                   float width,
                   float height)
Initializes a new instance of the ContentArea class.

Parameters:
x - X coordinate of the content area.
y - Y coordinate of the content area.
width - Width of the content area.
height - Height of the content area.
See Also:
ContentArea
Method Detail

draw

public void draw(PageWriter writer)
Draws the Content Area to the given PageWriter object.

Overrides:
draw in class Group
Parameters:
writer - PageWriter object to receive the content area's output.
See Also:
PageWriter

getX

public float getX()
Gets the X coordinate of the content area.

Returns:
the X coordinate of the content area.

setX

public void setX(float value)
Sets the X coordinate of the content area.

Parameters:
value - the X coordinate of the content area.

getY

public float getY()
Gets the Y coordinate of the content area.

Returns:
the Y coordinate of the content area.

setY

public void setY(float value)
Sets the Y coordinate of the content area.

Parameters:
value - the Y coordinate of the content area.

getWidth

public float getWidth()
Get the width of the content area.

Returns:
the width of the content area.

setWidth

public void setWidth(float value)
Set the width of the content area.

Parameters:
value - the width of the content area.

getHeight

public float getHeight()
Get the height of the content area.

Returns:
the height of the content area.

setHeight

public void setHeight(float value)
Set the height of the content area.

Parameters:
value - the height of the content area.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software