< prev index next >
modules/graphics/src/main/java/javafx/animation/AnimationAccessorImpl.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 29,58 ****
final class AnimationAccessorImpl extends AnimationAccessor{
@Override
public void setCurrentRate(Animation animation, double currentRate) {
! animation.impl_setCurrentRate(currentRate);
}
@Override
public void playTo(Animation animation, long pos, long cycleTicks) {
! animation.impl_playTo(pos, cycleTicks);
}
@Override
public void jumpTo(Animation animation, long pos, long cycleTicks, boolean forceJump) {
! animation.impl_jumpTo(pos, cycleTicks, forceJump);
}
@Override
public void finished(Animation animation) {
! animation.impl_finished();
}
@Override
public void setCurrentTicks(Animation animation, long ticks) {
! animation.impl_setCurrentTicks(ticks);
}
}
--- 29,58 ----
final class AnimationAccessorImpl extends AnimationAccessor{
@Override
public void setCurrentRate(Animation animation, double currentRate) {
! animation.setCurrentRate(currentRate);
}
@Override
public void playTo(Animation animation, long pos, long cycleTicks) {
! animation.doPlayTo(pos, cycleTicks);
}
@Override
public void jumpTo(Animation animation, long pos, long cycleTicks, boolean forceJump) {
! animation.doJumpTo(pos, cycleTicks, forceJump);
}
@Override
public void finished(Animation animation) {
! animation.finished();
}
@Override
public void setCurrentTicks(Animation animation, long ticks) {
! animation.setCurrentTicks(ticks);
}
}
< prev index next >