Class TOADSettingsPaneWithChannels<T>

java.lang.Object
pamViewFX.fxNodes.pamDialogFX.ManagedSettingsPane<S>
group3dlocaliser.ToadManagedSettingsPane<T>
group3dlocaliser.algorithm.toadbase.TOADSettingsPaneWithChannels<T>

public class TOADSettingsPaneWithChannels<T> extends ToadManagedSettingsPane<T>
  • Constructor Details

  • Method Details

    • getTabPane

      public javafx.scene.control.TabPane getTabPane()
      Get the tab pane for the settings.
      Specified by:
      getTabPane in class ToadManagedSettingsPane<T>
      Returns:
      the tab pane for the different settings.
    • getSettingsPane

      public SettingsPane<T> getSettingsPane()
      Description copied from class: ManagedSettingsPane
      A settings pane to incorporate into dialogs, control panels, etc.
      Specified by:
      getSettingsPane in class ManagedSettingsPane<T>
      Returns:
      the settingsPane
    • useParams

      public boolean useParams(T newParams)
      Description copied from class: ManagedSettingsPane
      Called when parameters are returned by the settings pane. Here the parameters should be put into the right location in whatever class is using them.
      This doesn't get called when the parameters returned are null
      Specified by:
      useParams in class ManagedSettingsPane<T>
      Parameters:
      newParams - Parameters returned by the SettingsPane
      Returns:
      false if the parameters are invalid for some reason.
    • findParams

      public T findParams()
      Description copied from class: ManagedSettingsPane
      Get the parameters from whichever object owns them so that they can be put into the SettingsPane.
      Specified by:
      findParams in class ManagedSettingsPane<T>
      Returns:
      Parameters to put into the settings pane.
    • getToadSettingsPane

      public ManagedSettingsPane<T> getToadSettingsPane()
      Returns:
      the toadSettingsPane
    • getChannelPanel

      public ChannelPanelFX getChannelPanel()
      Returns:
      the channelPanel
    • setErrorWarn

      public void setErrorWarn(boolean warn)
      Description copied from class: ToadManagedSettingsPane
      Set whether the pane should show errors. Because there are multiple algorithms that will use this pane we do not want to warn for every algorithm only the user selected one.
      Specified by:
      setErrorWarn in class ToadManagedSettingsPane<T>
      Parameters:
      warn - = true to warn errors e.g. show an dialog - false and there are no error warnings.