public void setTransform(AffineTransform aTransform) {
PXNode.this.setTransform(aTransform);
}
};
PTransformActivity ta = new PTransformActivity(duration,
PUtil.DEFAULT_ACTIVITY_STEP_RATE, t, destTransform);
/*
* Sequences the animation to occur after
*/
if (busyAnimatingUntilTime > System.currentTimeMillis()) {
ta.setStartTime(busyAnimatingUntilTime);
} else {
busyAnimatingUntilTime = System.currentTimeMillis();
}
busyAnimatingUntilTime += ta.getDuration();
UIEnvironment.getInstance().addActivity(ta);
return ta;
}
}