Style Intelligence v12.0

inetsoft.report
Class Margin

java.lang.Object
  extended by inetsoft.report.Margin
All Implemented Interfaces:
Serializable, Cloneable

public class Margin
extends Object
implements Serializable, Cloneable

This class defines the page margin parameters. The values are specified in inches.

See Also:
Serialized Form

Field Summary
 double bottom
          Bottom margin in inches.
 double left
          Left margin in inches.
 double right
          Right margin in inches.
 double top
          Top margin in inches.
 
Constructor Summary
Margin()
          Create an empty margin.
Margin(double t, double l, double b, double r)
          Create a margin of specified dimension.
Margin(Margin margin)
          Make a copy of the margin object.
 
Method Summary
 Object clone()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

top

public double top
Top margin in inches.


left

public double left
Left margin in inches.


bottom

public double bottom
Bottom margin in inches.


right

public double right
Right margin in inches.

Constructor Detail

Margin

public Margin()
Create an empty margin.


Margin

public Margin(double t,
              double l,
              double b,
              double r)
Create a margin of specified dimension.

Parameters:
t - top margin.
l - left margin.
b - bottom margin.
r - right margin.

Margin

public Margin(Margin margin)
Make a copy of the margin object.

Method Detail

toString

public String toString()
Overrides:
toString in class Object

clone

public Object clone()
Overrides:
clone in class Object

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.