Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-backports > by-pkgid > 1ae263a490540e4bc6d91c7b02edb6eb > files > 1243

java-1.8.0-openjfx-1.8.0.102-1.b14.1.mga5.i586.rpm

<!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_101) on Fri Sep 16 10:50:58 UTC 2016 -->
<title>Dragboard (JavaFX 8)</title>
<meta name="date" content="2016-09-16">
<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="Dragboard (JavaFX 8)";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":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/Dragboard.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&nbsp;8</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../javafx/scene/input/DataFormat.html" title="class in javafx.scene.input"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../javafx/scene/input/DragEvent.html" title="class in javafx.scene.input"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?javafx/scene/input/Dragboard.html" target="_top">Frames</a></li>
<li><a href="Dragboard.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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 Dragboard" class="title">Class Dragboard</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../javafx/scene/input/Clipboard.html" title="class in javafx.scene.input">javafx.scene.input.Clipboard</a></li>
<li>
<ul class="inheritance">
<li>javafx.scene.input.Dragboard</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <span class="typeNameLabel">Dragboard</span>
extends <a href="../../../javafx/scene/input/Clipboard.html" title="class in javafx.scene.input">Clipboard</a></pre>
<div class="block">A drag and drop specific <a href="../../../javafx/scene/input/Clipboard.html" title="class in javafx.scene.input"><code>Clipboard</code></a>.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 2.0</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== 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">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</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><a href="../../../javafx/scene/image/Image.html" title="class in javafx.scene.image">Image</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/Dragboard.html#getDragView--">getDragView</a></span>()</code>
<div class="block">Gets the image used as a drag view.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/Dragboard.html#getDragViewOffsetX--">getDragViewOffsetX</a></span>()</code>
<div class="block">Gets the x position of the cursor of the drag view image.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/Dragboard.html#getDragViewOffsetY--">getDragViewOffsetY</a></span>()</code>
<div class="block">Gets the y position of the cursor of the drag view image.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../../javafx/scene/input/TransferMode.html" title="enum in javafx.scene.input">TransferMode</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/Dragboard.html#getTransferModes--">getTransferModes</a></span>()</code>
<div class="block">Gets set of transport modes supported by source of this drag opeation.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/Dragboard.html#setDragView-javafx.scene.image.Image-">setDragView</a></span>(<a href="../../../javafx/scene/image/Image.html" title="class in javafx.scene.image">Image</a>&nbsp;image)</code>
<div class="block">Sets the visual representation of data being transfered
 in a drag and drop gesture.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/Dragboard.html#setDragView-javafx.scene.image.Image-double-double-">setDragView</a></span>(<a href="../../../javafx/scene/image/Image.html" title="class in javafx.scene.image">Image</a>&nbsp;image,
           double&nbsp;offsetX,
           double&nbsp;offsetY)</code>
<div class="block">Sets the visual representation of data being transfered
 in a drag and drop gesture.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/Dragboard.html#setDragViewOffsetX-double-">setDragViewOffsetX</a></span>(double&nbsp;offsetX)</code>
<div class="block">Sets the x position of the cursor of the drag view image.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/input/Dragboard.html#setDragViewOffsetY-double-">setDragViewOffsetY</a></span>(double&nbsp;offsetY)</code>
<div class="block">Sets the y position of the cursor of the drag view image.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.javafx.scene.input.Clipboard">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;javafx.scene.input.<a href="../../../javafx/scene/input/Clipboard.html" title="class in javafx.scene.input">Clipboard</a></h3>
<code><a href="../../../javafx/scene/input/Clipboard.html#clear--">clear</a>, <a href="../../../javafx/scene/input/Clipboard.html#getContent-javafx.scene.input.DataFormat-">getContent</a>, <a href="../../../javafx/scene/input/Clipboard.html#getContentTypes--">getContentTypes</a>, <a href="../../../javafx/scene/input/Clipboard.html#getFiles--">getFiles</a>, <a href="../../../javafx/scene/input/Clipboard.html#getHtml--">getHtml</a>, <a href="../../../javafx/scene/input/Clipboard.html#getImage--">getImage</a>, <a href="../../../javafx/scene/input/Clipboard.html#getRtf--">getRtf</a>, <a href="../../../javafx/scene/input/Clipboard.html#getString--">getString</a>, <a href="../../../javafx/scene/input/Clipboard.html#getSystemClipboard--">getSystemClipboard</a>, <a href="../../../javafx/scene/input/Clipboard.html#getUrl--">getUrl</a>, <a href="../../../javafx/scene/input/Clipboard.html#hasContent-javafx.scene.input.DataFormat-">hasContent</a>, <a href="../../../javafx/scene/input/Clipboard.html#hasFiles--">hasFiles</a>, <a href="../../../javafx/scene/input/Clipboard.html#hasHtml--">hasHtml</a>, <a href="../../../javafx/scene/input/Clipboard.html#hasImage--">hasImage</a>, <a href="../../../javafx/scene/input/Clipboard.html#hasRtf--">hasRtf</a>, <a href="../../../javafx/scene/input/Clipboard.html#hasString--">hasString</a>, <a href="../../../javafx/scene/input/Clipboard.html#hasUrl--">hasUrl</a>, <a href="../../../javafx/scene/input/Clipboard.html#setContent-java.util.Map-">setContent</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getTransferModes--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTransferModes</h4>
<pre>public final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../../javafx/scene/input/TransferMode.html" title="enum in javafx.scene.input">TransferMode</a>&gt;&nbsp;getTransferModes()</pre>
<div class="block">Gets set of transport modes supported by source of this drag opeation.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>set of supported transfer modes</dd>
</dl>
</li>
</ul>
<a name="setDragView-javafx.scene.image.Image-double-double-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDragView</h4>
<pre>public&nbsp;void&nbsp;setDragView(<a href="../../../javafx/scene/image/Image.html" title="class in javafx.scene.image">Image</a>&nbsp;image,
                        double&nbsp;offsetX,
                        double&nbsp;offsetY)</pre>
<div class="block">Sets the visual representation of data being transfered
 in a drag and drop gesture.
 Uses the given image for the drag view with the offsetX and offsetY
 specifying cursor position over the image.
 This method should be called only when starting drag and drop operation
 in the DRAG_DETECTED handler, calling it at other times
 doesn't have any effect.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>image</code> - image to use for the drag view</dd>
<dd><code>offsetX</code> - x position of the cursor over the image</dd>
<dd><code>offsetY</code> - y position of the cursor over the image</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
</dl>
</li>
</ul>
<a name="setDragView-javafx.scene.image.Image-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDragView</h4>
<pre>public&nbsp;void&nbsp;setDragView(<a href="../../../javafx/scene/image/Image.html" title="class in javafx.scene.image">Image</a>&nbsp;image)</pre>
<div class="block">Sets the visual representation of data being transfered
 in a drag and drop gesture.
 This method should be called only when starting drag and drop operation
 in the DRAG_DETECTED handler, calling it at other times
 doesn't have any effect.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>image</code> - image to use for the drag view</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
</dl>
</li>
</ul>
<a name="setDragViewOffsetX-double-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDragViewOffsetX</h4>
<pre>public&nbsp;void&nbsp;setDragViewOffsetX(double&nbsp;offsetX)</pre>
<div class="block">Sets the x position of the cursor of the drag view image.
 This method should be called only when starting drag and drop operation
 in the DRAG_DETECTED handler, calling it at other times
 doesn't have any effect.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>offsetX</code> - x position of the cursor over the image</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
</dl>
</li>
</ul>
<a name="setDragViewOffsetY-double-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDragViewOffsetY</h4>
<pre>public&nbsp;void&nbsp;setDragViewOffsetY(double&nbsp;offsetY)</pre>
<div class="block">Sets the y position of the cursor of the drag view image.
 This method should be called only when starting drag and drop operation
 in the DRAG_DETECTED handler, calling it at other times
 doesn't have any effect.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>offsetY</code> - y position of the cursor over the image</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
</dl>
</li>
</ul>
<a name="getDragView--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDragView</h4>
<pre>public&nbsp;<a href="../../../javafx/scene/image/Image.html" title="class in javafx.scene.image">Image</a>&nbsp;getDragView()</pre>
<div class="block">Gets the image used as a drag view.
 This method returns meaningful value only when starting drag and drop
 operation in the DRAG_DETECTED handler, it returns null at other times.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the image used as a drag view</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
</dl>
</li>
</ul>
<a name="getDragViewOffsetX--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDragViewOffsetX</h4>
<pre>public&nbsp;double&nbsp;getDragViewOffsetX()</pre>
<div class="block">Gets the x position of the cursor of the drag view image.
 This method returns meaningful value only when starting drag and drop
 operation in the DRAG_DETECTED handler, it returns 0 at other times.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>x position of the cursor over the image</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
</dl>
</li>
</ul>
<a name="getDragViewOffsetY--">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getDragViewOffsetY</h4>
<pre>public&nbsp;double&nbsp;getDragViewOffsetY()</pre>
<div class="block">Gets the y position of the cursor of the drag view image.
 This method returns meaningful value only when starting drag and drop
 operation in the DRAG_DETECTED handler, it returns 0 at other times.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>y position of the cursor over the image</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</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/Dragboard.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&nbsp;8</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../javafx/scene/input/DataFormat.html" title="class in javafx.scene.input"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../javafx/scene/input/DragEvent.html" title="class in javafx.scene.input"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?javafx/scene/input/Dragboard.html" target="_top">Frames</a></li>
<li><a href="Dragboard.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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> &copy; 2008, 2016, 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>