Class MyShowDensityListener
java.lang.Object
org.biojava.nbio.structure.align.gui.MyShowDensityListener
- All Implemented Interfaces:
ActionListener,EventListener
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
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MyShowDensityListener
- Parameters:
parent- the viewer to draw into
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-