|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.typesetter.paragraphBuilder.impl.BreakPoint
This class represents a break point for the paragraph breaking.
Constructor Summary | |
BreakPoint(int pos,
WideGlue wd,
WideGlue pwd,
int pen)
Creates a new object. |
Method Summary | |
Fitness |
getFitness()
Getter for fitness. |
int |
getPenalty()
Getter for penalty. |
FixedGlue |
getPointWidth()
Getter for pointWidth. |
int |
getPosition()
Getter for position. |
FixedGlue |
getWidth()
Getter for width. |
boolean |
isActive()
Getter for active. |
void |
setActive()
Setter for active. |
void |
setFitness(Fitness fitness)
Setter for fitness. |
void |
setPassive()
Setter for active. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BreakPoint(int pos, WideGlue wd, WideGlue pwd, int pen)
pos
- the position in the hlistwd
- the width; i.e. the delta since the previous break pointpwd
- the point width for this break pointpen
- the penalty for this break pointMethod Detail |
public Fitness getFitness()
null
for break points which are not active.
public int getPenalty()
public FixedGlue getPointWidth()
public int getPosition()
public FixedGlue getWidth()
public boolean isActive()
public void setActive()
public void setFitness(Fitness fitness)
fitness
- the fitness to set.public void setPassive()
public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |