de.dante.extex.typesetter.type.noad
Class AbstractNucleusNoad

java.lang.Object
  extended byde.dante.extex.typesetter.type.noad.AbstractNoad
      extended byde.dante.extex.typesetter.type.noad.AbstractNucleusNoad
All Implemented Interfaces:
Noad
Direct Known Subclasses:
AccentNoad, BinaryNoad, CloseNoad, InnerNoad, OpenNoad, OperatorNoad, OrdinaryNoad, OverlinedNoad, PunctationNoad, RadicalNoad, RelationNoad, UnderlinedNoad, VCenterNoad

public abstract class AbstractNucleusNoad
extends AbstractNoad

This abstract noad represents a Noad with a nucleus.

Version:
$Revision: 1.10 $
Author:
Gerd Neugebauer

Constructor Summary
AbstractNucleusNoad(Noad nucleus, TypesettingContext tc)
          Creates a new object.
 
Method Summary
 Color getColor()
          Getter for color.
 Noad getNucleus()
          Getter for nucleus.
protected  TypesettingContext getTypesettingContext()
          Getter for the typesetting context.
 void toString(java.lang.StringBuffer sb, int depth)
          Produce a printable representation to a certain depth of the noad.
 
Methods inherited from class de.dante.extex.typesetter.type.noad.AbstractNoad
getLocalizer, getSpacingClass, getSubscript, getSuperscript, makeScripts, rebox, setSpacingClass, setSubscript, setSuperscript, toString, toString, toStringAdd, toStringSubsidiaray
 
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.noad.Noad
typeset
 

Constructor Detail

AbstractNucleusNoad

public AbstractNucleusNoad(Noad nucleus,
                           TypesettingContext tc)
Creates a new object.

Parameters:
nucleus - the nucleus of inner noads
tc - the typesetting context for the color
Method Detail

getColor

public Color getColor()
Getter for color.

Returns:
the color

getNucleus

public Noad getNucleus()
Getter for nucleus.

Returns:
the nucleus

getTypesettingContext

protected TypesettingContext getTypesettingContext()
Getter for the typesetting context.

Returns:
the typesetting context

toString

public void toString(java.lang.StringBuffer sb,
                     int depth)
Description copied from interface: Noad
Produce a printable representation to a certain depth of the noad.

Specified by:
toString in interface Noad
Overrides:
toString in class AbstractNoad
See Also:
"TTP [696]", Noad.toString( java.lang.StringBuffer, int)