public class HitInfo
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
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 and Description |
---|
HitInfo(Element clickedObject,
PEMouseEvent mouseEvent)
Construct a new HitInfo when a click occured on an object's end-point
|
Modifier and Type | Method and Description |
---|---|
PEMouseEvent |
getMouseEvent() |
Element |
getTarget() |
public HitInfo(Element clickedObject, PEMouseEvent mouseEvent)
clickedObject
- the Element on which the hit occuredtype
- the hit typepublic Element getTarget()
public PEMouseEvent getMouseEvent()
Submit a bug : syd@jpicedt.org