uci.uml.visual
Class FigState

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

public class FigState
extends FigStateVertex

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

See Also:
Serialized Form

Field Summary
 int H
           
 int MARGIN
           
 int W
           
 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
FigState()
           
FigState(GraphModel gm, Object node)
           
 
Method Summary
 Object clone()
           
 Color getFillColor()
           
 boolean getFilled()
           
 Color getLineColor()
           
 int getLineWidth()
           
 Dimension getMinimumSize()
           
 Selection makeSelection()
           
protected  void modelChanged()
          Update the text labels
 String placeString()
           
 void setBounds(int x, int y, int w, int h)
           
 void setFillColor(Color col)
           
 void setFilled(boolean f)
           
 void setLineColor(Color col)
           
 void setLineWidth(int w)
           
 void setOwner(Object node)
           
 void textEdited(FigText ft)
           
 
Methods inherited from class uci.uml.visual.FigStateVertex
setEnclosingFig
 
Methods inherited from class uci.uml.visual.FigNodeModelElement
delayedVetoableChange, getEnclosedFigs, getEnclosingFig, getNameFig, getPopUpActions, getTipString, hitClarifier, keyPressed, keyReleased, keyTyped, mouseClicked, paintClarifiers, propertyChange, 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, getUseTrapRect, 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 final int X

Y

public final int Y

W

public final int W

H

public final int H
Constructor Detail

FigState

public FigState()

FigState

public FigState(GraphModel gm,
                Object node)
Method Detail

placeString

public String placeString()
Overrides:
placeString in class FigNodeModelElement

clone

public Object clone()
Overrides:
clone in class FigNode

makeSelection

public Selection makeSelection()
Overrides:
makeSelection in class FigNodeModelElement

setOwner

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

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

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

modelChanged

protected void modelChanged()
Update the text labels
Overrides:
modelChanged in class FigNodeModelElement

textEdited

public void textEdited(FigText ft)
                throws PropertyVetoException
Overrides:
textEdited in class FigNodeModelElement