jaxe.equations.element
Class MathPhantom

java.lang.Object
  extended by jaxe.equations.element.MathElement
      extended by jaxe.equations.element.MathPhantom

public class MathPhantom
extends MathElement

This class represents a phantom of a math element This is used as spacer

Version:
%I%, %G%
Author:
Stephan Michels, Marco Sielaff

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
MathPhantom()
           
 
Method Summary
 void paint(java.awt.Graphics g, int posX, int posY)
          Paints this element
 
Methods inherited from class jaxe.equations.element.MathElement
addMathElement, addText, debug, getAscentHeight, getDescentHeight, getFont, getFontMetrics, getFontSize, getHeight, getMathBase, getMathElement, getMathElementCount, getMiddleShift, getParent, getSymbolFont, getSymbolFontMetrics, getSymbolGlyphVector, getText, getWidth, setFontSize, setMathBase, setMathElementAt, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT

public static final java.lang.String ELEMENT
The XML element from this class

See Also:
Constant Field Values
Constructor Detail

MathPhantom

public MathPhantom()
Method Detail

paint

public void paint(java.awt.Graphics g,
                  int posX,
                  int posY)
Paints this element

Overrides:
paint in class MathElement
Parameters:
g - The graphics context to use for painting
posX - The first left position for painting
posY - The position of the baseline