Class SNRAnnotationPanel

java.lang.Object
annotation.calcs.snr.SNRAnnotationPanel
All Implemented Interfaces:
AnnotationDialogPanel

public class SNRAnnotationPanel extends Object implements AnnotationDialogPanel
  • Constructor Details

    • SNRAnnotationPanel

      public SNRAnnotationPanel(SNRAnnotationType snrAnnotationType)
  • Method Details

    • getDialogComponent

      public JComponent getDialogComponent()
      Description copied from interface: AnnotationDialogPanel
      Get the awt component which will be incorporated into a larger display panel / component.
      Specified by:
      getDialogComponent in interface AnnotationDialogPanel
      Returns:
      an awt component.
    • setParams

      public void setParams(PamDataUnit pamDataUnit)
      Description copied from interface: AnnotationDialogPanel
      Set the initial parameter values in the panel. Since this interface is purely abstract, the type of parameter is unknown, so concrete implementations will somehow have to pass the class containing the parameter information in some other way.
      Specified by:
      setParams in interface AnnotationDialogPanel
      Parameters:
      pamDataUnit - Data unit to update annotation on
    • getParams

      public boolean getParams(PamDataUnit pamDataUnit)
      Specified by:
      getParams in interface AnnotationDialogPanel
      Parameters:
      pamDataUnit - Data unit to update annotation on
      Returns:
      true if parameters all have acceptable values and the dialog can close.