gov.nih.nci.cagrid.graph.uml
Class UMLClassAssociationArrowHead

java.lang.Object
  extended by org.tigris.gef.presentation.Fig
      extended by org.tigris.gef.presentation.FigGroup
          extended by org.tigris.gef.presentation.FigNode
              extended by gov.nih.nci.cagrid.graph.uml.UMLClassAssociationArrowHead
All Implemented Interfaces:
java.awt.event.MouseListener, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, org.tigris.gef.presentation.Connecter, org.tigris.gef.ui.Highlightable, org.tigris.gef.ui.PopupGenerator

public class UMLClassAssociationArrowHead
extends org.tigris.gef.presentation.FigNode

See Also:
Serialized Form

Field Summary
protected  org.tigris.gef.presentation.ArrowHead arr
           
protected  org.tigris.gef.presentation.ArrowHeadTriangle highlight
           
protected  org.tigris.gef.presentation.ArrowHeadGreater normal
           
protected  java.awt.Point p1
           
protected  java.awt.Point p2
           
 
Fields inherited from class org.tigris.gef.presentation.FigNode
_blinkPorts, _highlight, ang135, ang225, ang315, ang45
 
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
UMLClassAssociationArrowHead()
           
 
Method Summary
 void fade()
           
 void highlight()
           
 void paint(java.awt.Graphics g)
           
 void setDirection(java.awt.Point p1, java.awt.Point p2)
           
 void setNormal()
           
 
Methods inherited from class org.tigris.gef.presentation.FigNode
addFigEdge, bindPort, cleanUp, clone, contains, deepHitPort, deleteFromModel, dispose, endTrans, getFigEdges, getFigEdges, getHighlight, getPortFig, getPortFigs, getPortSector, hidePorts, hit, hitPort, hitPort, isBlinkPorts, isDragConnectable, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, postLoad, propertyChange, removeFigEdge, removeFromDiagram, removePort, setBlinkPorts, setBounds, setEnclosingFig, setHighlight, setOwner, showPorts, superTranslate, translate, updateEdges
 
Methods inherited from class org.tigris.gef.presentation.FigGroup
addFig, addFigs, calcBounds, deepSelect, elements, getDisplayedFigs, getExtraFrameSpace, getFigAt, getFigs, getFont, getFontFamily, getFontSize, getPrivateData, getSize, getSubFigBounds, getTextColor, getTextFillColor, getTextFilled, hitFig, isReshapable, isRotatable, iterator, parseDynObjects, removeAll, removeFig, setExtraFrameSpace, setFigs, setFigs, setFillColor, setFilled, setFont, setFontFamily, setFontSize, setLineColor, setLineWidth, setPrivateData, setTextColor, setTextFillColor, setTextFilled
 
Methods inherited from class org.tigris.gef.presentation.Fig
addAnnotation, addPoint, addPropertyChangeListener, align, center, classNameAndBounds, connectionPoint, contains, contains, countCornersContained, createDrag, damage, drawDashedLine, drawDashedPerimeter, firePropChange, firePropChange, firePropChange, getAnnotationOwner, getAnnotationStrategy, getBounds, getBounds, getCenter, getClosestPoint, getContext, getDashed, getDashed01, getDashedString, getEnclosedFigs, getEnclosingFig, getFillColor, getFilled, getFilled01, getFirstPoint, getGravityPoints, getGroup, getHalfHeight, getHalfWidth, getHandleBox, getHeight, getId, getLastPoint, getLayer, getLineColor, getLineWidth, getLocation, getLocked, getMinimumSize, getNumPoints, getOwner, getPerimeterLength, getPoint, getPoints, getPopUpActions, getPreferredSize, getResource, getSingle, getTipString, getTrapRect, getUseTrapRect, getVisState, getWidth, getX, getXs, getY, getYs, hasFillColor, hasLineColor, initAnnotations, insertPoint, intersects, intersectsPerimeter, isAnnotation, isCopyable, isCutable, isLowerRightResizable, isMovable, isResizable, isSelectable, isSelected, isVisible, makeSelection, OK, pointAlongPerimeter, postSave, preSave, print, redraw, removeAnnotation, removeAnnotation, removePoint, removePropertyChangeListener, reorder, routingRect, savingAllowed, setAnnotationOwner, setAnnotationStatus, setAnnotationStrategy, setBounds, setCenter, setContext, setDashed, setDashedString, setGroup, setHandleBox, setHeight, setLayer, setLocation, setLocation, setLocked, setMovable, setNumPoints, setPoint, setPoint, setPoint, setPoint, setPoints, setResizable, setResource, setSavingAllowed, setSingle, setSize, setSize, setVisible, setWidth, setX, setXs, setY, setYs, stuffBounds, stuffPointAlongPerimeter, 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

arr

protected org.tigris.gef.presentation.ArrowHead arr

highlight

protected org.tigris.gef.presentation.ArrowHeadTriangle highlight

normal

protected org.tigris.gef.presentation.ArrowHeadGreater normal

p1

protected java.awt.Point p1

p2

protected java.awt.Point p2
Constructor Detail

UMLClassAssociationArrowHead

public UMLClassAssociationArrowHead()
Method Detail

highlight

public void highlight()

setNormal

public void setNormal()

fade

public void fade()

setDirection

public void setDirection(java.awt.Point p1,
                         java.awt.Point p2)

paint

public void paint(java.awt.Graphics g)
Overrides:
paint in class org.tigris.gef.presentation.FigNode