uci.uml.visual
Class FigBranchState

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

public class FigBranchState
extends FigStateVertex

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

See Also:
Serialized Form

Field Summary
static int HEIGHT
           
static int MARGIN
           
static int WIDTH
           
static int X
           
static 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
FigBranchState()
           
FigBranchState(GraphModel gm, Object node)
           
 
Method Summary
 Object clone()
           
 Color getFillColor()
           
 boolean getFilled()
           
 Color getLineColor()
           
 int getLineWidth()
           
 boolean isResizable()
          Initial states are fixed size.
 void keyPressed(KeyEvent ke)
           
 Selection makeSelection()
           
 void mouseClicked(MouseEvent me)
           
 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.FigStateVertex
setEnclosingFig
 
Methods inherited from class uci.uml.visual.FigNodeModelElement
delayedVetoableChange, getEnclosedFigs, getEnclosingFig, getNameFig, getPopUpActions, getTipString, hitClarifier, keyReleased, keyTyped, modelChanged, paintClarifiers, placeString, 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, setBounds, 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, 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, getMinimumSize, 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 static final int MARGIN

X

public static final int X

Y

public static final int Y

WIDTH

public static final int WIDTH

HEIGHT

public static final int HEIGHT
Constructor Detail

FigBranchState

public FigBranchState()

FigBranchState

public FigBranchState(GraphModel gm,
                      Object node)
Method Detail

clone

public Object clone()
Overrides:
clone in class FigNode

setOwner

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

isResizable

public boolean isResizable()
Initial states are fixed size.
Overrides:
isResizable in class FigGroup

makeSelection

public Selection makeSelection()
Overrides:
makeSelection in class FigNodeModelElement

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

mouseClicked

public void mouseClicked(MouseEvent me)
Overrides:
mouseClicked in class FigNodeModelElement

keyPressed

public void keyPressed(KeyEvent ke)
Overrides:
keyPressed in class FigNodeModelElement