Acquisition
Class StandardChannelListPanel
java.lang.Object
Acquisition.StandardChannelListPanel
- All Implemented Interfaces:
- ChannelListPanel
public class StandardChannelListPanel
- extends java.lang.Object
- implements ChannelListPanel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
panelChannelLabel
private javax.swing.JLabel[] panelChannelLabel
panelChannelList
private javax.swing.JComboBox[] panelChannelList
panel
private javax.swing.JPanel panel
nChannels
int nChannels
StandardChannelListPanel
public StandardChannelListPanel()
getComponent
public java.awt.Component getComponent()
- Specified by:
getComponent in interface ChannelListPanel
- Returns:
- the component for the dialog panel.
getChannelList
public int[] getChannelList()
- Specified by:
getChannelList in interface ChannelListPanel
- Returns:
- the channel list
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)
createStandardChannelListPanel
private javax.swing.JPanel createStandardChannelListPanel()