Acquisition
Class StandardChannelListPanel

java.lang.Object
  extended by Acquisition.StandardChannelListPanel
All Implemented Interfaces:
ChannelListPanel

public class StandardChannelListPanel
extends java.lang.Object
implements ChannelListPanel


Field Summary
(package private)  int nChannels
           
private  javax.swing.JPanel panel
           
private  javax.swing.JLabel[] panelChannelLabel
           
private  javax.swing.JComboBox[] panelChannelList
           
 
Constructor Summary
StandardChannelListPanel()
           
 
Method Summary
private  javax.swing.JPanel createStandardChannelListPanel()
           
 int[] getChannelList()
           
 java.awt.Component getComponent()
           
 boolean isDataOk()
           
 void setNumChannels(int nChannels)
          Set the total number of channels to display.
 void setParams(int[] channelList)
          Set the channel list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

panelChannelLabel

private javax.swing.JLabel[] panelChannelLabel

panelChannelList

private javax.swing.JComboBox[] panelChannelList

panel

private javax.swing.JPanel panel

nChannels

int nChannels
Constructor Detail

StandardChannelListPanel

public StandardChannelListPanel()
Method Detail

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()