|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjpicedt.graphic.view.HitInfo
jpicedt.graphic.view.HitInfo.Point
Represent a Hit that occured on one or several Element's control-points, the latter case occuring necessarily iff some control-points are identical.
Nested Class Summary |
Nested classes inherited from class jpicedt.graphic.view.HitInfo |
HitInfo.Composite, HitInfo.EnvelopeStroke, HitInfo.HighlighterStroke, HitInfo.Interior, HitInfo.Point, HitInfo.Stroke, HitInfo.Text |
Constructor Summary | |
HitInfo.Point(Element clickedObject,
ArrayList pointIndices,
PEMouseEvent mouseEvent)
construct a new HitInfo.Point that occured on the given Element and on the given points simultaneously. |
|
HitInfo.Point(Element clickedObject,
int pointIndex,
PEMouseEvent mouseEvent)
construct a new HitInfo.Point that occured on the given Element and on the given point index |
Method Summary | |
int |
getIndex()
Return the point index on which the mouse hit occured. |
int |
getIndex(int i)
Return the ith point index on which the mouse hit occured. |
int |
getNbHitPoints()
Return the number of points that were hit simultaneously. |
String |
toString()
|
Methods inherited from class jpicedt.graphic.view.HitInfo |
getMouseEvent, getTarget |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HitInfo.Point(Element clickedObject, int pointIndex, PEMouseEvent mouseEvent)
public HitInfo.Point(Element clickedObject, ArrayList pointIndices, PEMouseEvent mouseEvent)
Method Detail |
public int getIndex()
public int getIndex(int i)
getIndex()
.
public int getNbHitPoints()
public String toString()
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |