|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Graphical visual arc. This interface defines the elements of graphical visual which are arc, by extending graphical visual elements. Arcs are attched to two shapes.
Fields inherited from interface javax.swing.undo.StateEditable |
RCSID |
Method Summary | |
void |
addIntermediaryPoint(java.awt.Point point)
Add an intermediary point at the best index. |
void |
addIntermediaryPoint(java.awt.Point point,
int index)
Add an intermediary point at a specific index. |
void |
attachmentPointMoved(GraphicalVisualShape shape)
Notification of the move of an attachment point. |
GraphicalVisualShape |
end()
Get the ending shape of the element. |
java.awt.Point[] |
getIntermediaryPoints()
Get the intermediary points. |
int |
getType()
Get the type of the arc. |
void |
moveIntermediaryPoint(java.awt.Dimension dim,
int index)
Try to move an intermediary point. |
void |
removeIntermediaryPoint(int index)
Remove an intermediary point at a specific index. |
void |
removeIntermediaryPoint(java.awt.Point point)
Remove an intermediary point at the best index. |
void |
setLayoutIntermediaryPoints(java.awt.Point[] newIp)
Set the intermediary points according to a layout. |
void |
setType(int type)
Specifiy the type of the arc. |
GraphicalVisualShape |
start()
Get the starting shape of the element. |
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 GraphicalVisualShape start()
public GraphicalVisualShape end()
public java.awt.Point[] getIntermediaryPoints()
public void setLayoutIntermediaryPoints(java.awt.Point[] newIp)
newIp
- the new ip, in absolute coordinatespublic void addIntermediaryPoint(java.awt.Point point, int index)
point
- the location of the new point; cannot be nullindex
- the index; must be validjava.lang.IllegalArgumentException
- The index is not valid, or the point is null.public void addIntermediaryPoint(java.awt.Point point)
point
- the location of the new point; cannot be nulljava.lang.IllegalArgumentException
- The point is null.public void removeIntermediaryPoint(int index)
index
- the index; must be validjava.lang.IllegalArgumentException
- The index is not valid.public void removeIntermediaryPoint(java.awt.Point point)
point
- the approximative location of the point to remove;
cannot be nulljava.lang.IllegalArgumentException
- The point is null.public void moveIntermediaryPoint(java.awt.Dimension dim, int index)
dim
- the difference of positionindex
- the index; must be validjava.lang.IllegalArgumentException
- The index is not valid.public int getType()
public void setType(int type)
type
- the type of the arcpublic void attachmentPointMoved(GraphicalVisualShape shape)
shape
- the shape involved in the move
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |