|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.engine.classic.core.layout.DefaultLayoutSupport
public class DefaultLayoutSupport
The DefaultLayoutSupport uses the AWT to estaminate the content sizes. A LayoutSupport contains all methods required to estaminate sizes for the content-creation.
| Constructor Summary | |
|---|---|
DefaultLayoutSupport(boolean useMaxLineHeight,
boolean imageResolutionMapping)
Deprecated. Default-Constructor. |
|
| Method Summary | |
|---|---|
SizeCalculator |
createTextSizeCalculator(FontDefinition font)
Deprecated. Creates a size calculator for the current state of the output target. |
float |
getHorizontalAlignmentBorder()
Deprecated. Returns the element alignment. |
long |
getInternalHorizontalAlignmentBorder()
Deprecated. Returns the element alignment. |
long |
getInternalVerticalAlignmentBorder()
Deprecated. Returns the element alignment. |
float |
getVerticalAlignmentBorder()
Deprecated. Returns the element alignment. |
boolean |
isImageResolutionMappingActive()
Deprecated. Checks, if the layouter uses the System's native resolution to compute the size of images. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultLayoutSupport(boolean useMaxLineHeight,
boolean imageResolutionMapping)
| Method Detail |
|---|
public SizeCalculator createTextSizeCalculator(FontDefinition font)
throws SizeCalculatorException
createTextSizeCalculator in interface LayoutSupportfont - the font.
SizeCalculatorException - if there is a problem with the output target.public float getVerticalAlignmentBorder()
mod(X,
horizontalAlignment) == 0 and mod(Y, verticalAlignment) == 0. Returning 0 will disable the
alignment.
getVerticalAlignmentBorder in interface LayoutSupportpublic float getHorizontalAlignmentBorder()
mod(X,
horizontalAlignment) == 0 and mod(Y, verticalAlignment) == 0. Returning 0 will disable the
alignment.
getHorizontalAlignmentBorder in interface LayoutSupportpublic long getInternalHorizontalAlignmentBorder()
mod(X,
horizontalAlignment) == 0 and mod(Y, verticalAlignment) == 0. Returning 0 will disable the
alignment.
Q&D Hack: Save some cycles of processor time by computing that thing only once.
getInternalHorizontalAlignmentBorder in interface LayoutSupportpublic long getInternalVerticalAlignmentBorder()
mod(X,
horizontalAlignment) == 0 and mod(Y, verticalAlignment) == 0. Returning 0 will disable the
alignment.
Q&D Hack: Save some cycles of processor time by computing that thing only once.
getInternalVerticalAlignmentBorder in interface LayoutSupportpublic boolean isImageResolutionMappingActive()
LayoutSupport
isImageResolutionMappingActive in interface LayoutSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||