|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.typesetter.type.node.AbstractNode
org.extex.typesetter.type.node.AbstractExpandableNode
org.extex.typesetter.type.node.GlueNode
public class GlueNode
This node represents a
For the document writer it acts like a kerning node. The width contains the distance to add.
The stretchability is adjusted by the typesetter and the width is adjusted accordingly.
| Field Summary | |
|---|---|
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
| Fields inherited from class org.extex.typesetter.type.node.AbstractNode |
|---|
NO_CHARS |
| Constructor Summary | |
|---|---|
GlueNode(FixedDimen size,
boolean horizontal)
Creates a new object. |
|
GlueNode(FixedGlue size,
boolean horizontal)
Creates a new object. |
|
| Method Summary | |
|---|---|
void |
toString(java.lang.StringBuffer sb,
java.lang.String prefix,
int breadth,
int depth)
This method puts the printable representation into the string buffer. |
void |
toText(java.lang.StringBuffer sb,
java.lang.String prefix)
This method puts the printable representation into the string buffer. |
java.lang.Object |
visit(NodeVisitor visitor,
java.lang.Object value)
This method provides an entry point for the visitor pattern. |
| Methods inherited from class org.extex.typesetter.type.node.AbstractExpandableNode |
|---|
addDepthTo, addHeightTo, addWidthTo, getSize, isHorizontal, setSize, spreadHeight, spreadWidth |
| Methods inherited from class org.extex.typesetter.type.node.AbstractNode |
|---|
advanceNaturalDepth, advanceNaturalHeight, advanceNaturalWidth, atShipping, clone, computeAdjustment, countChars, getChars, getDepth, getHeight, getLocalizer, getNaturalDepth, getNaturalHeight, getNaturalWidth, getVerticalSize, getWidth, maxDepth, maxHeight, maxWidth, setDepth, setHeight, setWidth, toString, toText |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.extex.typesetter.type.Node |
|---|
addDepthTo, addHeightTo, addWidthTo, atShipping, countChars, getChars, getDepth, getHeight, getNaturalDepth, getNaturalHeight, getNaturalWidth, getVerticalSize, getWidth, setDepth, setHeight, setWidth, spreadHeight, spreadWidth |
| Field Detail |
|---|
protected static final long serialVersionUID
| Constructor Detail |
|---|
public GlueNode(FixedDimen size,
boolean horizontal)
size - the actual sizehorizontal - indicator that the glue is used in horizontal
mode
public GlueNode(FixedGlue size,
boolean horizontal)
size - the actual sizehorizontal - indicator that the glue is used in horizontal
mode| Method Detail |
|---|
public void toString(java.lang.StringBuffer sb,
java.lang.String prefix,
int breadth,
int depth)
toString in interface NodetoString in class AbstractNodesb - the output string bufferprefix - the prefix string inserted at the beginning of each linebreadth - the breadth (ignored)depth - the depth (ignored)Node.toString(
java.lang.StringBuffer,
java.lang.String,
int,
int)
public void toText(java.lang.StringBuffer sb,
java.lang.String prefix)
toText in interface NodetoText in class AbstractNodesb - the output string bufferprefix - the prefix string inserted at the beginning of each lineNode.toText(java.lang.StringBuffer,
java.lang.String)
public java.lang.Object visit(NodeVisitor visitor,
java.lang.Object value)
throws GeneralException
visit in interface Nodevisitor - the visitor to applyvalue - the argument for the visitor
GeneralException - in case of an errorNode.visit(
org.extex.typesetter.type.NodeVisitor,
java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||