Class TOADSettingsPaneWithChannels<T>
java.lang.Object
pamViewFX.fxNodes.pamDialogFX.ManagedSettingsPane<T>
group3dlocaliser.ToadManagedSettingsPane<T>
group3dlocaliser.algorithm.toadbase.TOADSettingsPaneWithChannels<T>
- 
Constructor Summary
ConstructorsConstructorDescriptionTOADSettingsPaneWithChannels(Object parent, TOADBaseAlgorithm toadBaseAlgorithm, ManagedSettingsPane<T> toadSettingsPane)  - 
Method Summary
Modifier and TypeMethodDescriptionGet the parameters from whichever object owns them so that they can be put into the SettingsPane.A settings pane to incorporate into dialogs, control panels, etc.javafx.scene.control.TabPaneGet the tab pane for the settings.voidsetErrorWarn(boolean warn) Set whether the pane should show errors.booleanCalled when parameters are returned by the settings pane.Methods inherited from class pamViewFX.fxNodes.pamDialogFX.ManagedSettingsPane
getParams, setParams 
- 
Constructor Details
- 
TOADSettingsPaneWithChannels
public TOADSettingsPaneWithChannels(Object parent, TOADBaseAlgorithm toadBaseAlgorithm, ManagedSettingsPane<T> toadSettingsPane)  
 - 
 - 
Method Details
- 
getTabPane
public javafx.scene.control.TabPane getTabPane()Get the tab pane for the settings.- Specified by:
 getTabPanein classToadManagedSettingsPane<T>- Returns:
 - the tab pane for the different settings.
 
 - 
getSettingsPane
Description copied from class:ManagedSettingsPaneA settings pane to incorporate into dialogs, control panels, etc.- Specified by:
 getSettingsPanein classManagedSettingsPane<T>- Returns:
 - the settingsPane
 
 - 
useParams
Description copied from class:ManagedSettingsPaneCalled 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:
 useParamsin classManagedSettingsPane<T>- Parameters:
 newParams- Parameters returned by the SettingsPane- Returns:
 - false if the parameters are invalid for some reason.
 
 - 
findParams
Description copied from class:ManagedSettingsPaneGet the parameters from whichever object owns them so that they can be put into the SettingsPane.- Specified by:
 findParamsin classManagedSettingsPane<T>- Returns:
 - Parameters to put into the settings pane.
 
 - 
getToadSettingsPane
- Returns:
 - the toadSettingsPane
 
 - 
getChannelPanel
- Returns:
 - the channelPanel
 
 - 
setErrorWarn
public void setErrorWarn(boolean warn) Description copied from class:ToadManagedSettingsPaneSet 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:
 setErrorWarnin classToadManagedSettingsPane<T>- Parameters:
 warn- = true to warn errors e.g. show an dialog - false and there are no error warnings.
 
 -