public static class AbstractBreaker.BlockSequence extends BlockKnuthSequence
BlockKnuthSequence.modCount| Constructor and Description |
|---|
BlockSequence(int startOn,
int displayAlign)
Creates a new BlockSequence.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractBreaker.BlockSequence |
endBlockSequence(Position breakPosition)
Finalizes a this
AbstractBreaker.BlockSequence, adding a terminating
penalty-glue-penalty sequence |
KnuthSequence |
endSequence()
Finalizes a Knuth sequence.
|
KnuthSequence |
endSequence(Position breakPosition)
Finalizes a Knuth sequence.
|
int |
getDisplayAlign() |
int |
getStartOn() |
appendSequence, appendSequence, canAppendSequence, isInlineSequenceappendSequenceOrClose, appendSequenceOrClose, getElement, getFirstBoxIndex, getLast, removeLast, startSequence, toString, wrapPositionsadd, 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, trimToSizeequals, hashCodecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic BlockSequence(int startOn,
int displayAlign)
startOn - the kind of page the sequence should start on.
One of Constants.EN_ANY, Constants.EN_COLUMN,
Constants.EN_ODD_PAGE, or Constants.EN_EVEN_PAGE.displayAlign - the value for the display-align propertypublic int getStartOn()
Constants.EN_ANY, Constants.EN_COLUMN,
Constants.EN_ODD_PAGE, or Constants.EN_EVEN_PAGE.public int getDisplayAlign()
public KnuthSequence endSequence()
endSequence in class BlockKnuthSequencepublic KnuthSequence endSequence(Position breakPosition)
breakPosition - a Position instance for the last penalty (may be null)public AbstractBreaker.BlockSequence endBlockSequence(Position breakPosition)
AbstractBreaker.BlockSequence, adding a terminating
penalty-glue-penalty sequencebreakPosition - a Position instance pointing to the last penaltyAbstractBreaker.BlockSequenceCopyright © 2025 Apache Software Foundation. All rights reserved.