org.jfree.report.modules.output.pageable.base.operations
Class BottomAlignment

java.lang.Object
  |
  +--org.jfree.report.modules.output.pageable.base.operations.BoundsAlignment
        |
        +--org.jfree.report.modules.output.pageable.base.operations.VerticalBoundsAlignment
              |
              +--org.jfree.report.modules.output.pageable.base.operations.BottomAlignment

public class BottomAlignment
extends VerticalBoundsAlignment

A utility class that can align a Rectangle2D to the bottom edge of its reference bounds.

Author:
Thomas Morgner

Constructor Summary
BottomAlignment(StrictBounds bounds)
          Creates a new alignment object.
 
Method Summary
 StrictBounds align(StrictBounds r)
          Aligns a rectangle to the bottom of the current reference bounds.
 
Methods inherited from class org.jfree.report.modules.output.pageable.base.operations.VerticalBoundsAlignment
toString
 
Methods inherited from class org.jfree.report.modules.output.pageable.base.operations.BoundsAlignment
getReferenceBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BottomAlignment

public BottomAlignment(StrictBounds bounds)
Creates a new alignment object.
Parameters:
bounds - the reference bounds.
Method Detail

align

public StrictBounds align(StrictBounds r)
Aligns a rectangle to the bottom of the current reference bounds.
Overrides:
align in class BoundsAlignment
Parameters:
r - the rectangle to align.
Returns:
a new rectangle resulting from the alignment operation.