| org.jfree.report.layout.SizeCalculator
All known Subclasses: org.jfree.report.layout.DefaultSizeCalculator,
Method Summary | |
public float | getLineHeight() Returns the line height. | public float | getStringWidth(String text, int lineStartPos, int endPos) Calculates the width of a String in the current Graphics
context.
Parameters: text - the text. Parameters: lineStartPos - the start position of the substring to be measured. Parameters: endPos - the position of the last character to be measured. |
USE_MAX_CHAR_SIZE | final public static String USE_MAX_CHAR_SIZE(Code) | | |
getLineHeight | public float getLineHeight()(Code) | | Returns the line height. This includes the font's ascent, descent and leading.
the line height. |
getStringWidth | public float getStringWidth(String text, int lineStartPos, int endPos)(Code) | | Calculates the width of a String in the current Graphics
context.
Parameters: text - the text. Parameters: lineStartPos - the start position of the substring to be measured. Parameters: endPos - the position of the last character to be measured. the width of the string in Java2D units. |
|
|