org.argouml.uml.diagram.ui
Class FigAssociation
java.lang.Object
|
+--FigEdgePoly
|
+--org.argouml.uml.diagram.ui.FigEdgeModelElement
|
+--org.argouml.uml.diagram.ui.FigAssociation
- All Implemented Interfaces:
- ArgoEventListener, ArgoNotationEventListener, DelayedVChangeListener, java.util.EventListener, java.awt.event.KeyListener, java.awt.event.MouseListener, NotationContext, java.beans.PropertyChangeListener, java.beans.VetoableChangeListener
- Direct Known Subclasses:
- FigAssociationRole
- public class FigAssociation
- extends FigEdgeModelElement
- See Also:
- Serialized Form
Method Summary |
protected ArrowHead |
chooseArrowHead(MAggregationKind ak,
boolean nav)
|
void |
delete()
|
java.util.Vector |
getPopUpActions(java.awt.event.MouseEvent me)
|
protected void |
modelChanged(MElementEvent e)
This is called aftern any part of the UML MModelElement has
changed. |
void |
paint(java.awt.Graphics g)
|
void |
setOwner(java.lang.Object own)
|
protected void |
textEdited(FigText ft)
This method is called after the user finishes editing a text
field that is in the FigEdgeModelElement. |
Methods inherited from class org.argouml.uml.diagram.ui.FigEdgeModelElement |
canEdit, damage, delayedVetoableChange, dispose, finalize, getContextNotation, getDestination, getItemUID, getNameFig, getSource, getSquaredDistance, getStereotypeFig, getTipString, hit, hitClarifier, keyPressed, keyReleased, keyTyped, listRoleItemSet, makeSelection, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, notationAdded, notationChanged, notationProviderAdded, notationProviderRemoved, notationRemoved, paintClarifiers, postLoad, propertyChange, propertySet, recovered, removed, renderingChanged, roleAdded, roleRemoved, setItemUID, updateClassifiers, updateStereotypeText, vetoableChange |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SUPPRESS_BIDIRECTIONAL_ARROWS
public static boolean SUPPRESS_BIDIRECTIONAL_ARROWS
_srcGroup
protected FigTextGroup _srcGroup
- Group for the FigTexts concerning the source association end
_destGroup
protected FigTextGroup _destGroup
- Group for the FigTexts concerning the dest association end
_middleGroup
protected FigTextGroup _middleGroup
- Group for the FigTexts concerning the name and stereotype of the
association itself.
_srcMult
protected FigText _srcMult
_srcRole
protected FigText _srcRole
_destMult
protected FigText _destMult
_destRole
protected FigText _destRole
_srcOrdering
protected FigText _srcOrdering
_destOrdering
protected FigText _destOrdering
sourceArrowHead
protected ArrowHead sourceArrowHead
destArrowHead
protected ArrowHead destArrowHead
FigAssociation
public FigAssociation()
- Don't call this constructor directly. It is public since this
is necessary for loading. Use the FigAssociation(Object, Layer)
constructor instead!
FigAssociation
public FigAssociation(java.lang.Object edge,
Layer lay)
setOwner
public void setOwner(java.lang.Object own)
- Overrides:
setOwner
in class FigEdgeModelElement
textEdited
protected void textEdited(FigText ft)
throws java.beans.PropertyVetoException
- Description copied from class:
FigEdgeModelElement
- This method is called after the user finishes editing a text
field that is in the FigEdgeModelElement. Determine which field
and update the model. This class handles the name, subclasses
should override to handle other text elements.
- Overrides:
textEdited
in class FigEdgeModelElement
java.beans.PropertyVetoException
modelChanged
protected void modelChanged(MElementEvent e)
- Description copied from class:
FigEdgeModelElement
- This is called aftern any part of the UML MModelElement has
changed. This method automatically updates the name FigText.
Subclasses should override and update other parts.
- Overrides:
modelChanged
in class FigEdgeModelElement
chooseArrowHead
protected ArrowHead chooseArrowHead(MAggregationKind ak,
boolean nav)
getPopUpActions
public java.util.Vector getPopUpActions(java.awt.event.MouseEvent me)
- Overrides:
getPopUpActions
in class FigEdgeModelElement
paint
public void paint(java.awt.Graphics g)
delete
public void delete()
- Overrides:
delete
in class FigEdgeModelElement
- See Also:
org.tigris.gef.presentation.Fig#delete()