|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Noad
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 |
setSpacingClass(MathSpacing spacingClass)
Setter for spacing class. |
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 |
|---|
MathSpacing getSpacingClass()
Noad getSubscript()
Noad getSuperscript()
void setSpacingClass(MathSpacing spacingClass)
spacingClass - the spacing class to setvoid setSubscript(Noad subscript)
subscript - the subscript to set.void setSuperscript(Noad superscript)
superscript - the superscript to set.void toString(java.lang.StringBuffer sb)
sb - the string buffer
void toString(java.lang.StringBuffer sb,
int depth)
sb - the string bufferdepth - the depth to which the full information should be given
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 | |||||||||