public class LeftAlignmentProcessor extends AbstractAlignmentProcessor
Constructor and Description |
---|
LeftAlignmentProcessor() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPosition(long width) |
int |
getPageSegment() |
protected long |
getPosition() |
protected int |
handleElement(int start,
int count)
Handle the next input chunk.
|
protected int |
handleLayout(int start,
int count,
int contentIndex,
long usedWidth) |
RenderNode |
next() |
void |
setPageSegment(int pageSegment) |
protected void |
setPosition(long position) |
computeInlineBlock, getBreakableIndex, getElementDimensions, getElementPositions, getEndOfLine, getPageBreak, getPageGrid, getSequenceElements, getSkipIndex, getStartOfLine, hasNext, initialize, iterate, setBreakableIndex, setSkipIndex
public int getPageSegment()
public void setPageSegment(int pageSegment)
protected long getPosition()
protected void setPosition(long position)
protected void addPosition(long width)
public RenderNode next()
next
in interface TextAlignmentProcessor
next
in class AbstractAlignmentProcessor
protected int handleElement(int start, int count)
handleElement
in class AbstractAlignmentProcessor
start
- the start indexcount
- the number of elements in the sequenceprotected int handleLayout(int start, int count, int contentIndex, long usedWidth)
handleLayout
in class AbstractAlignmentProcessor