public interface InlineLevelLayoutManager extends LayoutManager
Modifier and Type | Method and Description |
---|---|
java.util.List |
addALetterSpaceTo(java.util.List oldList)
Tell the LM to modify its data, adding a letter space
to the word fragment represented by the given elements,
and returning the corrected elements
|
java.util.List |
addALetterSpaceTo(java.util.List oldList,
int depth)
Tell the LM to modify its data, adding a letter space
to the word fragment represented by the given elements,
and returning the corrected elements
|
boolean |
applyChanges(java.util.List oldList)
Tell the LM to apply the changes due to hyphenation
|
boolean |
applyChanges(java.util.List oldList,
int depth)
Tell the LM to apply the changes due to hyphenation
|
java.util.List |
getChangedKnuthElements(java.util.List oldList,
int alignment,
int depth)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM, after changes have been applied
|
java.lang.String |
getWordChars(Position pos)
Get the word chars corresponding to the given position.
|
void |
hyphenate(Position pos,
HyphContext hyphContext)
Tell the LM to hyphenate a word
|
addAreas, addChildArea, addChildLM, addChildLMs, createNextChildLMs, getBaselineOffset, getChangedKnuthElements, getChildLMs, getContentAreaBPD, getContentAreaIPD, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getNextKnuthElements, getNextKnuthElements, getParent, getParentArea, getPSLM, hasLineAreaDescendant, initialize, isFinished, isRestartable, notifyPos, reset, setFinished, setParent
getBaseLength
java.util.List addALetterSpaceTo(java.util.List oldList)
oldList
- the elements which must be given one more letter spacejava.util.List addALetterSpaceTo(java.util.List oldList, int depth)
oldList
- the elements which must be given one more letter spacedepth
- the depth at which the Positions for this LM in oldList are foundjava.lang.String getWordChars(Position pos)
pos
- the position referring to the needed word chars.void hyphenate(Position pos, HyphContext hyphContext)
pos
- the Position referring to the wordhyphContext
- the HyphContext storing hyphenation informationboolean applyChanges(java.util.List oldList)
oldList
- the list of the old elements the changes refer toboolean applyChanges(java.util.List oldList, int depth)
oldList
- the list of the old elements the changes refer todepth
- the depth at which the Positions for this LM in oldList are foundjava.util.List getChangedKnuthElements(java.util.List oldList, int alignment, int depth)
oldList
- the elements to replacealignment
- the desired text alignmentdepth
- the depth at which the Positions for this LM in oldList are foundCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.