|
|||||||||||
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.
Nested Class Summary |
Nested classes inherited from class org.tigris.gef.presentation.FigEdge |
|
Field Summary | |
private boolean |
dashed
If dashed is true, then the transition represents
"object flow". |
private org.tigris.gef.presentation.ArrowHeadGreater |
endArrow
|
Fields inherited from class org.argouml.uml.diagram.ui.FigEdgeModelElement |
BUNDLE, POPUP_ADD_OFFSET |
Fields inherited from class org.tigris.gef.presentation.FigEdgePoly |
_initiallyLaidOut |
Fields inherited from class org.tigris.gef.presentation.FigEdge |
_arrowHeadEnd, _arrowHeadStart, _destFigNode, _fig, _highlight, _pathItems, _sourceFigNode, _useNearest |
Fields inherited from class org.tigris.gef.presentation.Fig |
_allowsSaving, _context, _dashes, _dashPeriod, _dashStyle, _displayed, _fillColor, _filled, _group, _h, _layer, _lineColor, _lineWidth, _locked, _resource, _selected, _shown, _w, _x, _y, an, annotationOwner, annotationStatus, BORDER, MIN_SIZE |
Constructor Summary | |
FigTransition()
The main constructor |
|
FigTransition(Object edge)
The constructor that hooks the Fig into an existing UML element |
|
FigTransition(Object edge,
org.tigris.gef.base.Layer lay)
The constructor that hooks the Fig into an existing UML element. |
Method Summary | |
protected int[] |
flip(int[] ps)
Deprecated. by mvw in V0.17.1. Use your own routine, or document this one and remove the deprecation. |
protected Object |
getDestination()
Returns the destination of the edge. |
protected Object |
getSource()
Returns the source of the edge. |
protected void |
modelChanged(PropertyChangeEvent e)
This is called after any part of the UML ModelElement has changed. |
void |
paint(Graphics g)
|
void |
setFig(org.tigris.gef.presentation.Fig f)
|
protected void |
textEdited(org.tigris.gef.presentation.FigText ft)
This method is called after the user finishes editing a text field that is in the FigEdgeModelElement. |
protected void |
updateNameText()
Updates the name text box. |
Methods inherited from class org.tigris.gef.presentation.FigEdgePoly |
computeRoute, findAvoidPt, insertPoint, layoutEdge, makeEdgeFig, moveVertex, routingRectPoint, segOK, setEndPoints, setInitiallyLaidOut, setPoint, tryRoute |
Methods inherited from class org.tigris.gef.presentation.FigEdge |
addPathItem, calcBounds, cleanUp, contains, getBetweenNearestPoints, getBounds, getBounds, getDashed, getDestArrowHead, getDestFigNode, getDestPortFig, getFig, getFirstPoint, getHighlight, getLastPoint, getLineColor, getLineWidth, getNumPoints, getPathItem, getPathItemFig, getPathItemFigs, getPathItemsRaw, getPerimeterLength, getPoint, getPoints, getPrivateData, getSourceArrowHead, getSourceFigNode, getSourcePortFig, getXs, getYs, hasFillColor, hitFig, intersects, isReshapable, isResizable, isRotatable, paintArrowHeads, paintHighlightLine, paintPathItems, removePathItem, removePathItem, setBetweenNearestPoints, setDashed, setDestArrowHead, setDestFigNode, setDestPortFig, setHighlight, setLineColor, setLineWidth, setNumPoints, setPoint, setPoints, setPoints, setPoints, setPrivateData, setSourceArrowHead, setSourceFigNode, setSourcePortFig, setXs, setYs, stuffPointAlongPerimeter, translateEdge, updatePathItemLocations |
Methods inherited from class org.tigris.gef.presentation.Fig |
addAnnotation, addPoint, addPropertyChangeListener, align, center, classNameAndBounds, clone, connectionPoint, contains, contains, countCornersContained, createDrag, delete, dispose, drawDashedLine, drawDashedPerimeter, endTrans, firePropChange, firePropChange, firePropChange, getAnnotationOwner, getAnnotationStrategy, getClosestPoint, getContext, getDashed01, getDashedString, getEnclosedFigs, getEnclosingFig, getFillColor, getFilled, getFilled01, getGravityPoints, getGroup, getHalfHeight, getHalfWidth, getHandleBox, getHeight, getId, getLayer, getLocation, getLocked, getMinimumSize, getOwner, getPreferredSize, getResource, getSingle, getSize, getTrapRect, getUseTrapRect, getVisState, getWidth, getX, getY, hasLineColor, initAnnotations, intersectsPerimeter, isAnnotation, isCopieable, isCopyable, isCutable, isDisplayed, isLowerRightResizable, isMovable, isSelected, isVisible, OK, pointAlongPerimeter, postSave, preSave, print, redraw, removeAnnotation, removeAnnotation, removePoint, removePropertyChangeListener, reorder, routingRect, savingAllowed, setAnnotationOwner, setAnnotationStatus, setAnnotationStrategy, setBounds, setBounds, setCenter, setContext, setDashedString, setDisplayed, setEnclosingFig, setFillColor, setFilled, setGroup, setHandleBox, setHeight, setLayer, setLocation, setLocation, setLocked, setMovable, setPoint, setPoint, setPoints, setPoints, setResizable, setResource, setSavingAllowed, setSelected, setSingle, setSize, setSize, setVisible, setVisState, setWidth, setX, setY, stuffBounds, translate, translateAnnotations, unsetAnnotationOwner, updateAnnotationPositions, updateVisState, within |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.tigris.gef.ui.Highlightable |
addPropertyChangeListener, removePropertyChangeListener |
Field Detail |
private org.tigris.gef.presentation.ArrowHeadGreater endArrow
private boolean dashed
dashed
is true, then the transition represents
"object flow".
If the line is solid, then it represents "control flow".
Constructor Detail |
public FigTransition()
public FigTransition(Object edge, org.tigris.gef.base.Layer lay)
edge
- the UML elementlay
- the layerpublic FigTransition(Object edge)
edge
- the UML elementMethod Detail |
public void setFig(org.tigris.gef.presentation.Fig f)
FigEdge.setFig(org.tigris.gef.presentation.Fig)
protected void textEdited(org.tigris.gef.presentation.FigText ft)
textEdited
in class FigEdgeModelElement
ft
- the text Fig that has been editedFigEdgeModelElement.textEdited(org.tigris.gef.presentation.FigText)
protected void modelChanged(PropertyChangeEvent e)
modelChanged
in class FigEdgeModelElement
e
- the eventFigEdgeModelElement.modelChanged(java.beans.PropertyChangeEvent)
protected int[] flip(int[] ps)
ps
- ?
protected Object getDestination()
FigEdgeModelElement
getDestination
in class FigEdgeModelElement
FigEdgeModelElement.getDestination()
protected Object getSource()
FigEdgeModelElement
getSource
in class FigEdgeModelElement
FigEdgeModelElement.getSource()
public void paint(Graphics g)
Fig.paint(java.awt.Graphics)
protected void updateNameText()
The contents of the text box is generated by the Generator
updateNameText
in class FigEdgeModelElement
FigEdgeModelElement.updateNameText()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |