Class MyShowDensityListener

java.lang.Object
org.biojava.nbio.structure.align.gui.MyShowDensityListener
All Implemented Interfaces:
ActionListener, EventListener

public class MyShowDensityListener extends Object implements ActionListener
Fetches the density map for the structure on screen and draws it.

The download happens on a SwingWorker rather than the event dispatch thread. Even the smallest source runs to a few hundred kilobytes and a full-resolution map can be far larger, so fetching inline would freeze the interface for as long as it took.

Since:
7.3.0
Author:
Amr ALHOSSARY