@Override public void play(Timeline t) { t.play(); } },
@Override public void trackMouseCrossing(boolean isMouseIn) { if (isMouseIn) { this.rolloverTimeline.play(); } else { this.rolloverTimeline.playReverse(); } this.ribbonBand.repaint(); }
public void play() { this.soundPlayed = false; this.progressTl.play(); }
@Override public void showComponent() { super.showComponent(); showAnimation.play(); }
public HideEffectListener() { hideTimer = new Timer(HIDE_DELAY, listener -> { showAnimation.abort(); hideAnimation.play(); }); hideTimer.setRepeats(false); }
@Override public void mouseEntered(MouseEvent e) { currHoverIndex = index; overviewPanel.previewControls[index].setToolTipText(null); this.rolloverTimeline.play(); }
@Override public void mouseEntered(MouseEvent e) { AbstractComponentFrame.this.repaint(); hideTimer.stop(); if (AbstractComponentFrame.this.getOpacity() < maxOpacity) { showAnimation.play(); } }
@Override public void mouseEntered(MouseEvent e) { TaskBarFrame.this.repaint(); if (collapseAnimation != null) { collapseAnimation.abort(); } initCollapseAnimations("expand"); collapseAnimation.play(); }
@Override public void subscribe() { MercuryStoreCore.appLoadingSubject .subscribe(state -> { hideAnimation.play(); }); MercuryStoreCore.errorHandlerSubject.subscribe(error -> { this.loadingTracker.abort(); }); }
@Override public void mouseExited(MouseEvent e) { TaskBarFrame.this.repaint(); if (isVisible() && !withInPanel((JPanel) TaskBarFrame.this.getContentPane()) && !EResizeSpace) { if (collapseAnimation != null) { collapseAnimation.abort(); } initCollapseAnimations("collapse"); collapseAnimation.play(); } } };
@Override public void mouseEntered(MouseEvent e) { if (!buttonModel.isRollover()) { colorSelectorComponent .onColorRollover(colorSelectorComponent.getColor()); rolloverTimeline.play(); } buttonModel.setRollover(true); }
@Override public void setLcdValueAnimated(final double LCD_VALUE) { if (lcdTimeline.getState() == Timeline.TimelineState.PLAYING_FORWARD || lcdTimeline.getState() == Timeline.TimelineState.PLAYING_REVERSE) { lcdTimeline.abort(); } lcdTimeline = new Timeline(this); lcdTimeline.addPropertyToInterpolate("lcdValue", this.lcdValue, LCD_VALUE); lcdTimeline.setEase(new Spline(0.5f)); lcdTimeline.play(); }
@Override public void setLcdValueAnimated(final double LCD_VALUE) { if (lcdTimeline.getState() == Timeline.TimelineState.PLAYING_FORWARD || lcdTimeline.getState() == Timeline.TimelineState.PLAYING_REVERSE) { lcdTimeline.abort(); } lcdTimeline = new Timeline(this); lcdTimeline.addPropertyToInterpolate("lcdValue", this.lcdValue, LCD_VALUE); lcdTimeline.setEase(new Spline(0.5f)); lcdTimeline.play(); }
@Override public void setLcdValueAnimated(final double LCD_VALUE) { if (lcdTimeline.getState() == Timeline.TimelineState.PLAYING_FORWARD || lcdTimeline.getState() == Timeline.TimelineState.PLAYING_REVERSE) { lcdTimeline.abort(); } lcdTimeline = new Timeline(this); lcdTimeline.addPropertyToInterpolate("lcdValue", this.lcdValue, LCD_VALUE); lcdTimeline.setEase(new Spline(0.5f)); lcdTimeline.play(); }
@Override public void setLcdValueAnimated(final double LCD_VALUE) { if (lcdTimeline.getState() == Timeline.TimelineState.PLAYING_FORWARD || lcdTimeline.getState() == Timeline.TimelineState.PLAYING_REVERSE) { lcdTimeline.abort(); } lcdTimeline = new Timeline(this); lcdTimeline.addPropertyToInterpolate("lcdValue", this.lcdValue, LCD_VALUE); lcdTimeline.setEase(new Spline(0.5f)); lcdTimeline.play(); }
@Override public void setValueAnimated(final double VALUE) { if (timeline.getState() == Timeline.TimelineState.PLAYING_FORWARD || timeline.getState() == Timeline.TimelineState.PLAYING_REVERSE) { timeline.abort(); } timeline = new Timeline(this); timeline.addPropertyToInterpolate("value", value, VALUE); timeline.setEase(new Spline(0.5f)); timeline.setDuration(800); timeline.play(); }
@Override public void setValueAnimated(final double VALUE) { if (timeline.getState() == Timeline.TimelineState.PLAYING_FORWARD || timeline.getState() == Timeline.TimelineState.PLAYING_REVERSE) { timeline.abort(); } timeline = new Timeline(this); timeline.addPropertyToInterpolate("value", this.oldValue, VALUE); timeline.setEase(new Spline(0.5f)); timeline.setDuration(1500); timeline.play(); }
public void setRollAnimated(final double ROLL) { if (isEnabled()) { if (timelineRoll.getState() == Timeline.TimelineState.PLAYING_FORWARD || timelineRoll.getState() == Timeline.TimelineState.PLAYING_REVERSE) { timelineRoll.abort(); } timelineRoll = new Timeline(this); timelineRoll.addPropertyToInterpolate("roll", this.oldRoll, ROLL); timelineRoll.setEase(new Spline(0.5f)); timelineRoll.setDuration(800); timelineRoll.play(); } }
public void setPitchAnimated(final double PITCH) { if (isEnabled()) { if (timelinePitch.getState() == Timeline.TimelineState.PLAYING_FORWARD || timelinePitch.getState() == Timeline.TimelineState.PLAYING_REVERSE) { timelinePitch.abort(); } timelinePitch = new Timeline(this); timelinePitch.addPropertyToInterpolate("pitch", this.oldPitch, PITCH); timelinePitch.setEase(new Spline(0.5f)); timelinePitch.setDuration(800); timelinePitch.play(); } }
public void setPitchAnimated(final double PITCH) { if (isEnabled()) { if (timelinePitch.getState() == Timeline.TimelineState.PLAYING_FORWARD || timelinePitch.getState() == Timeline.TimelineState.PLAYING_REVERSE) { timelinePitch.abort(); } timelinePitch = new Timeline(this); timelinePitch.addPropertyToInterpolate("pitch", this.oldPitch, PITCH); timelinePitch.setEase(new Spline(0.5f)); timelinePitch.setDuration(800); timelinePitch.play(); } }