org.extex.typesetter.type.node
Class ExtensionNode

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

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: 4739 $
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 org.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 org.extex.typesetter.type.node.WhatsItNode
toString, visit
 
Methods inherited from class org.extex.typesetter.type.node.AbstractNode
addDepthTo, addHeightTo, addWidthTo, advanceNaturalDepth, advanceNaturalHeight, advanceNaturalWidth, atShipping, clone, computeAdjustment, countChars, getChars, getLocalizer, getNaturalDepth, getNaturalHeight, getNaturalWidth, getVerticalSize, maxDepth, maxHeight, maxWidth, spreadHeight, spreadWidth, toString, toText, 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, getNaturalDepth, getNaturalHeight, getNaturalWidth, 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()
Getter for the depth of the node.

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

getHeight

public FixedDimen getHeight()
Getter for the height of the node.

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

getWidth

public FixedDimen getWidth()
Getter for the width of the node.

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

setDepth

public void setDepth(FixedDimen depth)
Setter for the depth of the node.

Specified by:
setDepth in interface Node
Overrides:
setDepth in class AbstractNode
Parameters:
depth - the node depth
See Also:
Node.setDepth( org.extex.core.dimen.FixedDimen)

setHeight

public void setHeight(FixedDimen height)
Setter for the height of the node.

Specified by:
setHeight in interface Node
Overrides:
setHeight in class AbstractNode
Parameters:
height - the new height
See Also:
Node.setHeight( org.extex.core.dimen.FixedDimen)

setWidth

public void setWidth(FixedDimen width)
Setter for the width of the node.

Specified by:
setWidth in interface Node
Overrides:
setWidth in class AbstractNode
Parameters:
width - the new width
See Also:
Node.setWidth( org.extex.core.dimen.FixedDimen)