org.argouml.uml.diagram.sequence.ui
Class FigMessagePort

java.lang.Object
  extended byorg.tigris.gef.presentation.Fig
      extended byorg.tigris.gef.presentation.FigGroup
          extended byorg.argouml.uml.diagram.sequence.ui.FigMessagePort
All Implemented Interfaces:
Cloneable, EventListener, org.tigris.gef.di.GraphicElement, PopupGenerator, PropertyChangeListener, Serializable

public class FigMessagePort
extends FigGroup

The port fig for links.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.tigris.gef.presentation.Fig
_allowsSaving, _context, _dashes, _dashPeriod, _dashStyle, _filled, _h, _w, _x, _y, an, annotationOwner, annotationStatus, BORDER, MIN_SIZE, plotter
 
Constructor Summary
FigMessagePort(Object owner)
          Creates a new FigMessagePort that's not displayed; used when loading PGML.
FigMessagePort(Object owner, int x, int y, int x2)
          Creates a new horizontal FigMessagePort that's not displayed.
 
Method Summary
 void addFig(Fig toAdd)
           
 void calcBounds()
           
 List getGravityPoints()
           
 int getY1()
           
protected  void setBoundsImpl(int x, int y, int w, int h)
           
 
Methods inherited from class org.tigris.gef.presentation.FigGroup
addFigs, clone, contains, deepSelect, elements, getDisplayedFigs, getExtraFrameSpace, getFigAt, getFigCount, getFigPosn, getFigs, getFont, getFontFamily, getFontSize, getPrivateData, getSubFigBounds, getTextColor, getTextFillColor, getTextFilled, hit, hitFig, isReshapable, isRotatable, iterator, paint, parseDynObjects, removeAll, removeFig, setExtraFrameSpace, setFigs, setFigs, setFillColor, setFilled, setFont, setFontFamily, setFontSize, setLineColor, setLineWidth, setPrivateData, setTextColor, setTextFillColor, setTextFilled, translateImpl
 
Methods inherited from class org.tigris.gef.presentation.Fig
addAnnotation, addPoint, addPropertyChangeListener, align, center, classNameAndBounds, cleanUp, connectionPoint, contains, contains, countCornersContained, createDrag, damage, deleteFromModel, endTrans, firePropChange, firePropChange, firePropChange, getAnnotationOwner, getAnnotationStrategy, getBounds, getBounds, getCenter, getClosestPoint, getContext, getDashed, getDashed01, getDashedString, getEnclosedFigs, getEnclosingFig, getFillColor, getFilled, getFilled01, getFirstPoint, getGroup, getHalfHeight, getHalfWidth, getHandleBox, getHeight, getId, getLastPoint, getLayer, getLineColor, getLineWidth, getLocation, getLocked, getMinimumSize, getNumPoints, getOwner, getPerimeterLength, getPoint, getPoints, getPopUpActions, getPreferredSize, getResource, getSingle, getSize, getTipString, getTrapRect, getUseTrapRect, getVisState, getWidth, getX, getXs, getY, getYs, hasFillColor, hasLineColor, initAnnotations, insertPoint, intersects, intersectsPerimeter, isAnnotation, isCopyable, isCutable, isLowerRightResizable, isMovable, isRemoveStarted, isResizable, isSelectable, isSelected, isVisible, makeSelection, paint, pointAlongPerimeter, postLoad, postSave, preSave, print, propertyChange, redraw, removeAnnotation, removeFromDiagram, removePoint, removePropertyChangeListener, reorder, routingRect, savingAllowed, setAnnotationOwner, setAnnotationStatus, setAnnotationStrategy, setBounds, setBounds, setCenter, setContext, setDashed, setDashedString, setEnclosingFig, setGroup, setHandleBox, setHeight, setLayer, setLocation, setLocation, setLocked, setMovable, setNumPoints, setOwner, setPoint, setPoint, setPoint, setPoint, setPoints, setResizable, setResource, setSavingAllowed, setSize, setSize, setVisible, setWidth, setX, setXs, setY, setYs, stuffBounds, stuffPointAlongPerimeter, translate, translateAnnotations, unsetAnnotationOwner, updateAnnotationPositions, within
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FigMessagePort

public FigMessagePort(Object owner,
                      int x,
                      int y,
                      int x2)
Creates a new horizontal FigMessagePort that's not displayed.

Parameters:
x - first x coordinate.
y - y coordinate.
x2 - second x coordinate.

FigMessagePort

public FigMessagePort(Object owner)
Creates a new FigMessagePort that's not displayed; used when loading PGML.

Method Detail

addFig

public void addFig(Fig toAdd)
See Also:
FigGroup.addFig(org.tigris.gef.presentation.Fig)

setBoundsImpl

protected void setBoundsImpl(int x,
                             int y,
                             int w,
                             int h)
See Also:
Fig.setBoundsImpl(int, int, int, int)

calcBounds

public void calcBounds()
See Also:
Fig.calcBounds()

getGravityPoints

public List getGravityPoints()
See Also:
Fig.getGravityPoints()

getY1

public int getY1()


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook