Package nidaqdev
Class NIChannelListPanel
java.lang.Object
nidaqdev.NIChannelListPanel
- All Implemented Interfaces:
ChannelListPanel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint[]
javafx.scene.Node
getNode()
boolean
isDataOk()
void
setNumChannels
(int nChannels) Set the total number of channels to display.void
setParams
(int[] channelList) Set the channel list.
-
Constructor Details
-
NIChannelListPanel
-
-
Method Details
-
getChannelList
public int[] getChannelList()- Specified by:
getChannelList
in interfaceChannelListPanel
- Returns:
- the channel list
-
getComponent
- Specified by:
getComponent
in interfaceChannelListPanel
- 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 interfaceChannelListPanel
- 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 interfaceChannelListPanel
- Parameters:
channelList
- channel list
-
isDataOk
public boolean isDataOk()- Specified by:
isDataOk
in interfaceChannelListPanel
- 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 interfaceChannelListPanel
- Returns:
- the component for the dialog panel.
-