org.jfree.report.modules.output.pageable.base.operations
Class AligningMetaBandProducer
java.lang.Object
|
+--org.jfree.report.modules.output.meta.MetaBandProducer
|
+--org.jfree.report.modules.output.pageable.base.operations.AligningMetaBandProducer
- public class AligningMetaBandProducer
- extends MetaBandProducer
| Methods inherited from class org.jfree.report.modules.output.meta.MetaBandProducer |
createBand,
createBand,
createElement,
createElementBounds,
createMetaBandInstace,
createStyleForBand,
createStyleForDrawableElement,
createStyleForElement,
createStyleForImageElement,
createStyleForShapeElement,
createStyleForTextElement,
getLayoutSupport |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
AligningMetaBandProducer
public AligningMetaBandProducer(LayoutSupport support,
org.jfree.util.Configuration configuration)
createContent
protected Content createContent(Element e,
ElementStyleSheet styleSheet)
throws ContentCreationException
- Overrides:
- createContent in class MetaBandProducer
alignContent
protected Content alignContent(Content content,
StrictBounds bounds,
ElementAlignment hAlign,
ElementAlignment vAlign)
- The content is already positioned on the page (but top/left aligned). Now,
move the content to the location as defined by the ElementAlignment.
HackAttack: This method does not adjust the width and height of the
element; we have to trust the code.
- Parameters:
content - bounds - hAlign - vAlign - - Returns:
-
alignHorizontalContent
protected Content alignHorizontalContent(Content content,
StrictBounds bounds,
ElementAlignment hAlign)