|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.PageArea
public class PageArea
A page area defines a printable region on a page. It can have borders. The main purpose of page areas is to divide a page into multiple sections. Report contents are printed in each section. The printing advances from one page area to the next until all page areas are full. It then advances to the next page. Page areas have fixed position and size on a page.
A page area may be declared as a non-flow area. In this case the page area does not participate in the main report flow. It contains a fixed set of elements. The elements in a non-flow area have fixed positions and sizes.
| Field Summary | |
|---|---|
double |
height
The area location and size. |
double |
width
The area location and size. |
double |
x
The area location and size. |
double |
y
The area location and size. |
| Constructor Summary | |
|---|---|
PageArea(double x,
double y,
double w,
double h)
Create an area at specified location and size. |
|
PageArea(double x,
double y,
double w,
double h,
boolean rel)
Create an area. |
|
PageArea(Rectangle rect)
Create an area in pixel size. |
|
| Method Summary | |
|---|---|
Object |
clone()
|
int |
getBorder()
Get the area border. |
Color |
getBorderColor()
Get the area border color. |
Rectangle |
getBounds(Rectangle parea)
Get the location and size of this area inside a parent area. |
FixedContainer |
getElements()
Get the page area elements. |
double |
getHeight()
Get the page area height (in inches or relative to page). |
Insets |
getInsets()
Get the area padding space. |
Rectangle |
getPrintArea(Rectangle parea)
Get the printable area. |
double |
getWidth()
Get the page area width (in inches or relative to page). |
double |
getX()
Get the page area x position (in inches or relative to page). |
double |
getY()
Get the page area y position (in inches or relative to page). |
boolean |
isFlow()
Check if this area is a flow area. |
boolean |
isRelative()
Check if this area is relative. |
boolean |
isRepeat()
Check the repeat flag. |
void |
setBorder(int border)
Set the area border. |
void |
setBorderColor(Color c)
Set the border color. |
void |
setBounds(Rectangle frame,
Rectangle parea)
Set the location and size of the area. |
void |
setElements(FixedContainer elems)
Set the elements in this area. |
void |
setFlow(boolean flow)
Set the flow property. |
void |
setInsets(Insets insets)
Set the area insets. |
void |
setRelative(boolean rel)
Set relative flag. |
void |
setRepeat(boolean repeat)
Set the repeat flag. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public double x
public double y
public double width
public double height
| Constructor Detail |
|---|
public PageArea(Rectangle rect)
rect - area location and size.
public PageArea(double x,
double y,
double w,
double h)
x - area x coordinate.y - area y coordinate.w - area width.h - area height.
public PageArea(double x,
double y,
double w,
double h,
boolean rel)
x - area x location.y - area y location.w - area width.h - area height.rel - true to create a relative area.| Method Detail |
|---|
public void setBorder(int border)
border - border line style defined in StyleConstants.public int getBorder()
public void setBorderColor(Color c)
c - area border color.public Color getBorderColor()
public void setInsets(Insets insets)
insets - area padding space.public Insets getInsets()
public void setRelative(boolean rel)
rel - relative flag.public boolean isRelative()
public void setElements(FixedContainer elems)
elems - page area elements.public FixedContainer getElements()
public void setFlow(boolean flow)
public boolean isFlow()
public void setRepeat(boolean repeat)
public boolean isRepeat()
public double getX()
public double getY()
public double getWidth()
public double getHeight()
public void setBounds(Rectangle frame,
Rectangle parea)
frame - the parent area.parea - location and size of this area inside the parent area.public Rectangle getBounds(Rectangle parea)
parea - parent area.
public Rectangle getPrintArea(Rectangle parea)
parea - parent area.
public String toString()
toString in class Objectpublic Object clone()
clone in class Object
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||