DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements.html
Class HtmlAreaPadding

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.html.HtmlAreaPadding

public class HtmlAreaPadding
extends java.lang.Object

This class can be used to place padding on a HTML Area.

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

View Example


Constructor Summary
HtmlAreaPadding(float padding)
          Creates a new instance of the HtmlAreaPadding class.
HtmlAreaPadding(float top, float right, float bottom, float left)
          Creates a new instance of the HtmlAreaPadding class.
 
Method Summary
 float getBottom()
          Gets the bottom padding of the HTML Area.
 float getLeft()
          Gets the left padding of the HTML Area.
 float getRight()
          Gets the right padding of the HTML Area.
 float getTop()
          Gets the top padding of the HTML Area.
 void setBottom(float value)
          Sets the bottom padding of the HTML Area.
 void setLeft(float value)
          Sets the left padding of the HTML Area.
 void setRight(float value)
          Sets the right padding of the HTML Area.
 void setTop(float value)
          Sets the top padding of the HTML Area.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlAreaPadding

public HtmlAreaPadding(float padding)
Creates a new instance of the HtmlAreaPadding class.

Parameters:
padding - Padding of the four sides of HTML Area.

HtmlAreaPadding

public HtmlAreaPadding(float top,
                       float right,
                       float bottom,
                       float left)
Creates a new instance of the HtmlAreaPadding class.

Parameters:
top - top padding of the HTML Area.
right - right padding of the HTML Area.
bottom - bottom padding of the HTML Area.
left - left padding of the HTML Area.
Method Detail

getTop

public float getTop()
Gets the top padding of the HTML Area.

Returns:
the top padding of the HTML Area.

setTop

public void setTop(float value)
Sets the top padding of the HTML Area.

Parameters:
value - the top padding of the HTML Area.

getRight

public float getRight()
Gets the right padding of the HTML Area.

Returns:
the right padding of the HTML Area.

setRight

public void setRight(float value)
Sets the right padding of the HTML Area.

Parameters:
value - the right padding of the HTML Area.

getBottom

public float getBottom()
Gets the bottom padding of the HTML Area.

Returns:
the bottom padding of the HTML Area.

setBottom

public void setBottom(float value)
Sets the bottom padding of the HTML Area.

Parameters:
value - the bottom padding of the HTML Area.

getLeft

public float getLeft()
Gets the left padding of the HTML Area.

Returns:
the left padding of the HTML Area.

setLeft

public void setLeft(float value)
Sets the left padding of the HTML Area.

Parameters:
value - the left padding of the HTML Area.

DynamicPDF by ceTe Software

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