ConForM.CoopnTools.CoKer.CoopnVisual
Class CoopnGraphicalGenericContextPort

java.lang.Object
  |
  +--ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalElement
        |
        +--ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalShape
              |
              +--ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalNode
                    |
                    +--ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalRotatableNode
                          |
                          +--ConForM.CoopnTools.CoKer.CoopnVisual.CoopnGraphicalRotatableNode
                                |
                                +--ConForM.CoopnTools.CoKer.CoopnVisual.CoopnGraphicalGenericPort
                                      |
                                      +--ConForM.CoopnTools.CoKer.CoopnVisual.CoopnGraphicalGenericContextPort
All Implemented Interfaces:
CoopnGraphicalContextFormulaHolder, CoopnGraphicalContextPortHolder, CoopnGraphicalElement, GraphicalVisualEditable, GraphicalVisualElement, GraphicalVisualNode, GraphicalVisualRenderable, GraphicalVisualRotatableNode, GraphicalVisualShape, javax.swing.undo.StateEditable
Direct Known Subclasses:
CoopnGraphicalContextGate, CoopnGraphicalContextMethod

public abstract class CoopnGraphicalGenericContextPort
extends CoopnGraphicalGenericPort
implements CoopnGraphicalContextFormulaHolder, CoopnGraphicalContextPortHolder

Coopn generic ports. This class is inherited by gates, methods, and so on. It provides tha basic capabilities dealing with the external rectangular shape of the transition, but dos not implement the drawing feautures.


Field Summary
protected  CoopnContextFormulaSymbol formula
           
 
Fields inherited from class ConForM.CoopnTools.CoKer.CoopnVisual.CoopnGraphicalGenericPort
bl, br, height, hheight, hwidth, quarter, transition, transitionRect, ul, unitX, unitY, ur, width, x0, x1, x2, y0, y1, y2, y3, y4
 
Fields inherited from class ConForM.CoopnTools.CoKer.CoopnVisual.CoopnGraphicalRotatableNode
coopnElement
 
Fields inherited from class ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalRotatableNode
angle, rotationMatrix, validAngle
 
Fields inherited from class ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalNode
isInterface, workRect
 
Fields inherited from class ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalShape
elementShape, endingArcs, neighbours, precomputedRelElemBox, startingArcs, validElementShape
 
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
CoopnGraphicalGenericContextPort(GraphicalVisualRenderableGroup parent, CoopnSymbol transition, boolean isInterfacePort, RotatableNodeAspect aspect, java.lang.String aspectName, java.lang.String aspectModule, AspectMgr aspectMgr, CoopnEnv env)
          Complete constructor for a transition representing a port.
CoopnGraphicalGenericContextPort(GraphicalVisualRenderableGroup parent, CoopnSymbol transition, CoopnContextFormulaSymbol formula, RotatableNodeAspect aspect, java.lang.String aspectName, java.lang.String aspectModule, AspectMgr aspectMgr, CoopnEnv env)
          Complete constructor for a transition representing a formula.
 
Method Summary
 CoopnContextFormulaSymbol formula()
          Get the context formula associated to this CoopnGraphicalElement, or null if no context formula is associated to this element.
 CoopnContextPortSymbol port()
          Get the context port associated to this CoopnGraphicalElement, or null if no context port is associated to this element.
 
Methods inherited from class ConForM.CoopnTools.CoKer.CoopnVisual.CoopnGraphicalGenericPort
findEndingAttachementPointNear, findStartingAttachementPointNear, internalExp, internalExport, internalG2D, internalPaint, internalPrint, setElementShape
 
Methods inherited from class ConForM.CoopnTools.CoKer.CoopnVisual.CoopnGraphicalRotatableNode
coopnElement, getTransferable
 
Methods inherited from class ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalRotatableNode
abortRotation, commitRotation, getAngle, invalidateAngle, invalidateRelLoc, reRendition, rotate, rotate, setAngle, setLayoutAngle, setRelLoc, setRotatedLocation
 
Methods inherited from class ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalNode
interfaceChanged, interfaceStatus, verifyChange
 
Methods inherited from class ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalShape
addEndingArc, addNeighbour, addStartingArc, deselect, endingArcs, getElementShape, induceSelection, initElement, invalidateAbsLoc, invalidateElementShape, neighbours, partOfParent, removeNeighbour, selectElement, setRelElemBox, shape, startingArcs
 
Methods inherited from class ConForM.CoopnTools.CoKer.Visual.AbstractGraphicalElement
abortMove, acceptAspect, actionOnMultipleClick, addPopupItem, aspectMgr, aspectName, attachToParent, boundingBox, clonedAspect, commitMove, description, export, externalBox, externalInfoBox, externalLabelBox, getAbsElemBox, getAbsInfoBox, getAbsLabelBox, getAbsLoc, getBoundingBox, getCol, getColor, getExternalBox, getExternalInfoBox, getExternalLabelBox, getInfo, getInfoLoc, getLabelLoc, getLocation, getRelElemBox, getRelInfoBox, getRelLabelBox, getRelLoc, getShown, getShownInfo, getShownLabel, getStringTransfer, inChange, inducedSelection, inside, 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, pointedElement, print, restoreAspect, restoreCompleteState, restoreState, saveAspect, saveAspectAs, saveAspectAsPossible, saveAspectPossible, saveIntAspect, selected, selectInfo, selectLabel, setAbsElemBox, setAbsInfoBox, setAbsLabelBox, setAbsLoc, setBoundingBox, setColor, setColor, setExternalBox, setExternalInfoBox, setExternalLabelBox, setInfo, setInfoLoc, setLabelLoc, setLayoutLocation, 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
 
Methods inherited from interface ConForM.CoopnTools.CoKer.Visual.GraphicalVisualNode
interfaceChanged, interfaceStatus
 
Methods inherited from interface ConForM.CoopnTools.CoKer.Visual.GraphicalVisualShape
addEndingArc, addNeighbour, addStartingArc, endingArcs, neighbours, removeNeighbour, shape, startingArcs
 

Field Detail

formula

protected CoopnContextFormulaSymbol formula
Constructor Detail

CoopnGraphicalGenericContextPort

public CoopnGraphicalGenericContextPort(GraphicalVisualRenderableGroup parent,
                                        CoopnSymbol transition,
                                        CoopnContextFormulaSymbol formula,
                                        RotatableNodeAspect aspect,
                                        java.lang.String aspectName,
                                        java.lang.String aspectModule,
                                        AspectMgr aspectMgr,
                                        CoopnEnv env)
Complete constructor for a transition representing a formula.

CoopnGraphicalGenericContextPort

public CoopnGraphicalGenericContextPort(GraphicalVisualRenderableGroup parent,
                                        CoopnSymbol transition,
                                        boolean isInterfacePort,
                                        RotatableNodeAspect aspect,
                                        java.lang.String aspectName,
                                        java.lang.String aspectModule,
                                        AspectMgr aspectMgr,
                                        CoopnEnv env)
Complete constructor for a transition representing a port.
Method Detail

formula

public CoopnContextFormulaSymbol formula()
Get the context formula associated to this CoopnGraphicalElement, or null if no context formula is associated to this element.
Specified by:
formula in interface CoopnGraphicalContextFormulaHolder

port

public CoopnContextPortSymbol port()
Get the context port associated to this CoopnGraphicalElement, or null if no context port is associated to this element.
Specified by:
port in interface CoopnGraphicalContextPortHolder