Package analoginput.swing
Class AnalogChannelPanel
java.lang.Object
analoginput.swing.AnalogChannelPanel
- All Implemented Interfaces:
 PamDialogPanel
Construct a dialog panel with range information for a list of named channels
- Author:
 - dg50
 
- 
Constructor Summary
ConstructorsConstructorDescriptionAnalogChannelPanel(SensorChannelInfo[] sensorChannelInfos, int maxChannel, List<AnalogRangeData> rangeList, boolean allowNones)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidchannelNumberChange(int i) voidenableItem(int item) getDeviceParams(AnalogDeviceParams deviceParams) Get the awt component which will be incorporated into a larger display panel / component.getItemCalibration(int item) getItemRange(int iItem) booleanvoidsetDeviceParams(AnalogDeviceParams deviceParams) voidsetItemCalibration(int item, CalibrationData calData) booleansetItemRange(int iItem, AnalogRangeData rangeData) voidSet the initial parameter values in the panel. 
- 
Constructor Details
- 
AnalogChannelPanel
public AnalogChannelPanel(SensorChannelInfo[] sensorChannelInfos, int maxChannel, List<AnalogRangeData> rangeList, boolean allowNones)  
 - 
 - 
Method Details
- 
channelNumberChange
protected void channelNumberChange(int i)  - 
setItemRange
 - 
getItemRange
 - 
setDeviceParams
 - 
setItemCalibration
 - 
getItemCalibration
 - 
getDeviceParams
 - 
getDialogComponent
Description copied from interface:PamDialogPanelGet the awt component which will be incorporated into a larger display panel / component.- Specified by:
 getDialogComponentin interfacePamDialogPanel- Returns:
 - an awt component.
 
 - 
setParams
public void setParams()Description copied from interface:PamDialogPanelSet the initial parameter values in the panel. Since this interface is purely abstract, the type of parameter is unknown, so concrete implementations will somehow have to pass the class containing the parameter information in some other way.- Specified by:
 setParamsin interfacePamDialogPanel
 - 
getParams
public boolean getParams()- Specified by:
 getParamsin interfacePamDialogPanel- Returns:
 - true if parameters all have acceptable values and the dialog can close.
 
 - 
enableItem
public void enableItem(int item)  
 -