|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.targets.pageable.operations.BoundsAlignment
An abstract base class for performing alignment of one Rectangle2D
to another.
Constructor Summary | |
protected |
BoundsAlignment(java.awt.geom.Rectangle2D bounds)
Creates a new alignment object. |
Method Summary | |
abstract java.awt.geom.Rectangle2D |
align(java.awt.geom.Rectangle2D r)
Aligns a rectangle with this object's reference bounds. |
protected java.awt.geom.Rectangle2D |
getReferenceBounds()
Returns the internal reference bounds. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected BoundsAlignment(java.awt.geom.Rectangle2D bounds)
bounds
- the reference bounds (alignment will be performed relative to this rectangle).Method Detail |
protected java.awt.geom.Rectangle2D getReferenceBounds()
public abstract java.awt.geom.Rectangle2D align(java.awt.geom.Rectangle2D r)
Subclasses determine the exact alignment behaviour (for example, the
TopAlignment
class will align a rectangle to the top of the reference bounds).
r
- the rectangle to be aligned with this object's reference bounds.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |