Package gpl.dialog

Class GPLDialog

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

public class GPLDialog extends PamDialog
See Also:
  • Field Details

  • Method Details

    • getThresholdLabel

      protected String getThresholdLabel(String txt)
    • getNoiseCeilLabel

      protected String getNoiseCeilLabel(String txt)
    • getMinGapLabel

      protected String getMinGapLabel(String txt)
    • getMinLengthLabel

      protected String getMinLengthLabel(String txt)
    • getMaxLengthLabel

      protected String getMaxLengthLabel(String txt)
    • setSourcePanelDetails

      protected void setSourcePanelDetails()
    • showDialog

      public static GPLParameters showDialog(Window parentFrame, GPLControlledUnit gplControlledUnit)
    • getParams

      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

      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
    • restoreDefaultSettingsQ

      public void restoreDefaultSettingsQ()
      this one get's called first so need to override to show a menu !
      Overrides:
      restoreDefaultSettingsQ in class PamDialog
    • importSettings

      protected void importSettings()
    • exportSettings

      protected void exportSettings(String name)
    • restoreDefaultSettings

      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