public class PLTextSplittable extends AbstractPLText<PLTextSplittable> implements IPLSplittableObject<PLTextSplittable>
DEFAULT_MAX_ROWS, DEFAULT_TOP_DOWN, m_aPreparedLines, m_aPreparedLinesUnmodified, m_fLineHeight, m_nPreparedLineCountUnmodifiedDEFAULT_HORZ_ALIGNMENTDEFAULT_VERT_ALIGNMENTDEFAULT_MAX_SIZE, DEFAULT_MIN_SIZEDEFAULT_MARGINDEFAULT_PADDINGDEFAULT_BORDERDEFAULT_FILL_COLOR| Constructor and Description |
|---|
PLTextSplittable(String sText,
FontSpec aFontSpec) |
| Modifier and Type | Method and Description |
|---|---|
PLSplitResult |
splitElements(float fElementWidth,
float fAvailableHeight)
Split this element into sub-elements according to the available height.
|
getAllPreparedLinesUnmodified, getCopy, getDisplayHeightOfLines, getFontSpec, getMaxRows, getPreparedLineCountUnmodified, getText, getTextToDraw, hasNoText, hasText, isTopDown, onPerform, onPrepare, setBasicDataFrom, setMaxRows, setTopDown, toStringgetHorzAlign, getVertAlign, setBasicDataFrom, setHorzAlign, setVertAligngetBorder, getFillColor, getMargin, getPadding, setBasicDataFrom, setBorder, setFillColor, setMargin, setPaddinggetMaxSize, getMinSize, getPreparedSize, internalCheckNotPrepared, internalMarkAsNotPrepared, internalMarkAsPrepared, isPrepared, onPerformFillAndBorder, perform, prepare, setMaxSize, setMinSizegetDebugID, getID, setBasicDataFrom, setIDclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisSplittablegetAsSplittable, getDebugIDdoPageSetup, getMaxSize, getMinSize, getPreparedSize, isPrepared, perform, prepare, setExactSize, setMaxSize, setMinSizegetFullBottom, getFullLeft, getFullRight, getFullTop, getFullXSum, getFullYSum, getMarginAndBorderBottom, getMarginAndBorderLeft, getMarginAndBorderRight, getMarginAndBorderTop, getMarginAndBorderXSum, getMarginAndBorderYSumgetMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMarginXSum, getMarginYSum, setMargin, setMargin, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTopgetPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPaddingXSum, getPaddingYSum, setPadding, setPadding, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTopgetBorderBottomWidth, getBorderLeftWidth, getBorderRightWidth, getBorderTopWidth, getBorderXSumWidth, getBorderYSumWidth, setBorder, setBorder, setBorder, setBorderBottom, setBorderLeft, setBorderRight, setBorderTophasFillColor@Nullable public PLSplitResult splitElements(float fElementWidth, float fAvailableHeight)
IPLSplittableObjectsplitElements in interface IPLSplittableObject<PLTextSplittable>fElementWidth - The element width without padding or margin of the element.fAvailableHeight - The available height without y-padding and y-margin of this element.
Must be ≥ 0.null if splitting makes no sense.Copyright © 2014–2016 Philip Helger. All rights reserved.