| java.lang.Object org.jfree.report.layout.DefaultLayoutSupport
DefaultLayoutSupport | public class DefaultLayoutSupport implements LayoutSupport(Code) | | The DefaultLayoutSupport uses the AWT to estaminate the content sizes. A LayoutSupport
contains all methods required to estaminate sizes for the content-creation.
author: Thomas Morgner |
Constructor Summary | |
public | DefaultLayoutSupport(boolean useMaxLineHeight, boolean imageResolutionMapping) Default-Constructor. |
DefaultLayoutSupport | public DefaultLayoutSupport(boolean useMaxLineHeight, boolean imageResolutionMapping)(Code) | | Default-Constructor.
|
createTextSizeCalculator | public SizeCalculator createTextSizeCalculator(FontDefinition font) throws SizeCalculatorException(Code) | | Creates a size calculator for the current state of the output target. The calculator
is used to calculate the string width and line height and later maybe more...
Parameters: font - the font. the size calculator. throws: SizeCalculatorException - if there is a problem with the output target. |
getHorizontalAlignmentBorder | public float getHorizontalAlignmentBorder()(Code) | | Returns the element alignment. Elements will be layouted aligned to this border, so
that mod(X, horizontalAlignment) == 0 and mod(Y,
verticalAlignment) == 0 . Returning 0 will disable the alignment.
the vertical alignment grid boundry |
getInternalHorizontalAlignmentBorder | public long getInternalHorizontalAlignmentBorder()(Code) | | Returns the element alignment. Elements will be layouted aligned to this border, so
that 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.
the vertical alignment grid boundry |
getInternalVerticalAlignmentBorder | public long getInternalVerticalAlignmentBorder()(Code) | | Returns the element alignment. Elements will be layouted aligned to this border, so
that 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.
the vertical alignment grid boundry |
getVerticalAlignmentBorder | public float getVerticalAlignmentBorder()(Code) | | Returns the element alignment. Elements will be layouted aligned to this border, so
that mod(X, horizontalAlignment) == 0 and mod(Y,
verticalAlignment) == 0 . Returning 0 will disable the alignment.
the vertical alignment grid boundry |
isImageResolutionMappingActive | public boolean isImageResolutionMappingActive()(Code) | | |
|
|