org.jfree.layouting.renderer.process
public abstract class AbstractAlignmentProcessor extends Object implements TextAlignmentProcessor
| Constructor Summary | |
|---|---|
| AbstractAlignmentProcessor() | |
| Method Summary | |
|---|---|
| protected void | computeInlineBlock(RenderBox box, long position, long itemElementWidth) |
| int | getBreakableIndex() |
| long[] | getElementDimensions() |
| long[] | getElementPositions() |
| long | getEndOfLine() |
| protected long | getPageBreak(int pageIndex) |
| PageGrid | getPageGrid() |
| protected InlineSequenceElement[] | getSequenceElements() |
| int | getSkipIndex() |
| long | getStartOfLine() |
| protected int | handleElement(int start, int count)
Handle the next input chunk.
|
| protected abstract int | handleLayout(int start, int count, int contentIndex, long usedWidth) |
| boolean | hasNext() |
| void | initialize(InlineSequenceElement[] sequence, long start, long end, PageGrid breaks)
Initializes the alignment process. |
| int | iterate(InlineSequenceElement[] elements, int maxPos) |
| RenderNode | next() |
| void | setBreakableIndex(int breakableIndex) |
| void | setSkipIndex(int skipIndex) |
Parameters: start the start index count the number of elements in the sequence
Returns: the processing position. Linebreaks will be inserted, if the returned value is equal or less the start index.
Parameters: sequence start end breaks