<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_191) on Wed Oct 31 14:02:13 UTC 2018 --> <title>TouchPoint (JavaFX 8)</title> <meta name="date" content="2018-10-31"> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="TouchPoint (JavaFX 8)"; } } catch(err) { } //--> var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/TouchPoint.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../javafx/scene/input/TouchEvent.html" title="class in javafx.scene.input"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../javafx/scene/input/TouchPoint.State.html" title="enum in javafx.scene.input"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?javafx/scene/input/TouchPoint.html" target="_top">Frames</a></li> <li><a href="TouchPoint.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested.class.summary">Nested</a> | </li> <li>Field | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">javafx.scene.input</div> <h2 title="Class TouchPoint" class="title">Class TouchPoint</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>javafx.scene.input.TouchPoint</li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> <dd>java.io.Serializable</dd> </dl> <hr> <br> <pre>public final class <span class="typeNameLabel">TouchPoint</span> extends java.lang.Object implements java.io.Serializable</pre> <div class="block">Touch point represents a single point of a multi-touch action, typically one finger touching a screen. It is contained in <a href="../../../javafx/scene/input/TouchEvent.html" title="class in javafx.scene.input"><code>TouchEvent</code></a>. <p> The touch point has its coordinates, state (see <a href="../../../javafx/scene/input/TouchPoint.State.html" title="enum in javafx.scene.input"><code>TouchPoint.State</code></a>) and ID. The ID is sequential number of this touch point unique in scope of a single multi-touch gesture. <p> Each touch point is by default delivered to a single node during its whole trajectory - to the node on which it was pressed. There is a grabbing API to modify this behavior. The above means that when touch point is pressed, it is automatically grabbed by the top-most node on the press coordinates. Any time during the gesture <code>grab()</code> and <code>ungrab()</code> methods can be used to alter the event delivery target. When grabbed by a different node, it will next time be targeted to it; when ungrabbed, it will be always targeted to the top-most node on the current location.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 2.2</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../serialized-form.html#javafx.scene.input.TouchPoint">Serialized Form</a></dd> </dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ======== NESTED CLASS SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="nested.class.summary"> <!-- --> </a> <h3>Nested Class Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Class and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>static class </code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.State.html" title="enum in javafx.scene.input">TouchPoint.State</a></span></code> <div class="block">Represents current state of the touch point</div> </td> </tr> </table> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#TouchPoint-int-javafx.scene.input.TouchPoint.State-double-double-double-double-javafx.event.EventTarget-javafx.scene.input.PickResult-">TouchPoint</a></span>(int id, <a href="../../../javafx/scene/input/TouchPoint.State.html" title="enum in javafx.scene.input">TouchPoint.State</a> state, double x, double y, double screenX, double screenY, <a href="../../../javafx/event/EventTarget.html" title="interface in javafx.event">EventTarget</a> target, <a href="../../../javafx/scene/input/PickResult.html" title="class in javafx.scene.input">PickResult</a> pickResult)</code> <div class="block">Creates new instance of TouchPoint.</div> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#belongsTo-javafx.event.EventTarget-">belongsTo</a></span>(<a href="../../../javafx/event/EventTarget.html" title="interface in javafx.event">EventTarget</a> target)</code> <div class="block">Distinguishes between touch points targeted to the given node or some of its children from touch points targeted somewhere else.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/event/EventTarget.html" title="interface in javafx.event">EventTarget</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#getGrabbed--">getGrabbed</a></span>()</code> <div class="block">Gets event target which has grabbed this touch point.</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#getId--">getId</a></span>()</code> <div class="block">Gets identifier of this touch point.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/scene/input/PickResult.html" title="class in javafx.scene.input">PickResult</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#getPickResult--">getPickResult</a></span>()</code> <div class="block">Returns information about the pick.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#getSceneX--">getSceneX</a></span>()</code> <div class="block">Gets the horizontal position of the touch point relative to the origin of the <code>Scene</code> that contains the TouchEvent's source.</div> </td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#getSceneY--">getSceneY</a></span>()</code> <div class="block">Gets the vertical position of the touch point relative to the origin of the <code>Scene</code> that contains the TouchEvent's source.</div> </td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#getScreenX--">getScreenX</a></span>()</code> <div class="block">Gets the absolute horizontal position of the touch point.</div> </td> </tr> <tr id="i7" class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#getScreenY--">getScreenY</a></span>()</code> <div class="block">Gets the absolute vertical position of the touch point.</div> </td> </tr> <tr id="i8" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/scene/input/TouchPoint.State.html" title="enum in javafx.scene.input">TouchPoint.State</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#getState--">getState</a></span>()</code> <div class="block">Gets state of this touch point</div> </td> </tr> <tr id="i9" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/event/EventTarget.html" title="interface in javafx.event">EventTarget</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#getTarget--">getTarget</a></span>()</code> <div class="block">Gets event target on which the touch event carrying this touch point is fired.</div> </td> </tr> <tr id="i10" class="altColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#getX--">getX</a></span>()</code> <div class="block">Gets the horizontal position of the touch point relative to the origin of the TouchEvent's source.</div> </td> </tr> <tr id="i11" class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#getY--">getY</a></span>()</code> <div class="block">Gets the vertical position of the touch point relative to the origin of the TouchEvent's source.</div> </td> </tr> <tr id="i12" class="altColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#getZ--">getZ</a></span>()</code> <div class="block">Depth position of the event relative to the origin of the MouseEvent's source.</div> </td> </tr> <tr id="i13" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#grab--">grab</a></span>()</code> <div class="block">Grabs this touch point by current event source.</div> </td> </tr> <tr id="i14" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#grab-javafx.event.EventTarget-">grab</a></span>(<a href="../../../javafx/event/EventTarget.html" title="interface in javafx.event">EventTarget</a> target)</code> <div class="block">Grabs this touch point by the given target.</div> </td> </tr> <tr id="i15" class="rowColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#toString--">toString</a></span>()</code> <div class="block">Returns a string representation of this <code>TouchPoint</code> object.</div> </td> </tr> <tr id="i16" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/TouchPoint.html#ungrab--">ungrab</a></span>()</code> <div class="block">Ungrabs this touch point from its target.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class java.lang.Object</h3> <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="TouchPoint-int-javafx.scene.input.TouchPoint.State-double-double-double-double-javafx.event.EventTarget-javafx.scene.input.PickResult-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>TouchPoint</h4> <pre>public TouchPoint(int id, <a href="../../../javafx/scene/input/TouchPoint.State.html" title="enum in javafx.scene.input">TouchPoint.State</a> state, double x, double y, double screenX, double screenY, <a href="../../../javafx/event/EventTarget.html" title="interface in javafx.event">EventTarget</a> target, <a href="../../../javafx/scene/input/PickResult.html" title="class in javafx.scene.input">PickResult</a> pickResult)</pre> <div class="block">Creates new instance of TouchPoint.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>id</code> - ID of the new touch point</dd> <dd><code>state</code> - state of the new touch point</dd> <dd><code>x</code> - The x with respect to the scene.</dd> <dd><code>y</code> - The y with respect to the scene.</dd> <dd><code>screenX</code> - The x coordinate relative to screen.</dd> <dd><code>screenY</code> - The y coordinate relative to screen.</dd> <dd><code>pickResult</code> - pick result. Can be null, in this case a 2D pick result without any further values is constructed based on the scene coordinates and target</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="belongsTo-javafx.event.EventTarget-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>belongsTo</h4> <pre>public boolean belongsTo(<a href="../../../javafx/event/EventTarget.html" title="interface in javafx.event">EventTarget</a> target)</pre> <div class="block">Distinguishes between touch points targeted to the given node or some of its children from touch points targeted somewhere else. This allows for testing all touch points carried by one touch event on their relevance for a given node.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>target</code> - Node or other event target to be tested</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>true if this touch point is targeted to the given target or some of its children</dd> </dl> </li> </ul> <a name="getGrabbed--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getGrabbed</h4> <pre>public <a href="../../../javafx/event/EventTarget.html" title="interface in javafx.event">EventTarget</a> getGrabbed()</pre> <div class="block">Gets event target which has grabbed this touch point.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>The current grabbed target, null if the touch point is ungrabbed</dd> </dl> </li> </ul> <a name="grab--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>grab</h4> <pre>public void grab()</pre> <div class="block">Grabs this touch point by current event source. Next event containing this touch point will be targeted to the same node whose event handler called this method.</div> </li> </ul> <a name="grab-javafx.event.EventTarget-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>grab</h4> <pre>public void grab(<a href="../../../javafx/event/EventTarget.html" title="interface in javafx.event">EventTarget</a> target)</pre> <div class="block">Grabs this touch point by the given target. Next event containing this touch point will be targeted to it.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>target</code> - Target by which to grab the touch point</dd> </dl> </li> </ul> <a name="ungrab--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ungrab</h4> <pre>public void ungrab()</pre> <div class="block">Ungrabs this touch point from its target. Since the next event this touch point will be delivered to the top-most node picked on its respective location until it is grabbed again or released.</div> </li> </ul> <a name="getId--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getId</h4> <pre>public final int getId()</pre> <div class="block">Gets identifier of this touch point. The number is sequential and unique in scope of one multi touch gesture. The first pressed touch point has id <code>1</code>, each subsequently pressed touch points gets the next ordinal number until all touch points are released and the counter is reset.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the identifier of this touch point.</dd> </dl> </li> </ul> <a name="getState--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getState</h4> <pre>public final <a href="../../../javafx/scene/input/TouchPoint.State.html" title="enum in javafx.scene.input">TouchPoint.State</a> getState()</pre> <div class="block">Gets state of this touch point</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>state of this touch point</dd> </dl> </li> </ul> <a name="getX--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getX</h4> <pre>public final double getX()</pre> <div class="block">Gets the horizontal position of the touch point relative to the origin of the TouchEvent's source.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the horizontal position of the touch point relative to the origin of the TouchEvent's source.</dd> </dl> </li> </ul> <a name="getY--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getY</h4> <pre>public final double getY()</pre> <div class="block">Gets the vertical position of the touch point relative to the origin of the TouchEvent's source.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the vertical position of the touch point relative to the origin of the TouchEvent's source.</dd> </dl> </li> </ul> <a name="getZ--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getZ</h4> <pre>public final double getZ()</pre> <div class="block">Depth position of the event relative to the origin of the MouseEvent's source.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>depth position of the event relative to the origin of the MouseEvent's source.</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="getScreenX--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getScreenX</h4> <pre>public final double getScreenX()</pre> <div class="block">Gets the absolute horizontal position of the touch point.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the absolute horizontal position of the touch point</dd> </dl> </li> </ul> <a name="getScreenY--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getScreenY</h4> <pre>public final double getScreenY()</pre> <div class="block">Gets the absolute vertical position of the touch point.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the absolute vertical position of the touch point</dd> </dl> </li> </ul> <a name="getSceneX--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSceneX</h4> <pre>public final double getSceneX()</pre> <div class="block">Gets the horizontal position of the touch point relative to the origin of the <code>Scene</code> that contains the TouchEvent's source. If the node is not in a <code>Scene</code>, then the value is relative to the boundsInParent of the root-most parent of the TouchEvent's node. Note that in 3D scene, this represents the flat coordinates after applying the projection transformations.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the horizontal position of the touch point relative to the origin of the <code>Scene</code> that contains the TouchEvent's source</dd> </dl> </li> </ul> <a name="getSceneY--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSceneY</h4> <pre>public final double getSceneY()</pre> <div class="block">Gets the vertical position of the touch point relative to the origin of the <code>Scene</code> that contains the TouchEvent's source. If the node is not in a <code>Scene</code>, then the value is relative to the boundsInParent of the root-most parent of the TouchEvent's node. Note that in 3D scene, this represents the flat coordinates after applying the projection transformations.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the vertical position of the touch point relative to the origin of the <code>Scene</code> that contains the TouchEvent's source</dd> </dl> </li> </ul> <a name="getPickResult--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getPickResult</h4> <pre>public final <a href="../../../javafx/scene/input/PickResult.html" title="class in javafx.scene.input">PickResult</a> getPickResult()</pre> <div class="block">Returns information about the pick.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>new PickResult object that contains information about the pick</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 8.0</dd> </dl> </li> </ul> <a name="getTarget--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getTarget</h4> <pre>public <a href="../../../javafx/event/EventTarget.html" title="interface in javafx.event">EventTarget</a> getTarget()</pre> <div class="block">Gets event target on which the touch event carrying this touch point is fired.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>Event target for this touch point</dd> </dl> </li> </ul> <a name="toString--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>toString</h4> <pre>public java.lang.String toString()</pre> <div class="block">Returns a string representation of this <code>TouchPoint</code> object.</div> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code>toString</code> in class <code>java.lang.Object</code></dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>a string representation of this <code>TouchPoint</code> object.</dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/TouchPoint.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">JavaFX 8</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../javafx/scene/input/TouchEvent.html" title="class in javafx.scene.input"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../javafx/scene/input/TouchPoint.State.html" title="enum in javafx.scene.input"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?javafx/scene/input/TouchPoint.html" target="_top">Frames</a></li> <li><a href="TouchPoint.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested.class.summary">Nested</a> | </li> <li>Field | </li> <li><a href="#constructor.summary">Constr</a> | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor.detail">Constr</a> | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small><font size="-1"><a href="http://bugreport.java.com/bugreport/" target="_blank">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="https://docs.oracle.com/javase/8/docs/index.html" target="_blank">Java SE Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.<br> <a href="https://docs.oracle.com/javase/8/docs/legal/cpyr.html" target="_blank">Copyright</a> © 2008, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to <a href="http://download.oracle.com/otndocs/jcp/java_se-8-mrel-spec/license.html" target="_blank">license terms</a>. Also see the <a target="_blank" href="http://www.oracle.com/technetwork/java/redist-137594.html" target="_blank">documentation redistribution policy</a>.</font></small></p> </body> </html>