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:
Serializable
,Cloneable
,Iterable
,Collection
,List
,RandomAccess
- Enclosing class:
- LineLayoutManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
Number of elements to ignore at the end of the list.private int
Number of elements to ignore at the beginning of the list.private final int
private final LineLayoutManager
private MinOptMax
private static final long
private final int
private final int
private final int
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorsConstructorDescriptionParagraph
(LineLayoutManager llm, int alignment, int alignmentLast, int indent, int endIndent) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
Finalizes a Knuth sequence.void
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
Methods inherited from class java.util.AbstractCollection
containsAll
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll
-
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:KnuthSequence
Marks the start of the sequence.- Overrides:
startSequence
in classKnuthSequence
-
endParagraph
public void endParagraph() -
endSequence
Description copied from class:InlineKnuthSequence
Finalizes a Knuth sequence.- Overrides:
endSequence
in classInlineKnuthSequence
- Returns:
- a finalized sequence.
-
containsBox
public boolean containsBox()- Returns:
- true if the sequence contains a box
-