jfig.utils
Class LP2.SqrtBox

java.lang.Object
  extended byjfig.utils.LP2.Box
      extended byjfig.utils.LP2.SqrtBox
Enclosing class:
LP2

public class LP2.SqrtBox
extends LP2.Box


Field Summary
protected  LP2.GroupBox group
           
protected  int X_OFFSET
           
protected  int Y_SPACING
           
 
Fields inherited from class jfig.utils.LP2.Box
a, comment, d, next, parent, prev, w, x, y
 
Constructor Summary
LP2.SqrtBox(LP2.GroupBox group)
           
 
Method Summary
 void convertToFig(FigCompound parent)
          construct a FIG object from this Box and all its child boxes and put those as members into the specified FigCompound group object.
 void measure()
           
 void move(int dx, int dy)
           
 
Methods inherited from class jfig.utils.LP2.Box
append, dump, getA, getAbutmentPoint, getBounds, getComment, getD, getFigRectangle, getNextBox, getOrigin, getParent, getPrevBox, getW, getX, getY, moveTo, setA, setComment, setD, setNextBox, setOrigin, setParent, setPrevBox, setW, setX, setY, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

group

protected LP2.GroupBox group

Y_SPACING

protected int Y_SPACING

X_OFFSET

protected int X_OFFSET
Constructor Detail

LP2.SqrtBox

public LP2.SqrtBox(LP2.GroupBox group)
Method Detail

move

public void move(int dx,
                 int dy)
Overrides:
move in class LP2.Box

measure

public void measure()
Overrides:
measure in class LP2.Box

convertToFig

public void convertToFig(FigCompound parent)
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.Box