|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.fill.TextMeasurer.TextMeasuredState
protected static class TextMeasurer.TextMeasuredState
| Field Summary | |
|---|---|
protected float |
firstLineLeading
|
protected int |
firstLineMaxFontSize
|
protected int |
fontSizeSum
|
protected boolean |
isLeftToRight
|
protected int |
lastOffset
|
protected java.util.ArrayList |
lineBreakOffsets
|
protected int |
lines
|
protected float |
textHeight
|
protected int |
textOffset
|
protected java.lang.String |
textSuffix
|
| Constructor Summary | |
|---|---|
TextMeasurer.TextMeasuredState(boolean saveLineBreakOffsets)
|
|
| Method Summary | |
|---|---|
protected void |
addLineBreak()
|
TextMeasurer.TextMeasuredState |
cloneState()
|
float |
getLeadingOffset()
Returns the text leading offset. |
short[] |
getLineBreakOffsets()
Returns the line break offsets as required for JRPrintText.getLineBreakOffsets(). |
float |
getLineSpacingFactor()
Return the line spacing factor for the text. |
float |
getTextHeight()
Returns the text's measure height. |
int |
getTextOffset()
Returns the offset up to which text fitted. |
java.lang.String |
getTextSuffix()
Returns the suffix that was appended to the text (after JRMeasuredText.getTextOffset()). |
boolean |
isLeftToRight()
Returns whether the text was determined to be left to right or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int textOffset
protected int lines
protected int fontSizeSum
protected int firstLineMaxFontSize
protected float textHeight
protected float firstLineLeading
protected boolean isLeftToRight
protected java.lang.String textSuffix
protected int lastOffset
protected java.util.ArrayList lineBreakOffsets
| Constructor Detail |
|---|
public TextMeasurer.TextMeasuredState(boolean saveLineBreakOffsets)
| Method Detail |
|---|
public boolean isLeftToRight()
JRMeasuredText
isLeftToRight in interface JRMeasuredTextpublic int getTextOffset()
JRMeasuredText
getTextOffset in interface JRMeasuredTextpublic float getTextHeight()
JRMeasuredText
getTextHeight in interface JRMeasuredTextpublic float getLineSpacingFactor()
JRMeasuredText
getLineSpacingFactor in interface JRMeasuredTextpublic float getLeadingOffset()
JRMeasuredText
getLeadingOffset in interface JRMeasuredTextpublic java.lang.String getTextSuffix()
JRMeasuredTextJRMeasuredText.getTextOffset()).
getTextSuffix in interface JRMeasuredTextpublic TextMeasurer.TextMeasuredState cloneState()
protected void addLineBreak()
public short[] getLineBreakOffsets()
JRMeasuredTextJRPrintText.getLineBreakOffsets().
getLineBreakOffsets in interface JRMeasuredText
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||