Package nidaqdev.fx

Class NIChannelListPaneFX

java.lang.Object
nidaqdev.fx.NIChannelListPaneFX
All Implemented Interfaces:
ChannelListPanel

public class NIChannelListPaneFX extends Object implements ChannelListPanel
Pane which shows hardware channels on a National Instruments device mapped to PAMGuard software channels.
Author:
Jamie Macaulay
  • Constructor Details

  • Method Details

    • getChannelList

      public int[] getChannelList()
      Specified by:
      getChannelList in interface ChannelListPanel
      Returns:
      the channel list
    • getComponent

      public Component getComponent()
      Specified by:
      getComponent in interface ChannelListPanel
      Returns:
      the component for the dialog panel.
    • setNumChannels

      public void setNumChannels(int nChannels)
      Description copied from interface: ChannelListPanel
      Set the total number of channels to display.
      Specified by:
      setNumChannels in interface ChannelListPanel
      Parameters:
      nChannels - the total number of channels to display.
    • setParams

      public void setParams(int[] channelList)
      Description copied from interface: ChannelListPanel
      Set the channel list.
      Specified by:
      setParams in interface ChannelListPanel
      Parameters:
      channelList - channel list
    • isDataOk

      public boolean isDataOk()
      Specified by:
      isDataOk in interface ChannelListPanel
      Returns:
      true if the configuration seems to be valid (i.e. no repeated channels, etc)
    • getNode

      public javafx.scene.Node getNode()
      Specified by:
      getNode in interface ChannelListPanel
      Returns:
      the component for the dialog panel.