|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.gef.presentation.Fig
org.tigris.gef.presentation.FigEdge
org.tigris.gef.presentation.FigEdgePoly
org.argouml.uml.diagram.ui.FigEdgeModelElement
org.argouml.uml.diagram.state.ui.FigTransition
This class represents the graphical representation of a transition on a diagram.
| Field Summary |
| Fields inherited from class org.argouml.uml.diagram.ui.FigEdgeModelElement |
notationProviderName |
| Fields inherited from class org.tigris.gef.presentation.FigEdgePoly |
_initiallyLaidOut |
| Fields inherited from class org.tigris.gef.presentation.FigEdge |
_arrowHeadEnd, _arrowHeadStart, _destFigNode, _highlight, _pathItems, _sourceFigNode, _useNearest |
| 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 | |
FigTransition()
The main constructor. |
|
FigTransition(Object edge,
Layer lay)
The constructor that hooks the Fig into an existing UML element. |
|
| Method Summary | |
protected Object |
getDestination()
Returns the destination of the edge. |
protected Object |
getSource()
Returns the source of the edge. |
protected void |
initNotationProviders(Object own)
Create the NotationProviders. |
protected void |
modelChanged(PropertyChangeEvent e)
This is called after any part of the UML ModelElement has changed. |
void |
paint(Graphics g)
|
void |
paintClarifiers(Graphics g)
|
void |
setFig(Fig f)
|
void |
setOwner(Object newOwner)
This method should only be called once for any one Fig instance that represents a model element (ie not for a FigEdgeNote). |
protected void |
textEdited(FigText ft)
This method is called after the user finishes editing a text field that is in the FigEdgeModelElement. |
protected void |
textEditStarted(FigText ft)
This method is called when the user doubleclicked on the text field, and starts editing. |
protected void |
updateNameText()
Updates the name text box. |
| Methods inherited from class org.tigris.gef.presentation.FigEdgePoly |
computeRouteImpl, findAvoidPt, getPolygon, insertPoint, layoutEdge, makeEdgeFig, moveVertex, paint, routingRectPoint, segOK, setEndPoints, setInitiallyLaidOut, setPoint, setPolygon, tryRoute |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.argouml.cognitive.Highlightable |
getHighlight, setHighlight |
| Methods inherited from interface org.tigris.gef.di.GraphicElement |
getId, getOwner, routingRect |
| Constructor Detail |
public FigTransition()
public FigTransition(Object edge,
Layer lay)
edge - the UML elementlay - the layer| Method Detail |
public void setOwner(Object newOwner)
FigEdgeModelElement
setOwner in class FigEdgeModelElementFigEdgeModelElement.setOwner(java.lang.Object)protected void initNotationProviders(Object own)
FigEdgeModelElement
initNotationProviders in class FigEdgeModelElementown - the current ownerFigEdgeModelElement.initNotationProviders(java.lang.Object)public void setFig(Fig f)
FigEdge.setFig(org.tigris.gef.presentation.Fig)protected void textEdited(FigText ft)
textEdited in class FigEdgeModelElementft - the text Fig that has been editedFigEdgeModelElement.textEdited(org.tigris.gef.presentation.FigText)protected void textEditStarted(FigText ft)
FigEdgeModelElementIt is also possible to alter the text to be edited already here, e.g. by adding the stereotype in front of the name, but that seems not user-friendly.
textEditStarted in class FigEdgeModelElementft - the FigText that will be edited and contains the start-textFigEdgeModelElement.textEditStarted(org.tigris.gef.presentation.FigText)protected void modelChanged(PropertyChangeEvent e)
modelChanged in class FigEdgeModelElemente - the eventFigEdgeModelElement.modelChanged(java.beans.PropertyChangeEvent)protected Object getDestination()
FigEdgeModelElement
getDestination in class FigEdgeModelElementFigEdgeModelElement.getDestination()protected Object getSource()
FigEdgeModelElement
getSource in class FigEdgeModelElementFigEdgeModelElement.getSource()public void paint(Graphics g)
Fig.paint(java.awt.Graphics)protected void updateNameText()
updateNameText in class FigEdgeModelElementFigEdgeModelElement.updateNameText()public void paintClarifiers(Graphics g)
paintClarifiers in class FigEdgeModelElementg - the Graphics objectFigEdgeModelElement.paintClarifiers(java.awt.Graphics)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |