|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.JRPrintAnchorIndex
public class JRPrintAnchorIndex
Constructor Summary | |
---|---|
JRPrintAnchorIndex(int page,
JRPrintElement elem)
Creates an element anchor. |
|
JRPrintAnchorIndex(int page,
JRPrintElement elem,
int offsetX,
int offsetY)
Creates an element anchor. |
Method Summary | |
---|---|
JRPrintElement |
getElement()
|
int |
getElementAbsoluteX()
Returns the absolute (relative to the report page) X coordinate of the anchor element. |
int |
getElementAbsoluteY()
Returns the absolute (relative to the report page) Y coordinate of the anchor element. |
int |
getPageIndex()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JRPrintAnchorIndex(int page, JRPrintElement elem)
page
- the index of the page in the reportelem
- the elementpublic JRPrintAnchorIndex(int page, JRPrintElement elem, int offsetX, int offsetY)
page
- the index of the page in the reportelem
- the elementoffsetX
- the X offset of the element coordinates systemoffsetY
- the Y offset of the element coordinates systemgetElementAbsoluteX()
,
getElementAbsoluteY()
Method Detail |
---|
public int getPageIndex()
public JRPrintElement getElement()
public int getElementAbsoluteX()
This can be different than getElement().getX()
for elements
placed inside a frame
.
public int getElementAbsoluteY()
This can be different than getElement().getY()
for elements
placed inside a frame
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |