@Override protected void installComponents() { super.installComponents(); // fix for defect 265 - check that the label is not null // before activating the loop. if (this.substanceIconLabel != null) { // Make the icon glow for three cycles. There's no need to // explicitly cancel the animation when the option pane is closed // before the animation is over - when the three cycles are up, // the animation will be removed by the tracker. if (!this.iconGlowTracker.isPlaying()) { this.iconGlowTracker.play(3); } } } }
@Override protected void installComponents() { super.installComponents(); // fix for defect 265 - check that the label is not null // before activating the loop. if (this.substanceIconLabel != null) { // Make the icon glow for three cycles. There's no need to // explicitly cancel the animation when the option pane is closed // before the animation is over - when the three cycles are up, // the animation will be removed by the tracker. if (!this.iconGlowTracker.isPlaying()) { this.iconGlowTracker.play(3); } } } }
public boolean hasRunningTimelines() { if (this.focusTimeline != null) { TimelineState focusTimelineState = this.focusTimeline.getState(); if (focusTimelineState != TimelineState.IDLE) return true; } if (this.focusLoopTimeline != null) { TimelineState focusLoopTimelineState = this.focusLoopTimeline .getState(); if (focusLoopTimelineState != TimelineState.IDLE) return true; } if (this.iconGlowTracker.isPlaying()) { return true; } if (this.transitionTimeline != null) { TimelineState modelTransitionTimelineState = this.transitionTimeline .getState(); if (modelTransitionTimelineState != TimelineState.IDLE) return true; } return false; }
public boolean hasRunningTimelines() { if (this.focusTimeline != null) { TimelineState focusTimelineState = this.focusTimeline.getState(); if (focusTimelineState != TimelineState.IDLE) return true; } if (this.focusLoopTimeline != null) { TimelineState focusLoopTimelineState = this.focusLoopTimeline .getState(); if (focusLoopTimelineState != TimelineState.IDLE) return true; } if (this.iconGlowTracker.isPlaying()) { return true; } if (this.transitionTimeline != null) { TimelineState modelTransitionTimelineState = this.transitionTimeline .getState(); if (modelTransitionTimelineState != TimelineState.IDLE) return true; } return false; }
&& this.substanceVisualStateTracker .getStateTransitionTracker().getIconGlowTracker() .isPlaying()) { this.glowingIcon.paintIcon(b, graphics, iconRect.x, iconRect.y); } else {
&& this.substanceVisualStateTracker .getStateTransitionTracker().getIconGlowTracker() .isPlaying()) { this.glowingIcon.paintIcon(b, graphics, iconRect.x, iconRect.y); } else {
&& this.substanceVisualStateTracker .getStateTransitionTracker().getIconGlowTracker() .isPlaying()) { this.glowingIcon.paintIcon(b, graphics, iconRect.x, iconRect.y); } else {
&& this.substanceVisualStateTracker .getStateTransitionTracker().getIconGlowTracker() .isPlaying()) { this.glowingIcon.paintIcon(b, graphics, iconRect.x, iconRect.y); } else {