uci.gef
Class FigRect

java.lang.Object
  |
  +--uci.gef.Fig
        |
        +--uci.gef.FigRect
Direct Known Subclasses:
FigRRect

public class FigRect
extends Fig
implements Serializable

Primitive Fig to paint rectangles on a LayerDiagram.

See Also:
Serialized Form

Fields inherited from class uci.gef.Fig
_dashes, _fillColor, _filled, _group, _h, _layer, _lineColor, _lineWidth, _locked, _w, _x, _y, BORDER, DASH_ARRAYS, DASHED_CHOICES, MIN_SIZE
 
Constructor Summary
FigRect(int x, int y, int w, int h)
          Construct a new FigRect w/ the given position and size.
FigRect(int x, int y, int w, int h, Color lColor, Color fColor)
          Construct a new FigRect w/ the given position, size, line color, and fill color.
 
Method Summary
 void paint(Graphics g)
          Paint this FigRect
 
Methods inherited from class uci.gef.Fig
addPoint, addPropertyChangeListener, align, calcBounds, center, classNameAndBounds, cleanUp, clone, connectionPoint, contains, contains, contains, countCornersContained, createDrag, damage, delete, dispose, drawDashedLine, drawDashedPerimeter, endTrans, firePropChange, firePropChange, firePropChange, getBounds, getClosestPoint, getDashed, getDashed01, getDashedString, getEnclosedFigs, getEnclosingFig, getFillColor, getFilled, getFilled01, getFirstPoint, getGravityPoints, getGroup, getHalfHeight, getHalfWidth, getHeight, getId, getLastPoint, getLayer, getLineColor, getLineWidth, getLocation, getLocked, getMinimumSize, getNumPoints, getOwner, getPerimeterLength, getPoints, getPoints, getPopUpActions, getPreferedSize, getSize, getTipString, getTrapRect, getUseTrapRect, getWidth, getX, getXs, getY, getYs, hit, insertPoint, intersects, isLowerRightResizable, isMovable, isReshapable, isResizable, isRotatable, makeSelection, OK, pointAlongPerimeter, postLoad, postSave, preSave, print, propertyChange, removePoint, removePropertyChangeListener, reorder, routingRect, setBounds, setBounds, setDashed, setDashedString, setEnclosingFig, setFillColor, setFilled, setGroup, setHeight, setLayer, setLineColor, setLineWidth, setLocation, setLocation, setLocked, setNumPoints, setOwner, setPoints, setPoints, setPoints, setPoints, setPoints, setSize, setSize, setWidth, setX, setXs, setY, setYs, startTrans, stuffBounds, stuffPointAlongPerimeter, translate, within
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FigRect

public FigRect(int x,
               int y,
               int w,
               int h)
Construct a new FigRect w/ the given position and size.

FigRect

public FigRect(int x,
               int y,
               int w,
               int h,
               Color lColor,
               Color fColor)
Construct a new FigRect w/ the given position, size, line color, and fill color.
Method Detail

paint

public void paint(Graphics g)
Paint this FigRect
Overrides:
paint in class Fig