ConForM.CoopnTools.CoKer.ScenarioVisual
Class ScenarioGraphicalTransition

java.lang.Object
  |
  +--ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalElement
        |
        +--ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalArc
              |
              +--ConForM.CoopnTools.CoKer.ScenarioVisual.ScenarioGraphicalTransition
All Implemented Interfaces:
GraphicalVisualArc, GraphicalVisualEditable, GraphicalVisualElement, GraphicalVisualRenderable, ScenarioGraphicalStepHolder, javax.swing.undo.StateEditable

public class ScenarioGraphicalTransition
extends AbstractGraphicalArc
implements ScenarioGraphicalStepHolder

Scenario graphical transition.


Field Summary
protected  java.awt.geom.GeneralPath arrowPath
           
protected  int baseAngle
           
protected  java.lang.String identifier
           
protected  int length
           
protected  Scenario scenario
           
protected  Step step
           
protected  java.lang.String stepName
           
protected  int tipAngle
           
protected  boolean validArrowPath
           
 
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
ScenarioGraphicalTransition(GraphicalVisualRenderableGroup parent, CoopnSpec spec, Scenario scenario, Step step, AbstractGraphicalShape start, AbstractGraphicalShape end, java.lang.String name, java.lang.String identifier, ArcAspect aspect, java.lang.String aspectName, java.lang.String aspectModule, AspectMgr aspectMgr, CoopnEnv env)
          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 internalExp(GraphicalExporter g)
           
protected  void internalG2D(java.awt.Graphics2D g)
           
protected  void invalidateArrowPath()
           
protected  void invalidatePath()
           
protected  void reRendition()
           
 Step step()
          Get the step associated to this GraphicalElement, or null if no step is associated to this element.
 
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, internalExport, 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, getTransferable, 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, getShownInfo, getShownLabel, getStringTransfer, getTransferable, inducedSelection, label, parent, parentMoved, selected
 
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
boundingBox, deselect, export, paint, 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

stepName

protected java.lang.String stepName

scenario

protected Scenario scenario

step

protected Step step

identifier

protected java.lang.String identifier

arrowPath

protected java.awt.geom.GeneralPath arrowPath

validArrowPath

protected boolean validArrowPath
Constructor Detail

ScenarioGraphicalTransition

public ScenarioGraphicalTransition(GraphicalVisualRenderableGroup parent,
                                   CoopnSpec spec,
                                   Scenario scenario,
                                   Step step,
                                   AbstractGraphicalShape start,
                                   AbstractGraphicalShape end,
                                   java.lang.String name,
                                   java.lang.String identifier,
                                   ArcAspect aspect,
                                   java.lang.String aspectName,
                                   java.lang.String aspectModule,
                                   AspectMgr aspectMgr,
                                   CoopnEnv env)
Constructor.
Method Detail

step

public Step step()
Get the step associated to this GraphicalElement, or null if no step is associated to this element.
Specified by:
step in interface ScenarioGraphicalStepHolder

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()

internalG2D

protected void internalG2D(java.awt.Graphics2D g)
Overrides:
internalG2D in class AbstractGraphicalArc

internalExp

protected void internalExp(GraphicalExporter g)
Overrides:
internalExp in class AbstractGraphicalArc