|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.devaki.nextobjects.workspace.models.graphics.ObjectView org.devaki.nextobjects.workspace.models.graphics.LineView org.devaki.nextobjects.workspace.models.graphics.AssociationLinkView
This class is responsible for drawing an Association Link in the Merise formalism
Field Summary |
Fields inherited from class org.devaki.nextobjects.workspace.models.graphics.LineView |
myStyle |
Fields inherited from class org.devaki.nextobjects.workspace.models.graphics.ObjectView |
actionPoint, myObject, selectionPoints |
Constructor Summary | |
AssociationLinkView(AssociationLink pAssociationLink)
Create a new 'AssociationLinkView' object |
Method Summary | |
java.awt.Polygon |
getSurface()
Return the surface on which the user can click to select the object |
void |
paint(java.awt.Graphics g)
Paint the association link |
void |
resetSelectionPoint()
reset selection point Do nothing here. |
void |
setAssociationPointType(int pAssociationPointType)
Set the associatioon point location |
void |
setEntityPointType(int pEntityPointType)
Set the entity point location |
Methods inherited from class org.devaki.nextobjects.workspace.models.graphics.LineView |
computeBestPoints, computeBestPoints, getChildClassPoint, getForeignPosition, getLocalPosition, getLocation, getParentClassPoint, getSelectionPoint, getSize, getStyle, renderSelected, setChildClassPoint, setForeignPosition, setLocalPosition, setLocation, setParentClassPoint, setSize, setStyle |
Methods inherited from class org.devaki.nextobjects.workspace.models.graphics.ObjectView |
getBaseObject, getSelectionPoint, getSelectionPoints, resetActionLocation, setActionLocation, setBaseObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AssociationLinkView(AssociationLink pAssociationLink)
pAssociationLink
- the contextual linkMethod Detail |
public java.awt.Polygon getSurface()
getSurface
in class LineView
public void setEntityPointType(int pEntityPointType)
pEntityPointType
- the entity point locationpublic void setAssociationPointType(int pAssociationPointType)
pAssociationPointType
- the locationpublic void paint(java.awt.Graphics g)
paint
in class ObjectView
g
- graphics contextpublic void resetSelectionPoint()
resetSelectionPoint
in class ObjectView
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |