uci.uml.visual
Class FigPackage

java.lang.Object
  |
  +--uci.gef.Fig
        |
        +--uci.gef.FigGroup
              |
              +--uci.gef.FigNode
                    |
                    +--uci.uml.visual.FigNodeModelElement
                          |
                          +--uci.uml.visual.FigPackage

public class FigPackage
extends FigNodeModelElement

Class to display graphics for a UML State in a diagram.

See Also:
Serialized Form

Field Summary
protected  int _radius
           
 int height
           
 int indentX
           
 int indentY
           
 int MARGIN
           
 int textH
           
 int width
           
 int x
           
 int y
           
 
Fields inherited from class uci.uml.visual.FigNodeModelElement
_enclosedFigs, _encloser, _name, _readyToEdit, ITALIC_LABEL_FONT, LABEL_FONT, MARGIN
 
Fields inherited from class uci.gef.FigNode
_blinkPorts, _figEdges, _highlight, ang135, ang225, ang315, ang45
 
Fields inherited from class uci.gef.FigGroup
_figs
 
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
FigPackage()
           
FigPackage(GraphModel gm, Object node)
           
 
Method Summary
 Object clone()
           
 Color getFillColor()
           
 boolean getFilled()
           
 Color getLineColor()
           
 int getLineWidth()
           
 Dimension getMinimumSize()
           
 boolean getUseTrapRect()
           
 String placeString()
           
 void setBounds(int x, int y, int w, int h)
           
 void setEnclosingFig(Fig encloser)
           
 void setFillColor(Color col)
           
 void setFilled(boolean f)
           
 void setLineColor(Color col)
           
 void setLineWidth(int w)
           
 void setOwner(Object node)
           
 
Methods inherited from class uci.uml.visual.FigNodeModelElement
delayedVetoableChange, getEnclosedFigs, getEnclosingFig, getNameFig, getPopUpActions, getTipString, hitClarifier, keyPressed, keyReleased, keyTyped, makeSelection, modelChanged, mouseClicked, paintClarifiers, propertyChange, textEdited, updateBounds, vetoableChange
 
Methods inherited from class uci.gef.FigNode
addFigEdge, bindPort, cleanUp, contains, deepHitPort, delete, dispose, endTrans, getBlinkPorts, getFigEdges, getHighlight, getPortFig, getPortFigs, getPortSector, hidePorts, hit, hitPort, hitPort, mouseEntered, mouseExited, mousePressed, mouseReleased, paint, postLoad, removeFigEdge, removePort, setBlinkPorts, setHighlight, showPorts, startTrans, superTranslate, translate, updateEdges
 
Methods inherited from class uci.gef.FigGroup
addFig, calcBounds, elements, getFigs, getFont, getFontFamily, getFontSize, getTextColor, getTextFillColor, getTextFilled, hitFig, isReshapable, isResizable, isRotatable, removeAll, removeFig, setFigs, setFont, setFontFamily, setFontSize, setTextColor, setTextFillColor, setTextFilled
 
Methods inherited from class uci.gef.Fig
addPoint, addPropertyChangeListener, align, center, classNameAndBounds, connectionPoint, contains, contains, countCornersContained, createDrag, damage, drawDashedLine, drawDashedPerimeter, firePropChange, firePropChange, firePropChange, getBounds, getClosestPoint, getDashed, getDashed01, getDashedString, getFilled01, getFirstPoint, getGravityPoints, getGroup, getHalfHeight, getHalfWidth, getHeight, getId, getLastPoint, getLayer, getLocation, getLocked, getNumPoints, getOwner, getPerimeterLength, getPoints, getPoints, getPreferedSize, getSize, getTrapRect, getWidth, getX, getXs, getY, getYs, insertPoint, intersects, isLowerRightResizable, isMovable, OK, pointAlongPerimeter, postSave, preSave, print, removePoint, removePropertyChangeListener, reorder, routingRect, setBounds, setDashed, setDashedString, setGroup, setHeight, setLayer, setLocation, setLocation, setLocked, setNumPoints, setPoints, setPoints, setPoints, setPoints, setPoints, setSize, setSize, setWidth, setX, setXs, setY, setYs, stuffBounds, stuffPointAlongPerimeter, within
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MARGIN

public final int MARGIN

x

public int x

y

public int y

width

public int width

height

public int height

indentX

public int indentX

indentY

public int indentY

textH

public int textH

_radius

protected int _radius
Constructor Detail

FigPackage

public FigPackage()

FigPackage

public FigPackage(GraphModel gm,
                  Object node)
Method Detail

placeString

public String placeString()
Overrides:
placeString in class FigNodeModelElement

clone

public Object clone()
Overrides:
clone in class FigNode

setLineColor

public void setLineColor(Color col)
Overrides:
setLineColor in class FigGroup

getLineColor

public Color getLineColor()
Overrides:
getLineColor in class FigGroup

setFillColor

public void setFillColor(Color col)
Overrides:
setFillColor in class FigGroup

getFillColor

public Color getFillColor()
Overrides:
getFillColor in class FigGroup

setFilled

public void setFilled(boolean f)
Overrides:
setFilled in class FigGroup

getFilled

public boolean getFilled()
Overrides:
getFilled in class FigGroup

setLineWidth

public void setLineWidth(int w)
Overrides:
setLineWidth in class FigGroup

getLineWidth

public int getLineWidth()
Overrides:
getLineWidth in class FigGroup

setEnclosingFig

public void setEnclosingFig(Fig encloser)
Overrides:
setEnclosingFig in class FigNodeModelElement

setOwner

public void setOwner(Object node)
Overrides:
setOwner in class FigNodeModelElement

getUseTrapRect

public boolean getUseTrapRect()
Overrides:
getUseTrapRect in class Fig

getMinimumSize

public Dimension getMinimumSize()
Overrides:
getMinimumSize in class Fig

setBounds

public void setBounds(int x,
                      int y,
                      int w,
                      int h)
Overrides:
setBounds in class FigNode