Class MySaveFileListener

  • All Implemented Interfaces:
    ActionListener, EventListener

    public class MySaveFileListener
    extends Object
    implements ActionListener
    Save an alignment to a specified File by the user. The alignment to be saved depends on the constructor used to instantiate this class, so that AFPChains and MultipleAlignments can be saved.

    The format to save the alignment depends on the Frame that generated the Action: from a sequence alignment a FatCat or FASTA formats are saved, and from a Jmol view an XML format is saved.

    Version:
    2.0 - adapted for MultipleAligments
    Author:
    Aleix Lafita