Package org.apache.fop.layoutmgr.inline
Class LineLayoutManager.Paragraph
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList
-
- org.apache.fop.layoutmgr.KnuthSequence
-
- org.apache.fop.layoutmgr.InlineKnuthSequence
-
- org.apache.fop.layoutmgr.inline.LineLayoutManager.Paragraph
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable,java.util.Collection,java.util.List,java.util.RandomAccess
- Enclosing class:
- LineLayoutManager
private static class LineLayoutManager.Paragraph extends InlineKnuthSequence
-
-
Field Summary
Fields Modifier and Type Field Description private intignoreAtEndNumber of elements to ignore at the end of the list.private intignoreAtStartNumber of elements to ignore at the beginning of the list.private intlastLineEndIndentprivate LineLayoutManagerlayoutManagerprivate MinOptMaxlineFillerprivate static longserialVersionUIDprivate inttextAlignmentprivate inttextAlignmentLastprivate inttextIndent
-
Constructor Summary
Constructors Constructor Description Paragraph(LineLayoutManager llm, int alignment, int alignmentLast, int indent, int endIndent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsBox()voidendParagraph()KnuthSequenceendSequence()Finalizes a Knuth sequence.voidstartSequence()Marks the start of the sequence.-
Methods inherited from class org.apache.fop.layoutmgr.InlineKnuthSequence
addALetterSpace, appendSequence, appendSequence, canAppendSequence, isInlineSequence
-
Methods inherited from class org.apache.fop.layoutmgr.KnuthSequence
appendSequenceOrClose, appendSequenceOrClose, getElement, getFirstBoxIndex, getLast, removeLast, toString, wrapPositions
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
ignoreAtStart
private int ignoreAtStart
Number of elements to ignore at the beginning of the list.
-
ignoreAtEnd
private int ignoreAtEnd
Number of elements to ignore at the end of the list.
-
lineFiller
private MinOptMax lineFiller
-
textAlignment
private final int textAlignment
-
textAlignmentLast
private final int textAlignmentLast
-
textIndent
private final int textIndent
-
lastLineEndIndent
private final int lastLineEndIndent
-
layoutManager
private final LineLayoutManager layoutManager
-
-
Constructor Detail
-
Paragraph
Paragraph(LineLayoutManager llm, int alignment, int alignmentLast, int indent, int endIndent)
-
-
Method Detail
-
startSequence
public void startSequence()
Description copied from class:KnuthSequenceMarks the start of the sequence.- Overrides:
startSequencein classKnuthSequence
-
endParagraph
public void endParagraph()
-
endSequence
public KnuthSequence endSequence()
Description copied from class:InlineKnuthSequenceFinalizes a Knuth sequence.- Overrides:
endSequencein classInlineKnuthSequence- Returns:
- a finalized sequence.
-
containsBox
public boolean containsBox()
- Returns:
- true if the sequence contains a box
-
-