Class ChannelPanelFX

java.lang.Object
PamController.SettingsPane<Integer>
pamViewFX.fxNodes.utilityPanes.ChannelPanelFX

public class ChannelPanelFX extends SettingsPane<Integer>
  • Constructor Details

    • ChannelPanelFX

      public ChannelPanelFX(Object ownerWindow, boolean multiRow)
    • ChannelPanelFX

      public ChannelPanelFX(Object ownerWindow)
  • Method Details

    • setChannelMap

      public void setChannelMap(int channelMap)
      Set the selected channels
      Parameters:
      channelMap - bitmap of channels to select
    • getChannelMap

      public int getChannelMap()
      Get the selected channels
      Returns:
      bitmap o selected channels
    • getAvailableChannels

      public int getAvailableChannels()
      Returns:
      the bitmap of availableChannels
    • setAvailableChannels

      public void setAvailableChannels(int availableChannels)
      Parameters:
      availableChannels - the bitmap of availableChannels
    • getParams

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

      public void setParams(Integer input)
      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<Integer>
      Parameters:
      input - - current settings class.
    • getName

      public String getName()
      Description copied from class: SettingsPane
      Get the name of the pane.
      Specified by:
      getName in class SettingsPane<Integer>
      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<Integer>
    • 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<Integer>
    • isMultiColumn

      public boolean isMultiColumn()
      Returns:
      the multiColumn layout option
    • setMultiColumn

      public void setMultiColumn(boolean multiColumn)
      Parameters:
      multiColumn - set optional multicolumn layout