Class RawOrFFTPane


public class RawOrFFTPane extends SettingsPane<RawOrFFTParamsInterface>
  • Constructor Details

    • RawOrFFTPane

      public RawOrFFTPane(Object ownerWindow)
  • Method Details

    • enableControls

      public void enableControls()
    • getParams

      public RawOrFFTParamsInterface getParams(RawOrFFTParamsInterface currParams)
      Description copied from class: SettingsPane
      Get settings from the pane.
      Specified by:
      getParams in class SettingsPane<RawOrFFTParamsInterface>
      Returns:
      settings class
    • setParams

      public void setParams(RawOrFFTParamsInterface currentParams)
      Description copied from class: SettingsPane
      Called whenever the pane is first shown/open to set pane to show current settings.
      Specified by:
      setParams in class SettingsPane<RawOrFFTParamsInterface>
      Parameters:
      currentParams - - current settings class.
    • getName

      public String getName()
      Description copied from class: SettingsPane
      Get the name of the pane.
      Specified by:
      getName in class SettingsPane<RawOrFFTParamsInterface>
      Returns:
      name of the pane
    • getContentNode

      public javafx.scene.Node getContentNode()
      Description copied from class: SettingsPane
      Get node for GUI change of settings.
      Specified by:
      getContentNode in class SettingsPane<RawOrFFTParamsInterface>
    • paneInitialized

      public void paneInitialized()
      Description copied from class: SettingsPane
      Called when settings pane is first initialised. This can be used if for example, a the size of a pane is needed for a param. (Sizes are only initialised when Nodes are shown);
      Specified by:
      paneInitialized in class SettingsPane<RawOrFFTParamsInterface>
    • setDetectionSource

      public void setDetectionSource(PamDataBlock newValue)
      If this pane is working in conjuction with a detector data source in a localiser dialog, then modifications may be required based on what type of data source it is ...
      Parameters:
      newValue - new data Source.
    • getBeamDataSourcePane

      public SourcePaneFX getBeamDataSourcePane()
      Returns:
      the beamDataSourcePane
    • isAllowSourceChoice

      public boolean isAllowSourceChoice()
      always allow a choice of source, even if the source has it's own data within.
      Returns:
      the allowSourceChoice
    • setAllowSourceChoice

      public void setAllowSourceChoice(boolean allowSourceChoice)
      always allow a choice of source, even if the source has it's own data within.
      Parameters:
      allowSourceChoice - the allowSourceChoice to set
    • setOnlyAllowedDataBlock

      public void setOnlyAllowedDataBlock(PamDataBlock<?> onlyAllowedDataBlock)
      Parameters:
      onlyAllowedDataBlock - the onlyAllowedDataBlock to set
    • setTimingSource

      public void setTimingSource(PamDataBlock<?> timingSource)