ConForM.CoopnTools.CoKer.CoopnVisual
Class CoopnGraphicalGenericClassPort

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.CoopnGraphicalGenericClassPort
All Implemented Interfaces:
CoopnGraphicalClassFormulaHolder, CoopnGraphicalElement, GraphicalVisualEditable, GraphicalVisualElement, GraphicalVisualNode, GraphicalVisualRenderable, GraphicalVisualRotatableNode, GraphicalVisualShape, javax.swing.undo.StateEditable
Direct Known Subclasses:
CoopnGraphicalClassCreation, CoopnGraphicalClassDestruction, CoopnGraphicalClassGate, CoopnGraphicalClassMethod

public abstract class CoopnGraphicalGenericClassPort
extends CoopnGraphicalGenericPort
implements CoopnGraphicalClassFormulaHolder

Coopn generic class port. This class is inherited by transitions, 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  CoopnClassFormulaSymbol 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
CoopnGraphicalGenericClassPort(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.
CoopnGraphicalGenericClassPort(GraphicalVisualRenderableGroup parent, CoopnSymbol transition, CoopnClassFormulaSymbol 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
 CoopnClassFormulaSymbol formula()
          Get the class formula associated to this CoopnGraphicalElement, or null if no class formula is associated to this element.
 CoopnClassPortSymbol port()
          Get the class port associated to this CoopnGraphicalElement, or null if no class 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 CoopnClassFormulaSymbol formula
Constructor Detail

CoopnGraphicalGenericClassPort

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

CoopnGraphicalGenericClassPort

public CoopnGraphicalGenericClassPort(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 CoopnClassFormulaSymbol formula()
Get the class formula associated to this CoopnGraphicalElement, or null if no class formula is associated to this element.
Specified by:
formula in interface CoopnGraphicalClassFormulaHolder

port

public CoopnClassPortSymbol port()
Get the class port associated to this CoopnGraphicalElement, or null if no class port is associated to this element.