com.businessobjects.rebean.wi
Interface Margins

All Superinterfaces:
Unit

public interface Margins
extends Unit

Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.

Margins interface represents the margins of a page.

See Also:
PageInfo.getMargins()

Method Summary
 double getBottom()
          Returns the size of the margin at the bottom of the page.
 double getLeft()
          Returns the size of the margin at the left of the page.
 double getRight()
          Returns the size of the margin at the right of the page.
 double getTop()
          Returns the size of the margin at the top of the page.
 void setBottom(double size)
          Changes the size of the margin at the bottom of the page.
 void setLeft(double size)
          Changes the size of the margin at the left of the page.
 void setRight(double size)
          Changes the size of the margin at the right of the page.
 void setTop(double size)
          Sets the size of the margin at the top of the page.
 
Methods inherited from interface com.businessobjects.rebean.wi.Unit
getUnit, setUnit
 

Method Detail

getTop

double getTop()
Returns the size of the margin at the top of the page.

The value is in the Web Intelligence default unit.

Returns:
The size of the margin at the top of the page.

setTop

void setTop(double size)
Sets the size of the margin at the top of the page.

The value is in the Web Intelligence default unit.

Parameters:
size - The new margin size.
Throws:
java.lang.IllegalArgumentException - If size < 0.

getBottom

double getBottom()
Returns the size of the margin at the bottom of the page.

The value is in the Web Intelligence default unit.

Returns:
The size of the margin at the bottom of the page.

setBottom

void setBottom(double size)
Changes the size of the margin at the bottom of the page.

The value is in the Web Intelligence default unit.

Parameters:
size - The new margin size.
Throws:
java.lang.IllegalArgumentException - If size < 0.

getLeft

double getLeft()
Returns the size of the margin at the left of the page.

The value is in the Web Intelligence default unit.

Returns:
the margin at the left of the page, in the current unity

setLeft

void setLeft(double size)
Changes the size of the margin at the left of the page.

The value is in the Web Intelligence default unit.

Parameters:
size - The new margin size.
Throws:
java.lang.IllegalArgumentException - If size < 0.

getRight

double getRight()
Returns the size of the margin at the right of the page.

The value is in the Web Intelligence default unit.

Returns:
The size of the margin at the right of the page.

setRight

void setRight(double size)
Changes the size of the margin at the right of the page.

The value is in the Web Intelligence default unit.

Throws:
java.lang.IllegalArgumentException - If size < 0.