de.dante.extex.typesetter.type.node
Class ExtensionNode

java.lang.Object
  extended byde.dante.extex.typesetter.type.node.AbstractNode
      extended byde.dante.extex.typesetter.type.node.WhatsItNode
          extended byde.dante.extex.typesetter.type.node.ExtensionNode
All Implemented Interfaces:
Node, java.io.Serializable

public class ExtensionNode
extends WhatsItNode
implements Node

This class provides an extension mechanism for nodes. With this class it is possible to insert arbitrary nodes into the typesetter tree.

Version:
$Revision: 1.7 $
Author:
Gerd Neugebauer
See Also:
Serialized Form

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Fields inherited from class de.dante.extex.typesetter.type.node.AbstractNode
NO_CHARS
 
Constructor Summary
ExtensionNode(Extension theExtension)
          Creates a new object.
 
Method Summary
 FixedDimen getDepth()
          Getter for the depth of the node.
 FixedDimen getHeight()
          Getter for the height of the node.
 FixedDimen getWidth()
          Getter for the width of the node.
 void setDepth(FixedDimen depth)
          Setter for the depth of the node.
 void setHeight(FixedDimen height)
          Setter for the height of the node.
 void setWidth(FixedDimen width)
          Setter for the width of the node.
 
Methods inherited from class de.dante.extex.typesetter.type.node.WhatsItNode
toString, visit
 
Methods inherited from class de.dante.extex.typesetter.type.node.AbstractNode
addDepthTo, addHeightTo, addWidthTo, advanceDepth, advanceHeight, advanceWidth, atShipping, computeAdjustment, countChars, getChars, getLocalizer, getVerticalSize, maxDepth, maxHeight, maxWidth, spreadHeight, spreadWidth, toString, toText, toText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.dante.extex.typesetter.type.Node
addDepthTo, addHeightTo, addWidthTo, atShipping, countChars, getChars, getVerticalSize, spreadHeight, spreadWidth, toString, toText, visit
 

Field Detail

serialVersionUID

protected static final long serialVersionUID
The constant serialVersionUID contains the id for serialization.

See Also:
Constant Field Values
Constructor Detail

ExtensionNode

public ExtensionNode(Extension theExtension)
Creates a new object.

Parameters:
theExtension - the extension object
Method Detail

getDepth

public FixedDimen getDepth()
Description copied from interface: Node
Getter for the depth of the node.

Specified by:
getDepth in interface Node
Overrides:
getDepth in class AbstractNode
See Also:
AbstractNode.getDepth()

getHeight

public FixedDimen getHeight()
Description copied from interface: Node
Getter for the height of the node.

Specified by:
getHeight in interface Node
Overrides:
getHeight in class AbstractNode
See Also:
AbstractNode.getHeight()

getWidth

public FixedDimen getWidth()
Description copied from interface: Node
Getter for the width of the node.

Specified by:
getWidth in interface Node
Overrides:
getWidth in class AbstractNode
See Also:
AbstractNode.getWidth()

setDepth

public void setDepth(FixedDimen depth)
Description copied from interface: Node
Setter for the depth of the node.

Specified by:
setDepth in interface Node
Overrides:
setDepth in class AbstractNode
See Also:
Node.setDepth( de.dante.extex.interpreter.type.dimen.FixedDimen)

setHeight

public void setHeight(FixedDimen height)
Description copied from interface: Node
Setter for the height of the node.

Specified by:
setHeight in interface Node
Overrides:
setHeight in class AbstractNode
See Also:
Node.setHeight( de.dante.extex.interpreter.type.dimen.FixedDimen)

setWidth

public void setWidth(FixedDimen width)
Description copied from interface: Node
Setter for the width of the node.

Specified by:
setWidth in interface Node
Overrides:
setWidth in class AbstractNode
See Also:
Node.setWidth( de.dante.extex.interpreter.type.dimen.FixedDimen)