jpicedt.graphic.view
Class HitInfo.AbstractHitInfo
java.lang.Object
jpicedt.graphic.view.HitInfo.AbstractHitInfo
- All Implemented Interfaces:
- HitInfo
- Direct Known Subclasses:
- HitInfo.Composite, HitInfo.Interior, HitInfo.Point, HitInfo.Stroke
- Enclosing interface:
- HitInfo
public abstract static class HitInfo.AbstractHitInfo
- extends Object
- implements HitInfo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clickedObject
protected Element clickedObject
mouseEvent
protected PEMouseEvent mouseEvent
HitInfo.AbstractHitInfo
public HitInfo.AbstractHitInfo(Element clickedObject,
PEMouseEvent mouseEvent)
- Construct a new
HitInfo
when a click occured on an object's end-point
author: Sylvain Reynal
- Parameters:
clickedObject
- the Element
on which the hit occuredmouseEvent
- the hit type- Since:
- jPicEdt
HitInfo.AbstractHitInfo
public HitInfo.AbstractHitInfo(HitInfo hi)
- Cloning constructor
getTarget
public Element getTarget()
author: Sylvain Reynal
- Specified by:
getTarget
in interface HitInfo
- Returns:
- the
Element
on which the hit occured - Since:
- jPicEdt
getMouseEvent
public PEMouseEvent getMouseEvent()
author: Sylvain Reynal
- Specified by:
getMouseEvent
in interface HitInfo
- Returns:
- the mouse-event that triggered this
HitInfo
- Since:
- jPicEdt
append
public HitInfo.List append(HitInfo hi)
- Specified by:
append
in interface HitInfo
- Returns:
- a
List
containing the given
HitInfo
appended to this HitInfo
.
Submit a bug : syd@jpicedt.org