jfig.utils
Class SimpleLatexParser.SubSuperScriptBox
java.lang.Object
jfig.utils.SimpleLatexParser.Box
jfig.utils.SimpleLatexParser.SubSuperScriptBox
- Enclosing class:
- SimpleLatexParser
- class SimpleLatexParser.SubSuperScriptBox
- extends SimpleLatexParser.Box
a Box that holds a sub- and a superscript Box
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
superscriptBox
SimpleLatexParser.Box superscriptBox
subscriptBox
SimpleLatexParser.Box subscriptBox
sa
int sa
sd
int sd
ptSize
int ptSize
fontIndex
int fontIndex
x
protected int x
y
protected int y
w
protected int w
a
protected int a
d
protected int d
next
protected SimpleLatexParser.Box next
SimpleLatexParser.SubSuperScriptBox
public SimpleLatexParser.SubSuperScriptBox(int fontIndex,
int ptSize)
measure
public void measure()
- Overrides:
measure
in class SimpleLatexParser.Box
getAbutmentPoint
public java.awt.Point getAbutmentPoint()
- Overrides:
getAbutmentPoint
in class SimpleLatexParser.Box
getSubscriptPtSize
public int getSubscriptPtSize()
getSuperscriptBasePoint
public java.awt.Point getSuperscriptBasePoint()
getSubscriptBasePoint
public java.awt.Point getSubscriptBasePoint()
getSubscriptBox
public SimpleLatexParser.Box getSubscriptBox()
getSuperscriptBox
public SimpleLatexParser.Box getSuperscriptBox()
setSubscriptBox
public void setSubscriptBox(SimpleLatexParser.Box b)
setSuperscriptBox
public void setSuperscriptBox(SimpleLatexParser.Box b)
toString
public java.lang.String toString()
- Overrides:
toString
in class SimpleLatexParser.Box
convertToFig
public void convertToFig(FigCompound parent)
- Description copied from class:
SimpleLatexParser.Box
- construct a FIG object from this Box and all its child boxes
and put those as members into the specified FigCompound group object.
Check the display_boxes flag to decide whether to generate
bounding boxes, too.
- Overrides:
convertToFig
in class SimpleLatexParser.Box
move
public void move(int dx,
int dy)
getX
public int getX()
getY
public int getY()
getW
public int getW()
getA
public int getA()
getD
public int getD()
setX
public void setX(int x)
setY
public void setY(int y)
setW
public void setW(int w)
setA
public void setA(int a)
setD
public void setD(int d)
getNextBox
public SimpleLatexParser.Box getNextBox()
setNextBox
public void setNextBox(SimpleLatexParser.Box box)
append
public void append(SimpleLatexParser.Box child)
getBounds
public java.awt.Rectangle getBounds()
setOrigin
public void setOrigin(java.awt.Point p)
dump
public void dump(java.io.PrintStream PS)
getFigRectangle
public FigRectangle getFigRectangle(FigCompound parent,
int colorIndex,
int layer)
- construct a FigRectangle at 2400dpi world-coordinates from
our Box coordinates, and put it as a member into the specified
FigCompound group object.