|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jrefinery.report.targets.pageable.operations.BoundsAlignment | +--com.jrefinery.report.targets.pageable.operations.VerticalBoundsAlignment | +--com.jrefinery.report.targets.pageable.operations.TopAlignment
A utility class that can align a rectangle to the top edge of the reference bounds.
Constructor Summary | |
TopAlignment(java.awt.geom.Rectangle2D bounds)
Creates a new alignment object. |
Method Summary | |
java.awt.geom.Rectangle2D |
align(java.awt.geom.Rectangle2D r)
Aligns a rectangle to the top of the current bounds. |
Methods inherited from class com.jrefinery.report.targets.pageable.operations.VerticalBoundsAlignment |
applyShift, calculateShift, getHorizontalShift |
Methods inherited from class com.jrefinery.report.targets.pageable.operations.BoundsAlignment |
getReferenceBounds |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TopAlignment(java.awt.geom.Rectangle2D bounds)
bounds
- the reference bounds.Method Detail |
public java.awt.geom.Rectangle2D align(java.awt.geom.Rectangle2D r)
align
in class BoundsAlignment
r
- the region to align (null
not permitted).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |