@Override public void play(Timeline t) { t.playReverse(); } };
@Override public void mouseExited(MouseEvent e) { if (currHoverIndex == index) currHoverIndex = -1; overviewPanel.previewControls[index].setToolTipText(null); this.rolloverTimeline.playReverse(); } }
@Override public void trackMouseCrossing(boolean isMouseIn) { if (isMouseIn) { this.rolloverTimeline.play(); } else { this.rolloverTimeline.playReverse(); } this.ribbonBand.repaint(); }
@Override public void mouseExited(MouseEvent e) { if (buttonModel.isRollover()) { colorSelectorComponent.onColorRollover(null); rolloverTimeline.playReverse(); } buttonModel.setRollover(false); }
public void setFocusState(boolean hasFocus) { if (hasFocus) { this.focusTimeline.play(); if (AnimationConfigurationManager.getInstance().isAnimationAllowed( AnimationFacet.FOCUS_LOOP_ANIMATION, this.component)) { this.focusLoopTimeline.playLoop(RepeatBehavior.LOOP); } } else { this.focusTimeline.playReverse(); if (AnimationConfigurationManager.getInstance().isAnimationAllowed( AnimationFacet.FOCUS_LOOP_ANIMATION, this.component)) { this.focusLoopTimeline.cancel(); } } }
public void setFocusState(boolean hasFocus) { if (hasFocus) { this.focusTimeline.play(); if (AnimationConfigurationManager.getInstance().isAnimationAllowed( AnimationFacet.FOCUS_LOOP_ANIMATION, this.component)) { this.focusLoopTimeline.playLoop(RepeatBehavior.LOOP); } } else { this.focusTimeline.playReverse(); if (AnimationConfigurationManager.getInstance().isAnimationAllowed( AnimationFacet.FOCUS_LOOP_ANIMATION, this.component)) { this.focusLoopTimeline.cancel(); } } }