jfig.utils
Class LP2.SubSuperScriptBox
java.lang.Object
jfig.utils.LP2.Box
jfig.utils.LP2.GroupBox
jfig.utils.LP2.SubSuperScriptBox
- Enclosing class:
- LP2
- public class LP2.SubSuperScriptBox
- extends LP2.GroupBox
a Box that holds a sub- and a superscript Box
Methods inherited from class jfig.utils.LP2.Box |
dump, getA, getComment, getD, getFigRectangle, getNextBox, getOrigin, getParent, getPrevBox, getW, getX, getY, moveTo, setA, setComment, setD, setNextBox, setOrigin, setParent, setPrevBox, setW, setX, setY |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
superscriptBox
protected LP2.Box superscriptBox
subscriptBox
protected LP2.Box subscriptBox
mode
protected java.lang.String mode
aa
protected int aa
dd
protected int dd
sa
protected int sa
sd
protected int sd
ptSize
protected int ptSize
fontIndex
protected int fontIndex
italicCorrection
protected int italicCorrection
LP2.SubSuperScriptBox
public LP2.SubSuperScriptBox(int fontIndex,
int ptSize)
setMode
public void setMode(java.lang.String s)
getMode
public java.lang.String getMode()
appendMember
public void appendMember(LP2.Box b)
- Overrides:
appendMember
in class LP2.GroupBox
deleteMember
public void deleteMember(LP2.Box b)
- Overrides:
deleteMember
in class LP2.GroupBox
deleteAllMembers
public void deleteAllMembers()
- Overrides:
deleteAllMembers
in class LP2.GroupBox
move
public void move(int dx,
int dy)
- Overrides:
move
in class LP2.GroupBox
measure
public void measure()
- Overrides:
measure
in class LP2.GroupBox
getAbutmentPoint
public java.awt.Point getAbutmentPoint()
- Overrides:
getAbutmentPoint
in class LP2.GroupBox
getSubscriptPtSize
public int getSubscriptPtSize()
getSuperscriptBasePoint
public java.awt.Point getSuperscriptBasePoint()
getSubscriptBasePoint
public java.awt.Point getSubscriptBasePoint()
getSubscriptBox
public LP2.Box getSubscriptBox()
getSuperscriptBox
public LP2.Box getSuperscriptBox()
setSubscriptBox
public void setSubscriptBox(LP2.Box b)
setSuperscriptBox
public void setSuperscriptBox(LP2.Box b)
toString
public java.lang.String toString()
- Overrides:
toString
in class LP2.Box
convertToFig
public void convertToFig(FigCompound parent)
- Description copied from class:
LP2.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 LP2.GroupBox