Class SpeciesDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class SpeciesDialog
extends JDialog
Deprecated.
use the GenePreferencesDialog instead
A dialog for choosing the species.
Author:
Harald Barsnes
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • SpeciesDialog

      public SpeciesDialog​(Frame parentFrame, boolean modal, Image waitingImage, Image normalImage, Integer selectedSpecies)
      Deprecated.
      Creates a new SpeciesDialog.
      Parameters:
      parentFrame - the parent frame
      modal - if the dialog is to be modal or not
      waitingImage - the waiting icon
      normalImage - the normal icon
      selectedSpecies - the taxon of the selected species
    • SpeciesDialog

      public SpeciesDialog​(JDialog parentDialog, JFrame mainFrame, boolean modal, Image waitingImage, Image normalImage, Integer selectedSpecies)
      Deprecated.
      Creates a new SpeciesDialog.
      Parameters:
      parentDialog - the parent dialog
      mainFrame - the parent of the parent dialog
      modal - if the dialog is to be modal or not
      waitingImage - the waiting icon
      normalImage - the normal icon
      selectedSpecies - the taxon of the selected species
  • Method Details

    • getSelectedSpecies

      public Integer getSelectedSpecies()
      Deprecated.
      Returns the species selected in the species drop down menu.
      Returns:
      the species selected
    • isCanceled

      public boolean isCanceled()
      Deprecated.
      Indicates whether the user canceled the editing.
      Returns:
      a boolean indicating whether the user canceled the editing
    • getTypeForGenomeDivision

      public String getTypeForGenomeDivision​(EnsemblGenomesSpecies.EnsemblGenomeDivision ensemblGenomeDivision)
      Deprecated.
      Returns the display name of an Ensembl genome division.
      Parameters:
      ensemblGenomeDivision - the Ensembl genome division
      Returns:
      the display name