org.argouml.uml.diagram.static_structure.ui
Class FigLink

java.lang.Object
  |
  +--FigEdgePoly
        |
        +--org.argouml.uml.diagram.ui.FigEdgeModelElement
              |
              +--org.argouml.uml.diagram.static_structure.ui.FigLink
All Implemented Interfaces:
ArgoEventListener, ArgoNotationEventListener, DelayedVChangeListener, java.util.EventListener, java.awt.event.KeyListener, java.awt.event.MouseListener, NotationContext, java.beans.PropertyChangeListener, java.beans.VetoableChangeListener

public class FigLink
extends FigEdgeModelElement

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.argouml.uml.diagram.ui.FigEdgeModelElement
_name, _stereo, cat, ITALIC_LABEL_FONT, LABEL_FONT, MARGIN
 
Constructor Summary
FigLink()
           
FigLink(java.lang.Object edge)
           
 
Method Summary
protected  boolean canEdit(Fig f)
           
protected  java.lang.Object getDestination()
          Returns the destination of the edge.
protected  java.lang.Object getSource()
          Returns the source of the edge.
 
Methods inherited from class org.argouml.uml.diagram.ui.FigEdgeModelElement
damage, delayedVetoableChange, delete, dispose, finalize, getContextNotation, getItemUID, getNameFig, getPopUpActions, getSquaredDistance, getStereotypeFig, getTipString, hit, hitClarifier, keyPressed, keyReleased, keyTyped, listRoleItemSet, makeSelection, modelChanged, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, notationAdded, notationChanged, notationProviderAdded, notationProviderRemoved, notationRemoved, paintClarifiers, postLoad, propertyChange, propertySet, recovered, removed, renderingChanged, roleAdded, roleRemoved, setItemUID, setOwner, textEdited, updateClassifiers, updateStereotypeText, vetoableChange
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FigLink

public FigLink()

FigLink

public FigLink(java.lang.Object edge)
Method Detail

canEdit

protected boolean canEdit(Fig f)
Overrides:
canEdit in class FigEdgeModelElement

getDestination

protected java.lang.Object getDestination()
Description copied from class: FigEdgeModelElement
Returns the destination of the edge. The destination is the owner of the node the edge travels to in a binary relationship. For instance: for a classifierrole, this is the receiver. Since we don't support n-array associations but only binary relations, source/destination works for all edges.

Overrides:
getDestination in class FigEdgeModelElement
Returns:
Object
See Also:
FigEdgeModelElement.getDestination()

getSource

protected java.lang.Object getSource()
Description copied from class: FigEdgeModelElement
Returns the source of the edge. The source is the owner of the node the edge travels from in a binary relationship. For instance: for a classifierrole, this is the sender.

Overrides:
getSource in class FigEdgeModelElement
Returns:
MModelElement
See Also:
FigEdgeModelElement.getSource()


ArgoUML © 1996-2003 (20040229)ArgoUML Project HomeArgoUML Cookbook