|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.layout.DefaultLayoutSupport
The DefaultLayoutSupport uses the AWT to estaminate the content sizes. A LayoutSupport contains all methods required to estaminate sizes for the content-creation.
Content
Constructor Summary | |
DefaultLayoutSupport()
Default-Constructor. |
Method Summary | |
SizeCalculator |
createTextSizeCalculator(FontDefinition font)
Creates a size calculator for the current state of the output target. |
ContentFactory |
getContentFactory()
Returns the assigned content factory for the target. |
static DefaultLayoutSupport |
getDefaultInstance()
Returns the single instance of this class. |
float |
getHorizontalAlignmentBorder()
Returns the element alignment. |
float |
getVerticalAlignmentBorder()
Returns the element alignment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultLayoutSupport()
Method Detail |
public static DefaultLayoutSupport getDefaultInstance()
public SizeCalculator createTextSizeCalculator(FontDefinition font) throws SizeCalculatorException
createTextSizeCalculator
in interface LayoutSupport
font
- 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 LayoutSupport
public float getHorizontalAlignmentBorder()
mod(X, horizontalAlignment) == 0
and
mod(Y, verticalAlignment) == 0
. Returning 0 will disable
the alignment.
getHorizontalAlignmentBorder
in interface LayoutSupport
public ContentFactory getContentFactory()
getContentFactory
in interface LayoutSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |