* Presente no JAVADTV 1.1
*/
public boolean animate() {
Image bgImage = getStyle().getBgImage();
boolean animateBackground = bgImage != null && bgImage.isAnimation() && ((Animation) bgImage).animate();
Motion m = getAnimationMotion();
//preform regular scrolling
if (m != null && destScrollY != -1 && destScrollY != getScrollY()) {
// change the variable directly for efficiency both in removing redundant
// repaints and scroll checks
scrollY = m.getValue();
if (destScrollY == scrollY) {
destScrollY = -1;
}
return true;