org.extex.typesetter.type.noad
Class VCenterNoad
java.lang.Object
org.extex.typesetter.type.noad.AbstractNoad
org.extex.typesetter.type.noad.AbstractNucleusNoad
org.extex.typesetter.type.noad.VCenterNoad
- All Implemented Interfaces:
- Noad
public class VCenterNoad
- extends AbstractNucleusNoad
This class represents a Noad with vertically centered material.
- Version:
- $Revision: 4739 $
- Author:
- Gerd Neugebauer
- See Also:
- "TTP [687]"
|
Method Summary |
protected void |
toStringAdd(java.lang.StringBuffer sb,
int depth)
Add some information in the middle of the default toString method. |
void |
typeset(Noad previousNoad,
NoadList noads,
int index,
NodeList list,
MathContext mathContext,
java.util.logging.Logger logger)
Translate a Noad into a NodeList. |
| Methods inherited from class org.extex.typesetter.type.noad.AbstractNoad |
getLocalizer, getSpacingClass, getSubscript, getSuperscript, makeScripts, rebox, setSpacingClass, setSubscript, setSuperscript, toString, toString, toStringSubsidiaray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VCenterNoad
public VCenterNoad(Noad nucleus,
TypesettingContext tc)
- Creates a new object.
- Parameters:
nucleus - the nucleus to be underlinedtc - the typesetting context for the color
toStringAdd
protected void toStringAdd(java.lang.StringBuffer sb,
int depth)
- Add some information in the middle of the default toString method.
- Overrides:
toStringAdd in class AbstractNoad
- Parameters:
sb - the target string bufferdepth - the recursion depth- See Also:
- "TTP [696]",
AbstractNoad.toStringAdd(
java.lang.StringBuffer,
int)
typeset
public void typeset(Noad previousNoad,
NoadList noads,
int index,
NodeList list,
MathContext mathContext,
java.util.logging.Logger logger)
throws TypesetterException,
ConfigurationException
- Translate a Noad into a NodeList.
- Parameters:
previousNoad - the previous noadnoads - the list of noads currently processedindex - the index of the current node in the listlist - the list to add the nodes to. This list contains the Nodes
previously typeset. Thus it can be used to look backmathContext - the context to considerlogger - the logger for debugging and tracing information
- Throws:
TypesetterException - in case of a problem
ConfigurationException - in case of a configuration problem- See Also:
- "TTP [736]",
Noad.typeset(
org.extex.typesetter.type.noad.Noad,
org.extex.typesetter.type.noad.NoadList,
int,
org.extex.typesetter.type.NodeList,
org.extex.typesetter.type.noad.util.MathContext,
java.util.logging.Logger)