|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dante.extex.typesetter.paragraphBuilder.texImpl.ActiveNode
819. An active node for a given breakpoint contains six fields:
The value of link(active) points to the first active node on a linked list of all currently active nodes. This list is in order by line_number, except that nodes with line_number > easy_line may be in any order relative to each other.
define active_node_size=3 {number of words in active nodes} define fitness ::= subtype {very_loose_fit .. tight_fit on final line for this break} define break_node ::= rlink {pointer to the corresponding passive node} define line_number ::= llink {line that begins at this breakpoint} define total_demerits(#) ::= mem[#+2].int {the quantity that TeX minimizes} define unhyphenated=0 {the type of a normal active break node} define hyphenated=1 {the type of an active node that breaks at a disc_node} define last_active ::= active {the active list ends where it begins}
Constructor Summary | |
ActiveNode(Fitness fitness,
boolean hyphenated,
long demerits,
int lineNumber,
PassiveNode breakNode)
Creates a new object. |
Method Summary | |
protected PassiveNode |
getBreakNode()
Getter for breakNode. |
protected Fitness |
getFitness()
Getter for fitness. |
protected int |
getLineNumber()
Getter for lineNumber. |
protected long |
getTotalDemerits()
Getter for demerits. |
protected boolean |
isHyphenated()
Getter for hyphenated. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ActiveNode(Fitness fitness, boolean hyphenated, long demerits, int lineNumber, PassiveNode breakNode)
fitness
- the fitness classificationhyphenated
- the indicator for hyphenation at this break pointdemerits
- the demerits for this break pointlineNumber
- the sequence number of the linebreakNode
- the index of the breakMethod Detail |
protected PassiveNode getBreakNode()
protected Fitness getFitness()
protected int getLineNumber()
protected long getTotalDemerits()
protected boolean isHyphenated()
public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |