org.jfree.layouting.renderer.process
Class LeftAlignmentProcessor
- TextAlignmentProcessor
public class LeftAlignmentProcessor
Performs the left-alignment computations.
The inf-min-step creates the initial sequence of elements. The alignment
processor now iterates over the sequence and produces the layouted line.
Elements can be split, splitting is a local operation and does not copy the
children. Text splitting may produce a totally different text (see: TeX
hyphenation system).
The process is iterative and continues unless all elements have been
consumed.
computeInlineBlock , getBreakableIndex , getElementDimensions , getElementPositions , getEndOfLine , getPageBreak , getPageGrid , getSequenceElements , getSkipIndex , getStartOfLine , handleElement , handleLayout , hasNext , initialize , iterate , next , setBreakableIndex , setSkipIndex |
LeftAlignmentProcessor
public LeftAlignmentProcessor()
addPosition
protected void addPosition(long width)
getPageSegment
public int getPageSegment()
getPosition
protected long getPosition()
handleElement
protected int handleElement(int start,
int count)
Handle the next input chunk.
- handleElement in interface AbstractAlignmentProcessor
start
- the start indexcount
- the number of elements in the sequence
- true, if processing should be finished, false if more elements are
needed for the line.
setPageSegment
public void setPageSegment(int pageSegment)
setPosition
protected void setPosition(long position)