本文整理汇总了Java中wallettemplate.utils.easing.EasingMode类的典型用法代码示例。如果您正苦于以下问题:Java EasingMode类的具体用法?Java EasingMode怎么用?Java EasingMode使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
EasingMode类属于wallettemplate.utils.easing包,在下文中一共展示了EasingMode类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: readyToGoAnimation
import wallettemplate.utils.easing.EasingMode; //导入依赖的package包/类
public void readyToGoAnimation() {
// Buttons slide in and clickable address appears simultaneously.
TranslateTransition arrive = new TranslateTransition(Duration.millis(1200), controlsBox);
arrive.setInterpolator(new ElasticInterpolator(EasingMode.EASE_OUT, 1, 2));
arrive.setToY(0.0);
FadeTransition reveal = new FadeTransition(Duration.millis(1200), addressControl);
reveal.setToValue(1.0);
ParallelTransition group = new ParallelTransition(arrive, reveal);
group.setDelay(NotificationBarPane.ANIM_OUT_DURATION);
group.setCycleCount(1);
group.play();
}