public class TokenRenderer extends StringRenderer
Renderer.ReflowPhase
Modifier and Type | Field and Description |
---|---|
String |
string |
baseline, continueFrom, fromPos, lastToken, lineBreak, toPos, x
abb, offset, row
Constructor and Description |
---|
TokenRenderer(Element element,
BoxRenderer parent,
RowRenderer row,
String string,
float width) |
Modifier and Type | Method and Description |
---|---|
int |
getBaseline(Context context) |
int |
getHeight() |
int |
getLineHeight() |
RStatus |
render() |
String |
toString() |
void |
useLineHeight() |
addChild, assignToRow, doesNotPrintToPage, dump, endsWithASpace, getChildrenNumber, getID, getMaxWidth, getMinWidth, getOuterHeight, getOuterWidth, getText, getWidth, getX, isRTL, layout, render, setX, spacesNum, suppressShy, trailingSpaces, verticalOffset
addAbsChild, alignContentToPageBreaks, borderBottom, borderLeft, borderRight, borderTop, collapseBorders, containingBlock, createAssignedPageBreak, createAssignedPageBreak, createAssignedPageBreak, dashCalculator, expandHeight, findAutoPageBreaks, findParentRenderer, getAbsHorizontalPosition, getAbsVerticalPosition, getChildAt, getContentHeight, getContentWidth, getExtraBottomOffset, getOffsetInRow, getParentForAbs, getScrollbarWidth, getTextBaseline, hasBackground, hasBorder, hasPadding, hasPercentualWidth, hasWidthBase, horizontalExtent, isAbsPositioned, isAvoidPageBreak, isLastChild, isOutOfFlowPositioned, isRelPositioned, logicalHeight, logicalMaxHeight, logicalMinHeight, marginBottom, marginLeft, marginRight, marginTop, moveChildUp, paddingBottom, paddingLeft, paddingRight, paddingTop, resetLayout, resetMinWidth, setHeight, setOuterHeight, setOuterWidth, setWidth, verticalMarginExtent
cleanup, getAbsPositionedBottomEdge, getClear, getContext, getDecoration, getDestinationRenderers, getDisplayType, getElement, getFloat, getFontSize, getHeightObj, getLang, getMaxHeightObj, getMaxWidthObj, getMinHeightObj, getMinWidthObj, getOuterMinWidth, getParent, getTitle, getWidthObj, isAutoWidth, isBody, isBoxSized, isFloating, isTable, isTaggedOutput, isTBRL, isUseAwt, reLayout, setParent, setUseAwt, updateHeights
public String string
public TokenRenderer(Element element, BoxRenderer parent, RowRenderer row, String string, float width)
public RStatus render()
render
in class StringRenderer
public int getBaseline(Context context)
getBaseline
in interface InlineItem
getBaseline
in class StringRenderer
public int getHeight()
getHeight
in interface InlineItem
getHeight
in class StringRenderer
public int getLineHeight()
public void useLineHeight()
public String toString()
toString
in class StringRenderer
Revision 4.0.15 / 20220727-0149