|
|||||||||
Home >> All >> jpicedt >> graphic >> [ view overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
jpicedt.graphic.view
Class HitInfo.Composite

java.lang.Objectjpicedt.graphic.view.HitInfo
jpicedt.graphic.view.HitInfo.Composite
- Enclosing class:
- HitInfo
- public static class HitInfo.Composite
- extends HitInfo
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. This can be considered an extended version of HitInfo.Point where the the "clicked" child play the role of the "clicked" control-point.
Nested Class Summary |
Nested classes inherited from class jpicedt.graphic.view.HitInfo |
HitInfo.Composite, HitInfo.Interior, HitInfo.Point, HitInfo.Stroke |
Field Summary | |
private int |
clickedChildIndex
|
Fields inherited from class jpicedt.graphic.view.HitInfo |
|
Constructor Summary | |
HitInfo.Composite(jpicedt.graphic.model.BranchElement clicked,
int clickedChildIndex,
jpicedt.graphic.event.PEMouseEvent mouseEvent)
construct a new HitInfo.Point that occured in the given BranchElement, on the child with the given index. |
Method Summary | |
jpicedt.graphic.model.Element |
getClickedChild()
|
int |
getClickedChildIndex()
|
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 |
clickedChildIndex
private int clickedChildIndex
Constructor Detail |
HitInfo.Composite
public HitInfo.Composite(jpicedt.graphic.model.BranchElement clicked, int clickedChildIndex, jpicedt.graphic.event.PEMouseEvent mouseEvent)
- construct a new HitInfo.Point that occured in the given BranchElement, on
the child with the given index.
Method Detail |
getClickedChildIndex
public int getClickedChildIndex()
- Since:
- jPicEdt 1.3.2
getClickedChild
public jpicedt.graphic.model.Element getClickedChild()
- Since:
- jPicEdt 1.3.2
|
|||||||||
Home >> All >> jpicedt >> graphic >> [ view overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |