|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Graphical visual shape. This interface defines the elements of graphical visual which have shapes, by extending general graphical visual elements. Elements with shapes, i.e. nodes and containers may have neighbours, and can be connected by elements without shapes, i.e. arcs. This interface must be extended for coping with the different kinds of visual elements with shapes.
Fields inherited from interface javax.swing.undo.StateEditable |
RCSID |
Method Summary | |
void |
addEndingArc(GraphicalVisualArc element)
Add an ending arc. |
void |
addNeighbour(GraphicalVisualShape element)
Add a neighbour. |
void |
addStartingArc(GraphicalVisualArc element)
Add a starting arc. |
GraphicalVisualArc[] |
endingArcs()
Get the ending arcs. |
void |
findEndingAttachementPointNear(java.awt.Point point,
GraphicalVisualArc arc)
Get an ending attachement point near another point. |
void |
findStartingAttachementPointNear(java.awt.Point point,
GraphicalVisualArc arc)
Get a starting attachement point near another point. |
GraphicalVisualShape[] |
neighbours()
Get the neighbours shaped elements. |
void |
removeNeighbour(GraphicalVisualShape element)
Remove a neighbour. |
java.awt.Shape |
shape()
Get the bounding shape of the element. |
GraphicalVisualArc[] |
startingArcs()
Get the starting arcs. |
Methods inherited from interface ConForM.CoopnTools.CoKer.Visual.GraphicalVisualElement |
attachToParent, description, externalBox, externalInfoBox, externalLabelBox, getInfo, getLocation, getShown, getShownInfo, getShownLabel, getStringTransfer, getTransferable, 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 |
Method Detail |
public void addNeighbour(GraphicalVisualShape element)
public void removeNeighbour(GraphicalVisualShape element)
public GraphicalVisualShape[] neighbours()
public void addStartingArc(GraphicalVisualArc element)
public GraphicalVisualArc[] startingArcs()
public void addEndingArc(GraphicalVisualArc element)
public GraphicalVisualArc[] endingArcs()
public java.awt.Shape shape()
public void findStartingAttachementPointNear(java.awt.Point point, GraphicalVisualArc arc)
point
- the point in logical coordinates; cannot be null; this
point is modified such that it is now a starting
attachement point.arc
- the arcpublic void findEndingAttachementPointNear(java.awt.Point point, GraphicalVisualArc arc)
point
- the point in logical coordinates; cannot be null; this
point is modified such that it is now an ending
attachement point.arc
- the arc
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |