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

Quick Search    Search Deep

Class HitInfo.Stroke  view HitInfo.Stroke download

  extended byjpicedt.graphic.view.HitInfo
      extended byjpicedt.graphic.view.HitInfo.Stroke
Enclosing class:

public static class HitInfo.Stroke
extends HitInfo

Represent a Hit that occured on an Element. It includes information as of which stroke segment was hit (this may be used by the UI to know where to add new points).

Nested Class Summary
Nested classes inherited from class jpicedt.graphic.view.HitInfo
HitInfo.Composite, HitInfo.Interior, HitInfo.Point, HitInfo.Stroke
Field Summary
private  int clickedSegment
Fields inherited from class jpicedt.graphic.view.HitInfo
Constructor Summary
HitInfo.Stroke(jpicedt.graphic.model.Element clicked, int clickedSegment, jpicedt.graphic.event.PEMouseEvent mouseEvent)
          construct a new HitInfo.Stroke that occured on the stroke of the given Element
Method Summary
 int getClickedSegment()
Methods inherited from class jpicedt.graphic.view.HitInfo
getMouseEvent, getTarget
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


private int clickedSegment
Constructor Detail


public HitInfo.Stroke(jpicedt.graphic.model.Element clicked,
                      int clickedSegment,
                      jpicedt.graphic.event.PEMouseEvent mouseEvent)
construct a new HitInfo.Stroke that occured on the stroke of the given Element

Method Detail


public int getClickedSegment()
jPicEdt 1.3.2