org.jfree.workbook
Class Margins

java.lang.Object
  |
  +--org.jfree.workbook.Margins

public class Margins
extends java.lang.Object

Printing margins for a worksheet.


Field Summary
protected  double bottomPts
          Bottom margin.
protected  int bottomUnits
          The bottom units.
protected  double footerPts
          Footer margin.
protected  int footerUnits
          The footer units.
protected  double headerPts
          Header margin.
protected  int headerUnits
          The header units.
protected  double leftPts
          Left margin.
protected  int leftUnits
          The left units.
protected  double rightPts
          Right margin.
protected  int rightUnits
          The right units.
protected  double topPts
          Top margin.
protected  int topUnits
          The top units.
 
Constructor Summary
Margins()
          Default constructor.
 
Method Summary
 double getBottomPts()
          Returns the bottom margin.
 double getFooterPts()
          Returns the footer margin.
 double getHeaderPts()
          Returns the header margin.
 double getLeftPts()
          Returns the left margin.
 double getRightPts()
          Returns the right margin.
 double getTopPts()
          Returns the top margin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

topPts

protected double topPts
Top margin.


topUnits

protected int topUnits
The top units.


bottomPts

protected double bottomPts
Bottom margin.


bottomUnits

protected int bottomUnits
The bottom units.


leftPts

protected double leftPts
Left margin.


leftUnits

protected int leftUnits
The left units.


rightPts

protected double rightPts
Right margin.


rightUnits

protected int rightUnits
The right units.


headerPts

protected double headerPts
Header margin.


headerUnits

protected int headerUnits
The header units.


footerPts

protected double footerPts
Footer margin.


footerUnits

protected int footerUnits
The footer units.

Constructor Detail

Margins

public Margins()
Default constructor.

Method Detail

getTopPts

public double getTopPts()
Returns the top margin.

Returns:
The margin.

getBottomPts

public double getBottomPts()
Returns the bottom margin.

Returns:
The margin.

getLeftPts

public double getLeftPts()
Returns the left margin.

Returns:
The margin.

getRightPts

public double getRightPts()
Returns the right margin.

Returns:
The margin.

getHeaderPts

public double getHeaderPts()
Returns the header margin.

Returns:
The margin.

getFooterPts

public double getFooterPts()
Returns the footer margin.

Returns:
The margin.