uci.uml.visual
Class FigMessage

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

public class FigMessage
extends FigNodeModelElement

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

See Also:
Serialized Form

Field Summary
protected  int _arrowDirection
           
protected  FigPoly _figPoly
           
static Vector ARROW_DIRECTIONS
           
 int PADDING
           
 
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
FigMessage()
           
FigMessage(GraphModel gm, Object node)
           
 
Method Summary
 Object clone()
           
 void dispose()
           
 int getArrow()
           
 Color getFillColor()
           
 boolean getFilled()
           
 Color getLineColor()
           
 int getLineWidth()
           
 Dimension getMinimumSize()
           
protected  void modelChanged()
           
 String placeString()
           
 void setArrow(int direction)
           
 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)
           
protected  void textEdited(FigText ft)
           
 
Methods inherited from class uci.uml.visual.FigNodeModelElement
delayedVetoableChange, getEnclosedFigs, getEnclosingFig, getNameFig, getPopUpActions, getTipString, hitClarifier, keyPressed, keyReleased, keyTyped, makeSelection, mouseClicked, paintClarifiers, propertyChange, setEnclosingFig, setOwner, updateBounds, vetoableChange
 
Methods inherited from class uci.gef.FigNode
addFigEdge, bindPort, cleanUp, contains, deepHitPort, delete, 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

PADDING

public int PADDING

ARROW_DIRECTIONS

public static Vector ARROW_DIRECTIONS

_figPoly

protected FigPoly _figPoly

_arrowDirection

protected int _arrowDirection
Constructor Detail

FigMessage

public FigMessage()

FigMessage

public FigMessage(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

setArrow

public void setArrow(int direction)

getArrow

public int getArrow()

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

textEdited

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

modelChanged

protected void modelChanged()
Overrides:
modelChanged in class FigNodeModelElement

dispose

public void dispose()
Overrides:
dispose in class FigNode