Class LineLayoutManager.Paragraph
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
org.apache.fop.layoutmgr.KnuthSequence
org.apache.fop.layoutmgr.InlineKnuthSequence
org.apache.fop.layoutmgr.inline.LineLayoutManager.Paragraph
- All Implemented Interfaces:
Serializable, Cloneable, Iterable, Collection, List, RandomAccess
- Enclosing class:
LineLayoutManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intNumber of elements to ignore at the end of the list.private intNumber of elements to ignore at the beginning of the list.private final intprivate final LineLayoutManagerprivate MinOptMaxprivate static final longprivate final intprivate final intprivate final intFields inherited from class AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionParagraph(LineLayoutManager llm, int alignment, int alignmentLast, int indent, int endIndent) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidFinalizes a Knuth sequence.voidMarks the start of the sequence.Methods inherited from class InlineKnuthSequence
addALetterSpace, appendSequence, appendSequence, canAppendSequence, isInlineSequenceMethods inherited from class KnuthSequence
appendSequenceOrClose, appendSequenceOrClose, getElement, getFirstBoxIndex, getLast, removeLast, toString, wrapPositionsMethods inherited from class ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class AbstractList
equals, hashCodeMethods inherited from class AbstractCollection
containsAllMethods inherited from interface Collection
parallelStream, streamMethods inherited from interface List
containsAll, equals, hashCode
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
ignoreAtStart
private int ignoreAtStartNumber of elements to ignore at the beginning of the list. -
ignoreAtEnd
private int ignoreAtEndNumber of elements to ignore at the end of the list. -
lineFiller
-
textAlignment
private final int textAlignment -
textAlignmentLast
private final int textAlignmentLast -
textIndent
private final int textIndent -
lastLineEndIndent
private final int lastLineEndIndent -
layoutManager
-
-
Constructor Details
-
Paragraph
Paragraph(LineLayoutManager llm, int alignment, int alignmentLast, int indent, int endIndent)
-
-
Method Details
-
startSequence
public void startSequence()Description copied from class:KnuthSequenceMarks the start of the sequence.- Overrides:
startSequencein classKnuthSequence
-
endParagraph
public void endParagraph() -
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
-