Class EnergySumParamsDialog

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

public class EnergySumParamsDialog extends IshDetParamsDialog
See Also:
  • Field Details Link icon

  • Method Details Link icon

    • showDialog2 Link icon

      public static EnergySumParams showDialog2(Frame parentFrame, EnergySumParams oldParams)
    • addDetectorSpecificControls Link icon

      protected void addDetectorSpecificControls(JPanel g)
      Description copied from class: IshDetParamsDialog
      Add parameter-setting controls to the dialog box that are specific to the type of detector in your subclass. Some controls are common to all detectors; they are handled in IshDetParamsDialog. But others are specific to one type of detector, and in subclasses, they should be added in addDetectorSpecificControls. See EnergySumParamsDialog for an example.
      Specified by:
      addDetectorSpecificControls in class IshDetParamsDialog
    • getParams Link icon

      public boolean getParams()
      Description copied from class: IshDetParamsDialog
      Read the values from the dialog box, parse and place into energySumParams. The subclasses, before or after calling super.getParams(), do likewise for their detector-specific values.
      Overrides:
      getParams in class IshDetParamsDialog
      Returns:
      boolean -- true if parameters are valid, false if not