|
Unified Typesetting API M1-20040817 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.inghuimische.uta.linebreaking.AbstractLinebreakAlgorithm
An abstract linebreaker providing some utiltiy methods and a empty feature list.
Field Summary | |
protected FeatureList |
features
Subclasses should add their features to this list during constrution. |
protected int |
lineNumber
Holds the actual line number, compare nextLineWidth() . |
protected LineWidthModel |
lineWidthModel
The line width model used. |
Constructor Summary | |
AbstractLinebreakAlgorithm()
|
Method Summary | |
FeatureList |
getFeatures()
Returns a list of supported features. |
LineWidthModel |
getLineWidthModel()
Returns the line width model used. |
protected double |
nextLineWidth()
An utility method taking care of the line number. |
void |
setLineWidthModel(LineWidthModel aModel)
Sets the line width model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.inghuimische.uta.linebreaking.LinebreakAlgorithm |
consider, getBreakpoints |
Field Detail |
protected LineWidthModel lineWidthModel
protected int lineNumber
nextLineWidth()
.
protected FeatureList features
Constructor Detail |
public AbstractLinebreakAlgorithm()
Method Detail |
public void setLineWidthModel(LineWidthModel aModel)
LinebreakAlgorithm
setLineWidthModel
in interface LinebreakAlgorithm
aModel
- The model to use.public LineWidthModel getLineWidthModel()
LinebreakAlgorithm
getLineWidthModel
in interface LinebreakAlgorithm
protected double nextLineWidth()
public FeatureList getFeatures()
LinebreakAlgorithm
getFeatures
in interface LinebreakAlgorithm
|
Unified Typesetting API M1-20040817 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() An inghuimische.de project. | Copyright (C) 2004 Christian Ziesemer; See the Mozilla Public License for more details. |