|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.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(boolean useMaxLineHeight,
boolean imageResolutionMapping)
Default-Constructor. |
|
DefaultLayoutSupport(ContentFactory cf,
boolean useMaxLineHeight,
boolean imageResolutionMapping)
|
|
| Method Summary | |
SizeCalculator |
createTextSizeCalculator(FontDefinition font)
Creates a size calculator for the current state of the output target. |
LayoutManagerCache |
getCache()
|
ContentFactory |
getContentFactory()
RetFixurns the assigned content factory for the target. |
float |
getHorizontalAlignmentBorder()
Returns the element alignment. |
long |
getInternalHorizontalAlignmentBorder()
Returns the element alignment. |
long |
getInternalVerticalAlignmentBorder()
Returns the element alignment. |
float |
getVerticalAlignmentBorder()
Returns the element alignment. |
boolean |
isImageResolutionMappingActive()
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public DefaultLayoutSupport(boolean useMaxLineHeight,
boolean imageResolutionMapping)
public DefaultLayoutSupport(ContentFactory cf,
boolean useMaxLineHeight,
boolean imageResolutionMapping)
| Method Detail |
public SizeCalculator createTextSizeCalculator(FontDefinition font)
throws SizeCalculatorException
font - the font.public float getVerticalAlignmentBorder()
mod(X, horizontalAlignment) == 0 and mod(Y,
verticalAlignment) == 0. Returning 0 will disable the alignment.public float getHorizontalAlignmentBorder()
mod(X, horizontalAlignment) == 0 and mod(Y,
verticalAlignment) == 0. Returning 0 will disable the alignment.public 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.public 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.public ContentFactory getContentFactory()
public LayoutManagerCache getCache()
public boolean isImageResolutionMappingActive()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||