|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jfree.report.content.AnchorContent
The Anchor content encapsulates possible link targets. Anchors are bound to a certain point on the document and can be referenced using HREF's.
Anchor| Constructor Summary | |
AnchorContent(Anchor ancor,
StrictPoint point)
Creates a new Anchor content for the given anchor and position. |
|
| Method Summary | |
Anchor |
getAnchor()
Returns the anchor contained in this content. |
StrictBounds |
getBounds()
Returns the bounds for the content. |
Content |
getContentForBounds(StrictBounds bounds)
Returns the content for the given bounds. |
ContentType |
getContentType()
Returns the content type (the types include TEXT, IMAGE,
SHAPE and CONTAINER). |
StrictBounds |
getMinimumContentSize()
Returns the minimum content size. |
void |
translate(long x,
long y)
Hack-Attack: Used for alignment of the content. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public AnchorContent(Anchor ancor,
StrictPoint point)
ancor - the anchorpoint - the position of the anchor within the page/document.| Method Detail |
public StrictBounds getBounds()
public Content getContentForBounds(StrictBounds bounds)
null if there is no content in these bounds.bounds - the bounds.null).public ContentType getContentType()
TEXT, IMAGE,
SHAPE and CONTAINER).public StrictBounds getMinimumContentSize()
public Anchor getAnchor()
public void translate(long x,
long y)
x - the x translation.y - the y translation.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||