public final void setFindDetails ( boolean findDetails ) { this . findDetails . set ( findDetails ) ; if ( findDetails ) { primeCache ( ) ; // Get details for any tracks that were already loaded on players. } else { // Inform our listeners, on the proper thread, that the detailed waveforms are no longer available final Set < DeckReference > dyingCache = new HashSet < DeckReference > ( detailHotCache . keySet ( ) ) ; detailHotCache . clear ( ) ; SwingUtilities . invokeLater ( new Runnable ( ) { @ Override public void run ( ) { for ( DeckReference deck : dyingCache ) { deliverWaveformDetailUpdate ( deck . player , null ) ; } } } ) ; } }
Set whether we should retrieve the waveform details in addition to the waveform previews .