|
|||||||||
| 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
gov.nih.nci.cagrid.graph.uml.UMLClassAssociation
public class UMLClassAssociation
| Field Summary | |
|---|---|
UMLClass |
destination
|
UMLClassAssociationArrowHead |
destinationArrow
|
Text |
destinationLabel
|
Text |
destinationMultiplicity
|
protected float[] |
fitnessFunction
|
protected static java.awt.Font |
highlightFont
|
protected float[] |
labelToAnchorDistance
|
protected float[] |
labelToEdgeOverlaps
|
protected float[] |
labelToLabelOverlaps
|
boolean |
showDestinationArrow
|
boolean |
showSourceArrow
|
UMLClass |
source
|
UMLClassAssociationArrowHead |
sourceArrow
|
Text |
sourceLabel
|
Text |
sourceMultiplicity
|
protected static java.awt.Font |
unhighlightFont
|
| 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, _filled, _h, _w, _x, _y, an, annotationOwner, annotationStatus, BORDER, MIN_SIZE |
| Constructor Summary | |
|---|---|
UMLClassAssociation(java.lang.String sourceRoleName,
java.lang.String sourceMultiplicity,
java.lang.String targetRoleName,
java.lang.String targetMultiplicity)
|
|
| Method Summary | |
|---|---|
void |
fade()
|
void |
highlight(org.tigris.gef.base.Layer layer)
|
float |
intersectsRectangle(java.awt.Rectangle r)
|
void |
paint(java.awt.Graphics g)
|
void |
repositionLabelsAndArrowHeads()
|
void |
setDestFigNode(UMLClass f)
|
void |
setDestinationArrowVisible(boolean show)
|
void |
setDestPortFig(UMLClass f)
|
void |
setNormal()
|
void |
setSourceArrowVisible(boolean show)
|
void |
setSourceFigNode(UMLClass f)
|
void |
setSourcePortFig(UMLClass f)
|
| 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, 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, hit, hitFig, intersects, isReshapable, isResizable, isRotatable, paintArrowHeads, paintHighlightLine, paintPathItems, postLoad, propertyChange, removeFromDiagram, removePathItem, removePathItem, setBetweenNearestPoints, setDashed, setDestArrowHead, setDestFigNode, setDestPortFig, setFig, setHighlight, setLineColor, setLineWidth, setNumPoints, setOwner, setPoint, setPoints, 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, damage, deleteFromModel, drawDashedLine, drawDashedPerimeter, endTrans, firePropChange, firePropChange, firePropChange, getAnnotationOwner, getAnnotationStrategy, getBounds, getCenter, getClosestPoint, getContext, getDashed01, getDashedString, getEnclosedFigs, getEnclosingFig, getFillColor, getFilled, getFilled01, getGravityPoints, getGroup, getHalfHeight, getHalfWidth, getHandleBox, getHeight, getId, getLayer, getLocation, getLocked, getMinimumSize, getOwner, getPopUpActions, getPreferredSize, getResource, getSingle, getSize, getTipString, getTrapRect, getUseTrapRect, getVisState, getWidth, getX, getY, hasLineColor, initAnnotations, intersectsPerimeter, isAnnotation, isCopyable, isCutable, isLowerRightResizable, isMovable, isSelectable, isSelected, isVisible, makeSelection, OK, pointAlongPerimeter, postSave, preSave, print, redraw, removeAnnotation, removeAnnotation, removePoint, removePropertyChangeListener, reorder, routingRect, savingAllowed, setAnnotationOwner, setAnnotationStatus, setAnnotationStrategy, setBounds, setBounds, setCenter, setContext, setDashedString, setEnclosingFig, setFillColor, setFilled, setGroup, setHandleBox, setHeight, setLayer, setLocation, setLocation, setLocked, setMovable, setPoint, setPoint, setPrivateData, setResizable, setResource, setSavingAllowed, setSingle, setSize, setSize, setVisible, setWidth, setX, setY, stuffBounds, translate, translateAnnotations, unsetAnnotationOwner, updateAnnotationPositions, updateVisState, within |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.tigris.gef.ui.Highlightable |
|---|
addPropertyChangeListener, removePropertyChangeListener |
| Field Detail |
|---|
public UMLClass source
public UMLClass destination
public Text sourceLabel
public Text destinationLabel
public Text sourceMultiplicity
public Text destinationMultiplicity
public UMLClassAssociationArrowHead sourceArrow
public UMLClassAssociationArrowHead destinationArrow
public boolean showSourceArrow
public boolean showDestinationArrow
protected float[] labelToLabelOverlaps
protected float[] labelToEdgeOverlaps
protected float[] labelToAnchorDistance
protected float[] fitnessFunction
protected static java.awt.Font highlightFont
protected static java.awt.Font unhighlightFont
| Constructor Detail |
|---|
public UMLClassAssociation(java.lang.String sourceRoleName,
java.lang.String sourceMultiplicity,
java.lang.String targetRoleName,
java.lang.String targetMultiplicity)
| Method Detail |
|---|
public void setSourceArrowVisible(boolean show)
public void setDestinationArrowVisible(boolean show)
public void highlight(org.tigris.gef.base.Layer layer)
public void fade()
public void setNormal()
public void repositionLabelsAndArrowHeads()
public void paint(java.awt.Graphics g)
paint in class org.tigris.gef.presentation.FigEdgePolypublic float intersectsRectangle(java.awt.Rectangle r)
public void setSourceFigNode(UMLClass f)
public void setDestFigNode(UMLClass f)
public void setSourcePortFig(UMLClass f)
public void setDestPortFig(UMLClass f)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||