Class DataBlockSpeciesDialog

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

public class DataBlockSpeciesDialog extends PamDialog
Dialog to edit ITIS species codes for a datablock.
Author:
dg50
See Also:
  • Method Details Link icon

    • gotoITIS Link icon

      protected void gotoITIS()
    • showDialog Link icon

      public static void showDialog(Window parentFrame, PamDataBlock dataBlock, String singleSpecies)
      Open Dialog to edit ITIS species codes.
      Parameters:
      parentFrame - parent window
      dataBlock - data block
      singleSpecies - single species if only one species to be shown. null for all species.
    • getParams Link icon

      public boolean getParams()
      Description copied from class: PamDialog
      called when the Ok button is pressed. This must return true in order that the dialog may close. It should also copy all parameters into an object that will be returned by showDialog.
      Specified by:
      getParams in class PamDialog
    • cancelButtonPressed Link icon

      public void cancelButtonPressed()
      Description copied from class: PamDialog
      called when the cancel button is pressed before the dialog closes. Generally you should set the parameters returned by the dialog to null or some default value, or in some other way indicate that Cancel was pressed.
      Specified by:
      cancelButtonPressed in class PamDialog
    • restoreDefaultSettings Link icon

      public void restoreDefaultSettings()
      Description copied from class: PamDialog
      standard function which should us used to copy default parameters into the dialog controls.
      Specified by:
      restoreDefaultSettings in class PamDialog