< prev index next >
modules/graphics/src/main/java/javafx/animation/FadeTransition.java
Print this page
*** 313,330 ****
final Node node = getNode();
return (node != null) ? node : getParentTargetNode();
}
@Override
! boolean impl_startable(boolean forceSync) {
! return super.impl_startable(forceSync)
&& ((getTargetNode() != null) || (!forceSync && (cachedNode != null)));
}
@Override
! void impl_sync(boolean forceSync) {
! super.impl_sync(forceSync);
if (forceSync || (cachedNode == null)) {
cachedNode = getTargetNode();
final double _fromValue = getFromValue();
final double _toValue = getToValue();
start = (!Double.isNaN(_fromValue)) ? Math.max(0,
--- 313,330 ----
final Node node = getNode();
return (node != null) ? node : getParentTargetNode();
}
@Override
! boolean startable(boolean forceSync) {
! return super.startable(forceSync)
&& ((getTargetNode() != null) || (!forceSync && (cachedNode != null)));
}
@Override
! void sync(boolean forceSync) {
! super.sync(forceSync);
if (forceSync || (cachedNode == null)) {
cachedNode = getTargetNode();
final double _fromValue = getFromValue();
final double _toValue = getToValue();
start = (!Double.isNaN(_fromValue)) ? Math.max(0,
< prev index next >