ConForM.CoopnTools.CoKer.CoopnVisual
Class CoopnGraphicalDirectedArc

java.lang.Object
  |
  +--ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalElement
        |
        +--ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalArc
              |
              +--ConForM.CoopnTools.CoKer.CoopnVisual.CoopnGraphicalArc
                    |
                    +--ConForM.CoopnTools.CoKer.CoopnVisual.CoopnGraphicalDirectedArc
All Implemented Interfaces:
CoopnGraphicalElement, GraphicalVisualArc, GraphicalVisualEditable, GraphicalVisualElement, GraphicalVisualRenderable, javax.swing.undo.StateEditable
Direct Known Subclasses:
CoopnGraphicalEnrichmentArc, CoopnGraphicalPlaceArc, CoopnGraphicalSyncArc

public abstract class CoopnGraphicalDirectedArc
extends CoopnGraphicalArc

Coopn graphical directed arc.


Field Summary
protected  java.awt.geom.GeneralPath arrowPath
           
protected  int baseAngle
           
protected  int length
           
protected  boolean reverse
           
protected  java.awt.geom.GeneralPath stickPath
           
protected  int tipAngle
           
protected  boolean validArrowPath
           
 
Fields inherited from class ConForM.CoopnTools.CoKer.CoopnVisual.CoopnGraphicalArc
coopnElement
 
Fields inherited from class ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalArc
centre, end, endLoc, endPoint, endToBeShown, flatPath, IP, newCentre, newEndLoc, newStartLoc, oldCentre, oldEnd, oldStart, path, start, startLoc, startPoint, startToBeShown, validCentre, validEndLoc, validEndPoint, validIP, validPath, validStartLoc, validStartPoint
 
Fields inherited from class ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalElement
absElemBox, absInfoBox, absLabelBox, absLoc, aspect, aspectMgr, boundingBox, delta, description, env, externalBox, externalInfoBox, externalLabelBox, fontRenderContext, inducedSelection, inducedSelectionColor, infoFont, infoLayout, infoLoc, label, labelColor, labelFont, labelLayout, labelLoc, normalColor, objectElement, parent, relElemBox, relInfoBox, relLabelBox, relLoc, savedAspect, selectedColor, selectedElem, selectedInfo, selectedInfoColor, selectedLabel, selectedLabelColor, unconstrained, validAbsElemBox, validAbsInfoBox, validAbsLabelBox, validAbsLoc, validBoundingBox, validColor, validExternalBox, validExternalInfoBox, validExternalLabelBox, validInfoLoc, validLabelLoc, validRelElemBox, validRelInfoBox, validRelLabelBox, validRelLoc
 
Fields inherited from interface javax.swing.undo.StateEditable
RCSID
 
Constructor Summary
CoopnGraphicalDirectedArc(GraphicalVisualRenderableGroup parent, CoopnElement element, AbstractGraphicalShape start, AbstractGraphicalShape end, java.lang.String label, java.lang.String description, ArcAspect aspect, java.lang.String aspectName, java.lang.String aspectModule, AspectMgr aspectMgr, CoopnEnv env)
          Constructor.
CoopnGraphicalDirectedArc(GraphicalVisualRenderableGroup parent, CoopnElement element, AbstractGraphicalShape start, AbstractGraphicalShape end, java.lang.String label, java.lang.String description, boolean reverse, ArcAspect aspect, java.lang.String aspectName, java.lang.String aspectModule, AspectMgr aspectMgr, CoopnEnv env)
          Complete constructor.
 
Method Summary
protected  java.awt.geom.GeneralPath getArrowPath()
           
protected  void initElement()
          Initisalisation of the element, before computing the boxes, before any rendering.
protected  void invalidateArrowPath()
           
protected  void invalidatePath()
           
protected  void reRendition()
           
 
Methods inherited from class ConForM.CoopnTools.CoKer.CoopnVisual.CoopnGraphicalArc
coopnElement, getTransferable
 
Methods inherited from class ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalArc
actionOnMultipleClick, addIntermediaryPoint, addIntermediaryPoint, attachmentPointMoved, end, getCentre, getEndLoc, getEndPoint, getIntermediaryPoints, getIP, getPath, getShown, getStartLoc, getStartPoint, getType, induceSelection, inside, internalExp, internalExport, internalG2D, internalPaint, internalPrint, invalidateAbsLoc, invalidateCentre, invalidateEndLoc, invalidateEndPoint, invalidateIP, invalidateRelLoc, invalidateStartLoc, invalidateStartPoint, moveIntermediaryPoint, partOfParent, pointedElement, removeIntermediaryPoint, removeIntermediaryPoint, setEndPoint, setIP, setLayoutIntermediaryPoints, setLayoutLocation, setPath, setRelElemBox, setRelLoc, setStartPoint, setType, start, verifyChange
 
