|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.PageLayout
public class PageLayout
A page layout defines a set of page areas, which is the printable area on a page. It can also contain shapes to be draw on a page. The shapes are defined in this class.
A page layout can be inserted into a report as a PageLayoutElement. Once the page layout element is encountered during report processing, the page layout is put into effect. The report automatically advances to the next page, which is divided into printable sections according to the page layout setting.
A page layout can be associated with a particular element. This allows the page layout to change in middle of an element, e.g., between table sections. If a page layout is associated with an element, the page layout will be used to print all subsequent pages of an element after it starts. If the element is the first element on a page, then the page layout is used immediately on the current page.
| Nested Class Summary | |
|---|---|
static class |
PageLayout.InfoShape
An information shape. |
static class |
PageLayout.InfoText
An information text. |
static class |
PageLayout.Line
A line shape. |
static class |
PageLayout.Oval
An oval or circle shape. |
static class |
PageLayout.Rectangle
A rectangle shape. |
static class |
PageLayout.Shape
This class defines a shape on a page. |
| Constructor Summary | |
|---|---|
PageLayout()
Create an empty page layout. |
|
PageLayout(PageArea[] areas)
Create a page layout with the specified page areas. |
|
| Method Summary | |
|---|---|
Object |
clone()
|
Integer |
getOrientation()
Get the page orientation. |
PageArea[] |
getPageAreas()
Get printable areas. |
PageLayout.Shape[] |
getShapes()
Get the shapes to draw on this page. |
boolean |
isEmpty()
Check if this page layout is defined. |
void |
print(StylePage pg)
Paint the shapes on a page. |
void |
setOrientation(Integer orientation)
Set the page orientation. |
void |
setPageAreas(PageArea[] areas)
Set printable areas. |
void |
setShapes(PageLayout.Shape[] shapes)
Set the shapes to draw on this page. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageLayout()
public PageLayout(PageArea[] areas)
| Method Detail |
|---|
public Integer getOrientation()
public void setOrientation(Integer orientation)
orientation - a Integer object with value in
StyleConstants.PORTRAIT or StyleConstants.LANDSCAPE.public PageArea[] getPageAreas()
public void setPageAreas(PageArea[] areas)
public PageLayout.Shape[] getShapes()
public void setShapes(PageLayout.Shape[] shapes)
public void print(StylePage pg)
public boolean isEmpty()
public 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 | ||||||||