|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjpicedt.graphic.view.HitInfo
A HitInfo encapsulates information related to a mouse click that occured on a particular area of an Element.
Nested Class Summary | |
static class |
HitInfo.Composite
Represent a particular type of Hit that occured on a child of a branch-element, when one whants to specify both the element and its child. |
static class |
HitInfo.EnvelopeStroke
Deprecated. use HighlighterStroke instead |
static class |
HitInfo.HighlighterStroke
Represent a Hit that occured on the stroke of a highlighter (eg tangents of a PicSmoothPolygon). |
static class |
HitInfo.Interior
Represent a Hit that occured on the interior of a Element |
static class |
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. |
static class |
HitInfo.Stroke
Represent a Hit that occured on an Element. |
static class |
HitInfo.Text
Represent a Hit that occured on some interior area of a TextEditable. |
Constructor Summary | |
HitInfo(Element clickedObject,
PEMouseEvent mouseEvent)
Construct a new HitInfo when a click occured on an object's end-point |
Method Summary | |
PEMouseEvent |
getMouseEvent()
|
Element |
getTarget()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HitInfo(Element clickedObject, PEMouseEvent mouseEvent)
clickedObject
- the Element on which the hit occuredMethod Detail |
public Element getTarget()
public PEMouseEvent getMouseEvent()
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |