|
|||||||||||
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.InheritanceLinkView
The line-arrow representing an inheritance link.
Field Summary | |
static int |
size
Arrowhead length |
static double |
theta
Arrowhead sharpness |
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 | |
InheritanceLinkView(InheritanceLink pInheritanceLink)
Create a new InheritanceLinkView object |
Method Summary | |
SelectionPoint |
getSelectionPoint(int i)
Return the Selection Point |
SelectionPoint[] |
getSelectionPoints()
Return the Selection Points Array |
java.awt.Polygon |
getSurface()
Return the surface on which the user can click to select the object |
void |
paint(java.awt.Graphics g)
Paint method |
void |
resetSelectionPoint()
Reset the selection points |
void |
setSelectionPoint(SelectionPoint point,
int i)
Set the Selection Point |
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, resetActionLocation, setActionLocation, setBaseObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final double theta
public static final int size
Constructor Detail |
public InheritanceLinkView(InheritanceLink pInheritanceLink)
InheritanceLinkView
object
pInheritanceLink
- the contextual association linksMethod Detail |
public java.awt.Polygon getSurface()
getSurface
in class LineView
public void paint(java.awt.Graphics g)
paint
in class ObjectView
g
- Graphics context gpublic void resetSelectionPoint()
resetSelectionPoint
in class ObjectView
public SelectionPoint[] getSelectionPoints()
getSelectionPoints
in class ObjectView
public SelectionPoint getSelectionPoint(int i)
getSelectionPoint
in class ObjectView
i
- the index
public void setSelectionPoint(SelectionPoint point, int i)
point
- the pointi
- the index
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |