|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.devaki.nextobjects.workspace.models.graphics.ObjectView
org.devaki.nextobjects.workspace.models.graphics.LineView
org.devaki.nextobjects.workspace.models.graphics.ConstraintView
Draw a Constraint in a PhysicalView of a PhysicalModel
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 | |
ConstraintView(Constraint pConstraint)
Construct a new 'ConstraintView' object |
Method Summary | |
java.awt.Point |
getCtrlPoint(java.awt.Point p)
Gets the ctrlPoint attribute of the ConstraintView object |
java.awt.Polygon |
getSurface()
Return the surface on which the user can click to select the object |
void |
paint(java.awt.Graphics g)
Paint |
void |
resetSelectionPoint()
Reset 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, 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 ConstraintView(Constraint pConstraint)
pConstraint
- the contextual Constraint
Method Detail |
public final void paint(java.awt.Graphics g)
paint
in class ObjectView
g
- the graphics contextpublic final java.awt.Point getCtrlPoint(java.awt.Point p)
p
- Description of the Parameter
public void resetSelectionPoint()
resetSelectionPoint
in class ObjectView
public final java.awt.Polygon getSurface()
getSurface
in class LineView
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |