|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.typesetter.type.noad.MathGlyph
public class MathGlyph
This class provides a container for a mathematical glyph.
| Field Summary | |
|---|---|
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
| Constructor Summary | |
|---|---|
MathGlyph(int family,
UnicodeChar character)
Creates a new object. |
|
| Method Summary | |
|---|---|
UnicodeChar |
getCharacter()
Getter for character. |
int |
getFamily()
Getter for family. |
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. |
java.lang.String |
toString()
Get the string representation of this object for debugging purposes. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final long serialVersionUID
| Constructor Detail |
|---|
public MathGlyph(int family,
UnicodeChar character)
family - the math family of the glyphcharacter - the character in the font| Method Detail |
|---|
public UnicodeChar getCharacter()
public int getFamily()
public MathSpacing getSpacingClass()
getSpacingClass in interface NoadNoad.getSpacingClass()public Noad getSubscript()
getSubscript in interface NoadNoad.getSubscript()public Noad getSuperscript()
getSuperscript in interface NoadNoad.getSuperscript()public void setSpacingClass(MathSpacing spacingClass)
setSpacingClass in interface NoadspacingClass - the spacing class to setNoad.setSpacingClass(
org.extex.typesetter.type.noad.util.MathSpacing)public void setSubscript(Noad subscript)
setSubscript in interface Noadsubscript - the subscript to set.Noad.setSubscript(
org.extex.typesetter.type.noad.Noad)public void setSuperscript(Noad superscript)
setSuperscript in interface Noadsuperscript - the superscript to set.Noad.setSuperscript(
org.extex.typesetter.type.noad.Noad)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public void toString(java.lang.StringBuffer sb)
toString in interface Noadsb - the string bufferNoad.toString(
java.lang.StringBuffer)
public void toString(java.lang.StringBuffer sb,
int depth)
toString in interface Noadsb - the string bufferdepth - the depth to which the full information should be givenNoad.toString(
java.lang.StringBuffer, int)
public void typeset(Noad previousNoad,
NoadList noads,
int index,
NodeList list,
MathContext mathContext,
java.util.logging.Logger logger)
throws TypesetterException,
ConfigurationException
typeset in interface NoadpreviousNoad - 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 problemNoad.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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||