Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jpicedt.graphic.view
Class HitInfo  view HitInfo download HitInfo.java

java.lang.Object
  extended byjpicedt.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.
 
Field Summary
private  jpicedt.graphic.model.Element clickedObject
           
private  jpicedt.graphic.event.PEMouseEvent mouseEvent
           
 
Constructor Summary
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
 
Method Summary
 jpicedt.graphic.event.PEMouseEvent getMouseEvent()
           
 jpicedt.graphic.model.Element getTarget()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clickedObject

private jpicedt.graphic.model.Element clickedObject

mouseEvent

private jpicedt.graphic.event.PEMouseEvent mouseEvent
Constructor Detail

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
Method Detail

getTarget

public jpicedt.graphic.model.Element getTarget()
Since:
jPicEdt 1.3.2

getMouseEvent

public jpicedt.graphic.event.PEMouseEvent getMouseEvent()
Since:
jPicEdt 1.3.2