|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jfree.report.CustomPageDefinition
A page definition, that consists of one or many pages. The pages are allowed to overlapp or to leave areas of the page uncovered.
PageDefinition, Serialized Form| Constructor Summary | |
CustomPageDefinition()
Creates a new (initialy empty and therefore invalid) page definition. |
|
| Method Summary | |
void |
addPageFormat(java.awt.print.PageFormat format,
float x,
float y)
Adds a new page format to the page definition. |
java.lang.Object |
clone()
Clones the given page definition object. |
boolean |
equals(java.lang.Object o)
Checks, whether the given object is equal to this one. |
float |
getHeight()
Returns the total height of the page definition. |
int |
getPageCount()
Returns the number of physical pages in the logical page definition. |
java.awt.print.PageFormat |
getPageFormat(int pos)
Returns the page format for the given page number. |
java.awt.geom.Rectangle2D |
getPagePosition(int pos)
Describes the internal position of the given page within the logical page. |
java.awt.geom.Rectangle2D[] |
getPagePositions()
Returns all page positions as array. |
float |
getWidth()
Returns the total width of the page definition. |
int |
hashCode()
Computes the hashcode of this page definition. |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public CustomPageDefinition()
| Method Detail |
public void addPageFormat(java.awt.print.PageFormat format,
float x,
float y)
format - the page formatx - the x-position to where the imageable-x of the pageformat is mapped.y - the y-position to where the imageable-y of the pageformat is mapped.public int getPageCount()
public java.awt.print.PageFormat getPageFormat(int pos)
pos - the position of the pageformat within the pagepublic java.awt.geom.Rectangle2D getPagePosition(int pos)
pos - the index of the page.public java.awt.geom.Rectangle2D[] getPagePositions()
PageDefinition.getPagePosition(int)public float getWidth()
public float getHeight()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
public boolean equals(java.lang.Object o)
o - the other object.public int hashCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||