|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.PhysicalPageDrawable
public class PhysicalPageDrawable
Creation-Date: 17.11.2006, 18:00:46
Constructor Summary | |
---|---|
PhysicalPageDrawable(LogicalPageDrawable pageDrawable,
PhysicalPageBox page)
|
Method Summary | |
---|---|
void |
draw(Graphics2D g2,
Rectangle2D area)
Draws the object. |
RenderNode[] |
getNodesAt(double x,
double y,
double width,
double height,
String namespace,
String name)
Returns all layouted render-nodes that occupy the given area and which have the attribute specified by name and namespace set. |
RenderNode[] |
getNodesAt(double x,
double y,
String namespace,
String name)
Returns all layouted render-nodes that occupy the given point and which have the attribute specified by name and namespace set. |
PageFormat |
getPageFormat()
Describes the physical output characteristics like page size, margins, and imaginable area. |
Dimension |
getPreferredSize()
Returns the preferred size of the output. |
boolean |
isPreserveAspectRatio()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PhysicalPageDrawable(LogicalPageDrawable pageDrawable, PhysicalPageBox page)
pageDrawable
- page
- Method Detail |
---|
public PageFormat getPageFormat()
PageDrawable
getPageFormat
in interface PageDrawable
public Dimension getPreferredSize()
PageDrawable
getPreferredSize
in interface PageDrawable
public boolean isPreserveAspectRatio()
public void draw(Graphics2D g2, Rectangle2D area)
draw
in interface PageDrawable
g2
- the graphics device.area
- the area inside which the object should be drawn.public RenderNode[] getNodesAt(double x, double y, String namespace, String name)
PageDrawable
getNodesAt
in interface PageDrawable
x
- the x coordinate of the point.y
- the y coordinate of the point.namespace
- the attribute's namespace.name
- the attribute's name.
public RenderNode[] getNodesAt(double x, double y, double width, double height, String namespace, String name)
PageDrawable
getNodesAt
in interface PageDrawable
x
- the x coordinate of the origin of the area.y
- the y coordinate of the origin of the area.width
- the height of the area.height
- the width of the area.namespace
- the attribute's namespace.name
- the attribute's name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |