<!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_77) on Fri Apr 22 13:46:53 UTC 2016 --> <title>Reflection (JavaFX 8)</title> <meta name="date" content="2016-04-22"> <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="Reflection (JavaFX 8)"; } } catch(err) { } //--> var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":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"; 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}; 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/Reflection.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/effect/PerspectiveTransform.html" title="class in javafx.scene.effect"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../javafx/scene/effect/SepiaTone.html" title="class in javafx.scene.effect"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?javafx/scene/effect/Reflection.html" target="_top">Frames</a></li> <li><a href="Reflection.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>Nested | </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.effect</div> <h2 title="Class Reflection" class="title">Class Reflection</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/effect/Effect.html" title="class in javafx.scene.effect">javafx.scene.effect.Effect</a></li> <li> <ul class="inheritance"> <li>javafx.scene.effect.Reflection</li> </ul> </li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <hr> <br> <pre>public class <span class="typeNameLabel">Reflection</span> extends <a href="../../../javafx/scene/effect/Effect.html" title="class in javafx.scene.effect">Effect</a></pre> <div class="block">An effect that renders a reflected version of the input below the actual input content. <p> Note that the reflection of a <code>Node</code> with a <code>Reflection</code> effect installed will not respond to mouse events or the containment methods on the <code>Node</code>. <p> Example: <pre><code> Reflection reflection = new Reflection(); reflection.setFraction(0.7); Text text = new Text(); text.setX(10.0); text.setY(50.0); text.setCache(true); text.setText("Reflections on JavaFX..."); text.setFill(Color.web("0x3b596d")); text.setFont(Font.font(null, FontWeight.BOLD, 40)); text.setEffect(reflection); </pre></code> <p> The code above produces the following: </p> <p> <img src="doc-files/reflection.png"/> </p></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"> <!-- =========== PROPERTY SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="property.summary"> <!-- --> </a> <h3>Property Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Property Summary table, listing properties, 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">Type</th> <th class="colLast" scope="col">Property and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#bottomOpacityProperty">bottomOpacity</a></span></code> <div class="block">The bottom opacity value, which is the opacity of the reflection at its bottom extreme.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#fractionProperty">fraction</a></span></code> <div class="block">The fraction of the input that is visible in the reflection.</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/effect/Effect.html" title="class in javafx.scene.effect">Effect</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#inputProperty">input</a></span></code> <div class="block">The input for this <code>Effect</code>.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#topOffsetProperty">topOffset</a></span></code> <div class="block">The top offset adjustment, which is the distance between the bottom of the input and the top of the reflection.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#topOpacityProperty">topOpacity</a></span></code> <div class="block">The top opacity value, which is the opacity of the reflection at its top extreme.</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/effect/Reflection.html#Reflection--">Reflection</a></span>()</code> <div class="block">Creates a new instance of Reflection with default parameters.</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#Reflection-double-double-double-double-">Reflection</a></span>(double topOffset, double fraction, double topOpacity, double bottomOpacity)</code> <div class="block">Creates a new instance of Reflection with the specified topOffset, fraction, topOpacity and bottomOpacity.</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><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#bottomOpacityProperty--">bottomOpacityProperty</a></span>()</code> <div class="block">The bottom opacity value, which is the opacity of the reflection at its bottom extreme.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#fractionProperty--">fractionProperty</a></span>()</code> <div class="block">The fraction of the input that is visible in the reflection.</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/effect/Reflection.html#getBottomOpacity--">getBottomOpacity</a></span>()</code> <div class="block">Gets the value of the property bottomOpacity.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#getFraction--">getFraction</a></span>()</code> <div class="block">Gets the value of the property fraction.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/scene/effect/Effect.html" title="class in javafx.scene.effect">Effect</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#getInput--">getInput</a></span>()</code> <div class="block">Gets the value of the property input.</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/effect/Reflection.html#getTopOffset--">getTopOffset</a></span>()</code> <div class="block">Gets the value of the property topOffset.</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/effect/Reflection.html#getTopOpacity--">getTopOpacity</a></span>()</code> <div class="block">Gets the value of the property topOpacity.</div> </td> </tr> <tr id="i7" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/effect/Effect.html" title="class in javafx.scene.effect">Effect</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#inputProperty--">inputProperty</a></span>()</code> <div class="block">The input for this <code>Effect</code>.</div> </td> </tr> <tr id="i8" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#setBottomOpacity-double-">setBottomOpacity</a></span>(double value)</code> <div class="block">Sets the value of the property bottomOpacity.</div> </td> </tr> <tr id="i9" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#setFraction-double-">setFraction</a></span>(double value)</code> <div class="block">Sets the value of the property fraction.</div> </td> </tr> <tr id="i10" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#setInput-javafx.scene.effect.Effect-">setInput</a></span>(<a href="../../../javafx/scene/effect/Effect.html" title="class in javafx.scene.effect">Effect</a> value)</code> <div class="block">Sets the value of the property input.</div> </td> </tr> <tr id="i11" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#setTopOffset-double-">setTopOffset</a></span>(double value)</code> <div class="block">Sets the value of the property topOffset.</div> </td> </tr> <tr id="i12" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#setTopOpacity-double-">setTopOpacity</a></span>(double value)</code> <div class="block">Sets the value of the property topOpacity.</div> </td> </tr> <tr id="i13" class="rowColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#topOffsetProperty--">topOffsetProperty</a></span>()</code> <div class="block">The top offset adjustment, which is the distance between the bottom of the input and the top of the reflection.</div> </td> </tr> <tr id="i14" class="altColor"> <td class="colFirst"><code><a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/effect/Reflection.html#topOpacityProperty--">topOpacityProperty</a></span>()</code> <div class="block">The top opacity value, which is the opacity of the reflection at its top extreme.</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.<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"> <!-- ============ PROPERTY DETAIL =========== --> <ul class="blockList"> <li class="blockList"><a name="property.detail"> <!-- --> </a> <h3>Property Detail</h3> <a name="inputProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>input</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/effect/Effect.html" title="class in javafx.scene.effect">Effect</a>> inputProperty</pre> <div class="block">The input for this <code>Effect</code>. If set to <code>null</code>, or left unspecified, a graphical image of the <code>Node</code> to which the <code>Effect</code> is attached will be used as the input.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>null</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Reflection.html#getInput--"><code>getInput()</code></a>, <a href="../../../javafx/scene/effect/Reflection.html#setInput-javafx.scene.effect.Effect-"><code>setInput(Effect)</code></a></dd> </dl> </li> </ul> <a name="topOffsetProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>topOffset</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> topOffsetProperty</pre> <div class="block">The top offset adjustment, which is the distance between the bottom of the input and the top of the reflection. <pre> Min: n/a Max: n/a Default: 0.0 Identity: 0.0 </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Reflection.html#getTopOffset--"><code>getTopOffset()</code></a>, <a href="../../../javafx/scene/effect/Reflection.html#setTopOffset-double-"><code>setTopOffset(double)</code></a></dd> </dl> </li> </ul> <a name="topOpacityProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>topOpacity</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> topOpacityProperty</pre> <div class="block">The top opacity value, which is the opacity of the reflection at its top extreme. <pre> Min: 0.0 Max: 1.0 Default: 0.5 Identity: 1.0 </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.5</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Reflection.html#getTopOpacity--"><code>getTopOpacity()</code></a>, <a href="../../../javafx/scene/effect/Reflection.html#setTopOpacity-double-"><code>setTopOpacity(double)</code></a></dd> </dl> </li> </ul> <a name="bottomOpacityProperty"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>bottomOpacity</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> bottomOpacityProperty</pre> <div class="block">The bottom opacity value, which is the opacity of the reflection at its bottom extreme. <pre> Min: 0.0 Max: 1.0 Default: 0.0 Identity: 1.0 </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Reflection.html#getBottomOpacity--"><code>getBottomOpacity()</code></a>, <a href="../../../javafx/scene/effect/Reflection.html#setBottomOpacity-double-"><code>setBottomOpacity(double)</code></a></dd> </dl> </li> </ul> <a name="fractionProperty"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>fraction</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> fractionProperty</pre> <div class="block">The fraction of the input that is visible in the reflection. For example, a value of 0.5 means that only the bottom half of the input will be visible in the reflection. <pre> Min: 0.0 Max: 1.0 Default: 0.75 Identity: 1.0 </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.75</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Reflection.html#getFraction--"><code>getFraction()</code></a>, <a href="../../../javafx/scene/effect/Reflection.html#setFraction-double-"><code>setFraction(double)</code></a></dd> </dl> </li> </ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="Reflection--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Reflection</h4> <pre>public Reflection()</pre> <div class="block">Creates a new instance of Reflection with default parameters.</div> </li> </ul> <a name="Reflection-double-double-double-double-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>Reflection</h4> <pre>public Reflection(double topOffset, double fraction, double topOpacity, double bottomOpacity)</pre> <div class="block">Creates a new instance of Reflection with the specified topOffset, fraction, topOpacity and bottomOpacity.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>topOffset</code> - the distance between the bottom of the input and the top of the reflection</dd> <dd><code>fraction</code> - the fraction of the input that is visible in the reflection</dd> <dd><code>topOpacity</code> - the opacity of the reflection at its top extreme</dd> <dd><code>bottomOpacity</code> - the opacity of the reflection at its bottom extreme</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>JavaFX 2.1</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="setInput-javafx.scene.effect.Effect-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setInput</h4> <pre>public final void setInput(<a href="../../../javafx/scene/effect/Effect.html" title="class in javafx.scene.effect">Effect</a> value)</pre> <div class="block">Sets the value of the property input.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The input for this <code>Effect</code>. If set to <code>null</code>, or left unspecified, a graphical image of the <code>Node</code> to which the <code>Effect</code> is attached will be used as the input.</dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>null</dd> </dl> </li> </ul> <a name="getInput--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getInput</h4> <pre>public final <a href="../../../javafx/scene/effect/Effect.html" title="class in javafx.scene.effect">Effect</a> getInput()</pre> <div class="block">Gets the value of the property input.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The input for this <code>Effect</code>. If set to <code>null</code>, or left unspecified, a graphical image of the <code>Node</code> to which the <code>Effect</code> is attached will be used as the input.</dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>null</dd> </dl> </li> </ul> <a name="inputProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>inputProperty</h4> <pre>public final <a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a><<a href="../../../javafx/scene/effect/Effect.html" title="class in javafx.scene.effect">Effect</a>> inputProperty()</pre> <div class="block">The input for this <code>Effect</code>. If set to <code>null</code>, or left unspecified, a graphical image of the <code>Node</code> to which the <code>Effect</code> is attached will be used as the input.</div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>null</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Reflection.html#getInput--"><code>getInput()</code></a>, <a href="../../../javafx/scene/effect/Reflection.html#setInput-javafx.scene.effect.Effect-"><code>setInput(Effect)</code></a></dd> </dl> </li> </ul> <a name="setTopOffset-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setTopOffset</h4> <pre>public final void setTopOffset(double value)</pre> <div class="block">Sets the value of the property topOffset.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The top offset adjustment, which is the distance between the bottom of the input and the top of the reflection. <pre> Min: n/a Max: n/a Default: 0.0 Identity: 0.0 </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="getTopOffset--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getTopOffset</h4> <pre>public final double getTopOffset()</pre> <div class="block">Gets the value of the property topOffset.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The top offset adjustment, which is the distance between the bottom of the input and the top of the reflection. <pre> Min: n/a Max: n/a Default: 0.0 Identity: 0.0 </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="topOffsetProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>topOffsetProperty</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> topOffsetProperty()</pre> <div class="block">The top offset adjustment, which is the distance between the bottom of the input and the top of the reflection. <pre> Min: n/a Max: n/a Default: 0.0 Identity: 0.0 </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Reflection.html#getTopOffset--"><code>getTopOffset()</code></a>, <a href="../../../javafx/scene/effect/Reflection.html#setTopOffset-double-"><code>setTopOffset(double)</code></a></dd> </dl> </li> </ul> <a name="setTopOpacity-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setTopOpacity</h4> <pre>public final void setTopOpacity(double value)</pre> <div class="block">Sets the value of the property topOpacity.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The top opacity value, which is the opacity of the reflection at its top extreme. <pre> Min: 0.0 Max: 1.0 Default: 0.5 Identity: 1.0 </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.5</dd> </dl> </li> </ul> <a name="getTopOpacity--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getTopOpacity</h4> <pre>public final double getTopOpacity()</pre> <div class="block">Gets the value of the property topOpacity.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The top opacity value, which is the opacity of the reflection at its top extreme. <pre> Min: 0.0 Max: 1.0 Default: 0.5 Identity: 1.0 </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.5</dd> </dl> </li> </ul> <a name="topOpacityProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>topOpacityProperty</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> topOpacityProperty()</pre> <div class="block">The top opacity value, which is the opacity of the reflection at its top extreme. <pre> Min: 0.0 Max: 1.0 Default: 0.5 Identity: 1.0 </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.5</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Reflection.html#getTopOpacity--"><code>getTopOpacity()</code></a>, <a href="../../../javafx/scene/effect/Reflection.html#setTopOpacity-double-"><code>setTopOpacity(double)</code></a></dd> </dl> </li> </ul> <a name="setBottomOpacity-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setBottomOpacity</h4> <pre>public final void setBottomOpacity(double value)</pre> <div class="block">Sets the value of the property bottomOpacity.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The bottom opacity value, which is the opacity of the reflection at its bottom extreme. <pre> Min: 0.0 Max: 1.0 Default: 0.0 Identity: 1.0 </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="getBottomOpacity--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getBottomOpacity</h4> <pre>public final double getBottomOpacity()</pre> <div class="block">Gets the value of the property bottomOpacity.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The bottom opacity value, which is the opacity of the reflection at its bottom extreme. <pre> Min: 0.0 Max: 1.0 Default: 0.0 Identity: 1.0 </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> </dl> </li> </ul> <a name="bottomOpacityProperty--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>bottomOpacityProperty</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> bottomOpacityProperty()</pre> <div class="block">The bottom opacity value, which is the opacity of the reflection at its bottom extreme. <pre> Min: 0.0 Max: 1.0 Default: 0.0 Identity: 1.0 </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.0</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Reflection.html#getBottomOpacity--"><code>getBottomOpacity()</code></a>, <a href="../../../javafx/scene/effect/Reflection.html#setBottomOpacity-double-"><code>setBottomOpacity(double)</code></a></dd> </dl> </li> </ul> <a name="setFraction-double-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setFraction</h4> <pre>public final void setFraction(double value)</pre> <div class="block">Sets the value of the property fraction.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The fraction of the input that is visible in the reflection. For example, a value of 0.5 means that only the bottom half of the input will be visible in the reflection. <pre> Min: 0.0 Max: 1.0 Default: 0.75 Identity: 1.0 </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.75</dd> </dl> </li> </ul> <a name="getFraction--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getFraction</h4> <pre>public final double getFraction()</pre> <div class="block">Gets the value of the property fraction.</div> <dl> <dt><span class="simpleTagLabel">Property description:</span></dt> <dd>The fraction of the input that is visible in the reflection. For example, a value of 0.5 means that only the bottom half of the input will be visible in the reflection. <pre> Min: 0.0 Max: 1.0 Default: 0.75 Identity: 1.0 </pre></dd> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.75</dd> </dl> </li> </ul> <a name="fractionProperty--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>fractionProperty</h4> <pre>public final <a href="../../../javafx/beans/property/DoubleProperty.html" title="class in javafx.beans.property">DoubleProperty</a> fractionProperty()</pre> <div class="block">The fraction of the input that is visible in the reflection. For example, a value of 0.5 means that only the bottom half of the input will be visible in the reflection. <pre> Min: 0.0 Max: 1.0 Default: 0.75 Identity: 1.0 </pre></div> <dl> <dt><span class="simpleTagLabel">Default value:</span></dt> <dd>0.75</dd> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../javafx/scene/effect/Reflection.html#getFraction--"><code>getFraction()</code></a>, <a href="../../../javafx/scene/effect/Reflection.html#setFraction-double-"><code>setFraction(double)</code></a></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/Reflection.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/effect/PerspectiveTransform.html" title="class in javafx.scene.effect"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../javafx/scene/effect/SepiaTone.html" title="class in javafx.scene.effect"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?javafx/scene/effect/Reflection.html" target="_top">Frames</a></li> <li><a href="Reflection.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>Nested | </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><small><a href="https://docs.oracle.com/javase/8/docs/legal/cpyr.html">Copyright</a> (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.</small></small></p> </body> </html>