Package nidaqdev.fx
Class NIChannelListPaneFX
java.lang.Object
nidaqdev.fx.NIChannelListPaneFX
- All Implemented Interfaces:
ChannelListPanel
Pane which shows hardware channels on a National Instruments device mapped to PAMGuard software channels.
- Author:
- Jamie Macaulay
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidint[]javafx.scene.NodegetNode()booleanisDataOk()protected voidsetAllBoards(int boardNum) voidsetNumChannels(int nChannels) Set the total number of channels to display.voidsetParams(int[] channelList) Set the channel list.
-
Constructor Details
-
NIChannelListPaneFX
-
-
Method Details
-
getChannelList
public int[] getChannelList()- Specified by:
getChannelListin interfaceChannelListPanel- Returns:
- the channel list
-
getComponent
- Specified by:
getComponentin interfaceChannelListPanel- Returns:
- the component for the dialog panel.
-
setNumChannels
public void setNumChannels(int nChannels) Description copied from interface:ChannelListPanelSet the total number of channels to display.- Specified by:
setNumChannelsin interfaceChannelListPanel- Parameters:
nChannels- the total number of channels to display.
-
setParams
public void setParams(int[] channelList) Description copied from interface:ChannelListPanelSet the channel list.- Specified by:
setParamsin interfaceChannelListPanel- Parameters:
channelList- channel list
-
setAllBoards
protected void setAllBoards(int boardNum) -
isDataOk
public boolean isDataOk()- Specified by:
isDataOkin interfaceChannelListPanel- Returns:
- true if the configuration seems to be valid (i.e. no repeated channels, etc)
-
enableMultiBoardOps
protected void enableMultiBoardOps() -
getNode
public javafx.scene.Node getNode()- Specified by:
getNodein interfaceChannelListPanel- Returns:
- the component for the dialog panel.
-