java.lang.Object
jpicedt.graphic.view.HitInfo
- Direct Known Subclasses:
- HitInfo.Composite, HitInfo.Interior, HitInfo.Point, HitInfo.Stroke
- public class HitInfo
- extends java.lang.Object
A HitInfo encapsulates information related to a mouse click on a particular 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.Interior
Represent a Hit that occured on the interior of a Element |
static class |
HitInfo.Point
Represent a Hit that occured on a Element's end-point |
static class |
HitInfo.Stroke
Represent a Hit that occured on an Element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clickedObject
private jpicedt.graphic.model.Element clickedObject
mouseEvent
private jpicedt.graphic.event.PEMouseEvent mouseEvent
HitInfo
public HitInfo(jpicedt.graphic.model.Element clickedObject,
jpicedt.graphic.event.PEMouseEvent mouseEvent)
- Construct a new HitInfo when a click occured on an object's end-point
- Since:
- jPicEdt 1.3.2
getTarget
public jpicedt.graphic.model.Element getTarget()
- Since:
- jPicEdt 1.3.2
getMouseEvent
public jpicedt.graphic.event.PEMouseEvent getMouseEvent()
- Since:
- jPicEdt 1.3.2