|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface Noad is a type of data structure which represents mathematical constructions.
Method Summary | |
MathSpacing |
getSpacingClass()
Getter for spacing class. |
Noad |
getSubscript()
Getter for the subscript. |
Noad |
getSuperscript()
Getter for the superscript. |
void |
setSubscript(Noad subscript)
Setter for the subscript. |
void |
setSuperscript(Noad superscript)
Setter for the superscript. |
void |
toString(java.lang.StringBuffer sb)
Produce a printable representation of the noad in a StringBuffer. |
void |
toString(java.lang.StringBuffer sb,
int depth)
Produce a printable representation to a certain depth of the noad. |
void |
typeset(Noad previousNoad,
NoadList noads,
int index,
NodeList list,
MathContext mathContext,
java.util.logging.Logger logger)
Translate a Noad into a NodeList. |
Method Detail |
public MathSpacing getSpacingClass()
public Noad getSubscript()
public Noad getSuperscript()
public void setSubscript(Noad subscript)
subscript
- the subscript to set.public void setSuperscript(Noad superscript)
superscript
- the superscript to set.public void toString(java.lang.StringBuffer sb)
sb
- the string bufferpublic void toString(java.lang.StringBuffer sb, int depth)
sb
- the string bufferdepth
- the depth to which the full information should be givenpublic void typeset(Noad previousNoad, NoadList noads, int index, NodeList list, MathContext mathContext, java.util.logging.Logger logger) throws TypesetterException, ConfigurationException
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
TypesetterException
- in case of a problem
ConfigurationException
- in case of a configuration problem
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |