|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaxe.equations.element.MathElement
jaxe.equations.element.MathUnder
public class MathUnder
This class arrange an element under an other element
| Field Summary | |
|---|---|
static java.lang.String |
ELEMENT
The XML element from this class |
| Fields inherited from class jaxe.equations.element.MathElement |
|---|
FO_URI, SVG_URI, URI |
| Constructor Summary | |
|---|---|
MathUnder()
|
|
| Method Summary | |
|---|---|
void |
addMathElement(MathElement child)
Add a math element as a child |
int |
getAscentHeight(boolean dynamicParts)
Return the current height of the upper part of this component from the baseline |
int |
getDescentHeight(boolean dynamicParts)
Return the current height of the lower part of this component from the baseline |
int |
getHeight(boolean dynamicParts)
Return the current height of this element |
int |
getWidth(boolean dynamicParts)
Return the current width of this element |
void |
paint(java.awt.Graphics g,
int posX,
int posY)
Paints this element |
void |
setFontSize(int fontsize)
Sets the font size for this component |
| Methods inherited from class jaxe.equations.element.MathElement |
|---|
addText, debug, getFont, getFontMetrics, getFontSize, getMathBase, getMathElement, getMathElementCount, getMiddleShift, getParent, getSymbolFont, getSymbolFontMetrics, getSymbolGlyphVector, getText, setMathBase, setMathElementAt, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ELEMENT
| Constructor Detail |
|---|
public MathUnder()
| Method Detail |
|---|
public void addMathElement(MathElement child)
addMathElement in class MathElementchild - Math elementpublic void setFontSize(int fontsize)
setFontSize in class MathElementfontsize - Font size
public void paint(java.awt.Graphics g,
int posX,
int posY)
paint in class MathElementg - The graphics context to use for paintingposX - The first left position for paintingposY - The position of the baselinepublic int getWidth(boolean dynamicParts)
getWidth in class MathElementdynamicParts - Should be true, if the calculation consider the elements,
which has not fixed sizes
public int getHeight(boolean dynamicParts)
getHeight in class MathElementdynamicParts - Should be true, if the calculation consider the elements,
which has not fixed sizes
public int getAscentHeight(boolean dynamicParts)
getAscentHeight in class MathElementdynamicParts - Should be true, if the calculation consider the elements,
which has not fixed sizes
public int getDescentHeight(boolean dynamicParts)
getDescentHeight in class MathElementdynamicParts - Should be true, if the calculation consider the elements,
which has not fixed sizes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||