Methods inherited from class ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalElement
abortMove, acceptAspect, addPopupItem, aspectMgr, aspectName, attachToParent, boundingBox, clonedAspect, commitMove, description, deselect, export, externalBox, externalInfoBox, externalLabelBox, getAbsElemBox, getAbsInfoBox, getAbsLabelBox, getAbsLoc, getBoundingBox, getCol, getColor, getExternalBox, getExternalInfoBox, getExternalLabelBox, getInfo, getInfoLoc, getLabelLoc, getLocation, getRelElemBox, getRelInfoBox, getRelLabelBox, getRelLoc, getShownInfo, getShownLabel, getStringTransfer, inChange, inducedSelection, internalDrawInfo, internalDrawLabel, internalExportInfo, internalExportLabel, invalidateAbsElemBox, invalidateAbsInfoBox, invalidateAbsLabelBox, invalidateBoundingBox, invalidateColor, invalidateExternalBox, invalidateExternalInfoBox, invalidateExternalLabelBox, invalidateInfoLoc, invalidateLabelLoc, invalidateRelElemBox, invalidateRelInfoBox, invalidateRelLabelBox, label, move, move, moveInfo, moveInfo, moveLabel, moveLabel, objectElement, paint, parent, parentMoved, print, restoreAspect, restoreCompleteState, restoreState, saveAspect, saveAspectAs, saveAspectAsPossible, saveAspectPossible, saveIntAspect, selected, selectElement, selectInfo, selectLabel, setAbsElemBox, setAbsInfoBox, setAbsLabelBox, setAbsLoc, setBoundingBox, setColor, setColor, setExternalBox, setExternalInfoBox, setExternalLabelBox, setInfo, setInfoLoc, setLabelLoc, setRelInfoBox, setRelLabelBox, setShown, setShownInfo, setShownLabel, specificPopup, storeCompleteState, storeState, toAbsolute, toRelative
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ConForM.CoopnTools.CoKer.Visual.GraphicalVisualElement
attachToParent, description, externalBox, externalInfoBox, externalLabelBox, getInfo, getLocation, getShown, getShownInfo, getShownLabel, getStringTransfer, inducedSelection, induceSelection, inside, label, parent, parentMoved, partOfParent, selected, setLayoutLocation
 
Methods inherited from interface ConForM.CoopnTools.CoKer.Visual.GraphicalVisualEditable
abortMove, commitMove, inChange, move, move, moveInfo, moveInfo, moveLabel, moveLabel, restoreCompleteState, setColor, setInfo, setShown, setShownInfo, setShownLabel, storeCompleteState
 
Methods inherited from interface javax.swing.undo.StateEditable
restoreState, storeState
 
Methods inherited from interface ConForM.CoopnTools.CoKer.Visual.GraphicalVisualRenderable
actionOnMultipleClick, boundingBox, deselect, export, paint, pointedElement, print, saveAspect, saveAspectAs, saveAspectAsPossible, saveAspectPossible, selectElement, selectInfo, selectLabel, specificPopup
 

Field Detail

tipAngle

protected final int tipAngle

baseAngle

protected final int baseAngle

length

protected final int length

arrowPath

protected java.awt.geom.GeneralPath arrowPath

stickPath

protected java.awt.geom.GeneralPath stickPath

validArrowPath

protected boolean validArrowPath

reverse

protected boolean reverse
Constructor Detail

CoopnGraphicalDirectedArc

public CoopnGraphicalDirectedArc(GraphicalVisualRenderableGroup parent,
                                 CoopnElement element,
                                 AbstractGraphicalShape start,
                                 AbstractGraphicalShape end,
                                 java.lang.String label,
                                 java.lang.String description,
                                 ArcAspect aspect,
                                 java.lang.String aspectName,
                                 java.lang.String aspectModule,
                                 AspectMgr aspectMgr,
                                 CoopnEnv env)
Constructor.

CoopnGraphicalDirectedArc

public CoopnGraphicalDirectedArc(GraphicalVisualRenderableGroup parent,
                                 CoopnElement element,
                                 AbstractGraphicalShape start,
                                 AbstractGraphicalShape end,
                                 java.lang.String label,
                                 java.lang.String description,
                                 boolean reverse,
                                 ArcAspect aspect,
                                 java.lang.String aspectName,
                                 java.lang.String aspectModule,
                                 AspectMgr aspectMgr,
                                 CoopnEnv env)
Complete constructor.
Method Detail

initElement

protected void initElement()
Initisalisation of the element, before computing the boxes, before any rendering.
Overrides:
initElement in class AbstractGraphicalArc

reRendition

protected void reRendition()
Overrides:
reRendition in class AbstractGraphicalArc

invalidatePath

protected void invalidatePath()
Overrides:
invalidatePath in class AbstractGraphicalArc

invalidateArrowPath

protected void invalidateArrowPath()

getArrowPath

protected final java.awt.geom.GeneralPath getArrowPath()