|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.typesetter.type.math.MathDelimiter
public class MathDelimiter
This class provides a container for a delimiter consisting of a class, a large, and a small math glyph.
| Field Summary | |
|---|---|
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
| Constructor Summary | |
|---|---|
MathDelimiter(MathClass mathClass,
MathGlyph smallChar,
MathGlyph largeChar)
Creates a new object. |
|
| Method Summary | |
|---|---|
MathGlyph |
getLargeChar()
Getter for largeChar. |
MathClass |
getMathClass()
Getter for mathClass. |
MathGlyph |
getSmallChar()
Getter for smallChar. |
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()
Returns a string representation of the object. |
void |
toString(java.lang.StringBuffer sb)
Append the printable representation of the current instance to the string buffer. |
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. |
void |
typeset(NodeList list,
MathContext mathContext,
FixedDimen height,
FixedDimen depth)
Translate a MathDelimter 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 MathDelimiter(MathClass mathClass,
MathGlyph smallChar,
MathGlyph largeChar)
mathClass - the classsmallChar - the small characterlargeChar - the large character| Method Detail |
|---|
public MathGlyph getLargeChar()
public MathClass getMathClass()
public MathGlyph getSmallChar()
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 target string buffer
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
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 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)
public void typeset(NodeList list,
MathContext mathContext,
FixedDimen height,
FixedDimen depth)
throws TypesetterException,
ConfigurationException
list - 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 considerheight - the target height. If null then the natural
height is useddepth - the target depth. If null then the natural
depth is used
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 | |||||||||