|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Dialog | +--javax.swing.JDialog | +--ControllerConfigDialog
Inner classes inherited from class javax.swing.JDialog |
javax.swing.JDialog.AccessibleJDialog |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AWTTreeLock |
Field Summary | |
private javax.swing.JButton |
apply_all_button
|
private javax.swing.JButton |
apply_button
|
protected javax.swing.JCheckBox |
array_temperature_chkbox
|
protected javax.swing.JComboBox |
binning_parameters_combo_Bx
|
protected javax.swing.JComboBox |
binning_parameters_combo_By
|
protected javax.swing.JLabel |
both_readout_pics_label
|
protected javax.swing.JPanel |
bottom_readout_panel
|
protected javax.swing.JLabel[] |
channel_label
|
protected VTextField[] |
channel_txtfld
|
protected int |
config_data
|
protected javax.swing.JLabel |
configuration_code_label
|
protected java.awt.Container |
content_pane
|
protected ControllerConfigListener |
controller_config_listener
|
protected javax.swing.JTabbedPane |
controller_config_tabbed_pane
|
protected VTextField |
derived_array_size_x_txtfld
|
protected VTextField |
derived_array_size_y_txtfld
|
protected int |
derived_size_x
|
protected int |
derived_size_y
|
protected javax.swing.JCheckBox |
download_coadder_board_chkbox
|
protected javax.swing.Icon |
dual_readout_AB_icon
|
protected javax.swing.JRadioButton |
dual_readout_AB_rbutton
|
protected javax.swing.Icon |
dual_readout_CD_icon
|
protected javax.swing.JRadioButton |
dual_readout_CD_rbutton
|
protected javax.swing.Icon |
dual_readout_serial_L_icon
|
protected javax.swing.Icon |
dual_readout_serial_LR_icon
|
protected javax.swing.Icon |
dual_readout_serial_R_icon
|
protected javax.swing.JRadioButton |
fast_speed_rbutton
|
private java.awt.Font |
font
|
protected javax.swing.JRadioButton |
gain_1_rbutton
|
protected javax.swing.JRadioButton |
gain_2_rbutton
|
protected javax.swing.JRadioButton |
gain_475_rbutton
|
protected javax.swing.JRadioButton |
gain_95_rbutton
|
protected int |
image_ncols
|
protected int |
image_nrows
|
protected VTextField |
image_size_ncols_txtfld
|
protected VTextField |
image_size_nrows_txtfld
|
protected javax.swing.JLabel |
linear_coeff_description_label1
|
protected javax.swing.JLabel |
linear_coeff_description_label2
|
protected javax.swing.JLabel |
linear_coeff1_label
|
protected VTextField |
linear_coeff1_txtfld
|
protected javax.swing.JLabel |
linear_coeff2_label
|
protected VTextField |
linear_coeff2_txtfld
|
private javax.swing.JMenuBar |
menu_bar
|
protected javax.swing.JCheckBox |
mpp_chkbox
|
protected javax.swing.JLabel |
nc_label
|
protected VTextField |
nc_txtfld
|
protected javax.swing.JCheckBox |
number_of_coadder_chkbox
|
protected int |
number_of_controller_config_windows
|
protected javax.swing.JComboBox |
number_of_readout_channels_combo_box
|
protected SetupDialog |
parent
|
protected javax.swing.JRadioButton |
quad_readout_ABCD_rbutton
|
protected javax.swing.Icon |
quad_readout_icon
|
protected javax.swing.JLabel |
range_of_nc_label
|
protected javax.swing.JLabel |
readout_pics_label
|
protected VTextField |
readout_status_parallel_txtfld
|
protected VTextField |
readout_status_serial_txtfld
|
protected VTextField |
readout_status_txtfld
|
protected javax.swing.JRadioButton |
serial_readout_L_rbutton
|
protected javax.swing.JRadioButton |
serial_readout_LR_rbutton
|
protected javax.swing.JLabel |
serial_readout_pics_label
|
protected javax.swing.JRadioButton |
serial_readout_R_rbutton
|
protected javax.swing.Icon |
single_readout_A_icon
|
protected javax.swing.JRadioButton |
single_readout_A_rbutton
|
protected javax.swing.Icon |
single_readout_B_icon
|
protected javax.swing.JRadioButton |
single_readout_B_rbutton
|
protected javax.swing.Icon |
single_readout_C_icon
|
protected javax.swing.JRadioButton |
single_readout_C_rbutton
|
protected javax.swing.Icon |
single_readout_D_icon
|
protected javax.swing.JRadioButton |
single_readout_D_rbutton
|
protected javax.swing.JRadioButton |
slow_speed_rbutton
|
private java.awt.Font |
summary_font
|
protected javax.swing.JLabel |
supported_bit_description_label
|
protected javax.swing.JLabel |
supported_capabilities_label
|
protected javax.swing.JTextArea |
supported_capabilities_txtarea
|
protected VTextField |
temperature_txtfld
|
protected javax.swing.JPanel |
top_both_readout_panel
|
protected javax.swing.JPanel |
top_serial_readout_panel
|
Fields inherited from class javax.swing.JDialog |
accessibleContext,
defaultCloseOperation,
rootPane,
rootPaneCheckingEnabled |
Fields inherited from class java.awt.Dialog |
base,
keepBlocking,
modal,
nameCounter,
resizable,
serialVersionUID,
title |
Fields inherited from class java.awt.Window |
active,
base,
focusMgr,
inputContext,
nameCounter,
OPENED,
ownedWindowList,
serialVersionUID,
state,
warningString,
weakThis,
windowListener,
windowSerializedDataVersion |
Fields inherited from class java.awt.Container |
component,
containerListener,
containerSerializedDataVersion,
dispatcher,
layoutMgr,
maxSize,
ncomponents,
serialVersionUID |
Fields inherited from class java.awt.Component |
actionListenerK,
adjustmentListenerK,
appContext,
assert,
background,
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
changeSupport,
componentListener,
componentListenerK,
componentOrientation,
componentSerializedDataVersion,
containerListenerK,
cursor,
dropTarget,
enabled,
eventMask,
focusListener,
focusListenerK,
font,
foreground,
hasFocus,
height,
incRate,
inputMethodListener,
inputMethodListenerK,
isInc,
isPacked,
itemListenerK,
keyListener,
keyListenerK,
LEFT_ALIGNMENT,
locale,
LOCK,
minSize,
mouseListener,
mouseListenerK,
mouseMotionListener,
mouseMotionListenerK,
name,
nameExplicitlySet,
newEventsOnly,
ownedWindowK,
parent,
peer,
peerFont,
popups,
prefSize,
RIGHT_ALIGNMENT,
serialVersionUID,
textListenerK,
TOP_ALIGNMENT,
valid,
visible,
width,
windowListenerK,
x,
y |
Constructor Summary | |
ControllerConfigDialog(SetupDialog parent)
Class constructor. |
Method Summary | |
private void |
add_components(javax.swing.JPanel panel,
javax.swing.JComponent compnt,
java.awt.GridBagLayout gbl,
java.awt.GridBagConstraints gbc,
int insetTOP,
int insetLEFT,
int insetBOTTOM,
int insetRIGHT,
int cfill,
int anchr,
int col,
int row,
int gw,
int gh)
Adds the specified component to the specified panel. |
void |
clickApplyAll()
This method performs a software "click" of the "Apply All" button. |
private javax.swing.JPanel |
create_binning_panel()
This method creates the panel that contains all the user input components. |
private javax.swing.JPanel |
create_bottom_readout_panel()
This method creates the bottom amp split options panel for this dialog window. |
private javax.swing.JPanel |
create_button_panel()
This method creates the panel that contains the apply button. |
private javax.swing.JPanel |
create_coadder_panel()
This method creates the Coadder panel. |
private javax.swing.JPanel |
create_gain_panel()
This method creates the Gain panel. |
private javax.swing.JMenuBar |
create_menu_bar()
This method creates the menu bar. |
private javax.swing.JPanel |
create_mpp_panel()
This method creates the MPP (Multi-pin phased) control panel. |
private javax.swing.JPanel |
create_readout_both_panel()
This method creates the serial/parallel readout panel. |
private javax.swing.JPanel |
create_serial_readout_panel()
This method creates the serial readout panel. |
private javax.swing.JPanel |
create_summary_panel()
This method creates the summary ("Configuration") tab panel. |
private javax.swing.JTabbedPane |
create_tabbed_pane()
Creates the "tabbed" panels portion of the window. |
private javax.swing.JPanel |
create_temperature_panel()
This method creates a new tabbed pane - Temperature. |
private javax.swing.JPanel |
create_top_readout_both_panel()
This method creates the top amp split options panel for the dialog window when both serial and parallel are true. |
private javax.swing.JPanel |
create_top_readout_serial_panel()
This method creates the top amp split options panel for the dialog window when only serial is true. |
private javax.swing.JPanel |
create_video_offsets_panel()
This method creates the Video Offsets panel. |
void |
set_apply_all_button_text(java.lang.String text)
This method sets the apply all button text to the specified string. |
void |
set_apply_button_text(java.lang.String text)
This method sets the apply button text to the specified string. |
void |
set_config_data(int config_data)
This method sets ControllerConfigDialog to the certain bit values. |
private void |
set_supported_text(java.lang.String text)
This method sets the supported/unsupported configuration text to the specified string, which is constructed as follows: bit# text |
Methods inherited from class javax.swing.JDialog |
addImpl,
createRootPane,
createRootPaneException,
dialogInit,
getAccessibleContext,
getContentPane,
getDefaultCloseOperation,
getGlassPane,
getJMenuBar,
getLayeredPane,
getRootPane,
isRootPaneCheckingEnabled,
paramString,
processKeyEvent,
processWindowEvent,
remove,
setContentPane,
setDefaultCloseOperation,
setGlassPane,
setJMenuBar,
setLayeredPane,
setLayout,
setLocationRelativeTo,
setRootPane,
setRootPaneCheckingEnabled,
update |
Methods inherited from class java.awt.Dialog |
|
Methods inherited from class java.awt.Window |
addOwnedWindow,
addWindowListener,
applyResourceBundle,
applyResourceBundle,
connectOwnedWindow,
dispatchEventImpl,
eventEnabled,
finalize,
getFocusOwner,
getInputContext,
getLocale,
getOwnedWindows,
getOwner,
getToolkit,
getWarningString,
isActive,
isShowing,
nextFocus,
ownedInit,
pack,
postEvent,
postProcessKeyEvent,
postWindowEvent,
preProcessKeyEvent,
processEvent,
readObject,
removeOwnedWindow,
removeWindowListener,
setCursor,
setFocusOwner,
setWarningString,
toBack,
toFront,
transferFocus,
writeObject |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
applyOrientation,
countComponents,
deliverEvent,
dispatchEventToSelf,
doLayout,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents_NoClientCode,
getComponents,
getCursorTarget,
getInsets,
getLayout,
getMaximumSize,
getMinimumSize,
getMouseEventTarget,
getPreferredSize,
getWindow,
insets,
invalidate,
invalidateTree,
isAncestorOf,
layout,
lightweightPrint,
list,
list,
locate,
minimumSize,
paint,
paintComponents,
postsOldMouseEvents,
preferredSize,
print,
printComponents,
printHeavyweightComponents,
printOneComponent,
processContainerEvent,
proxyEnableEvents,
proxyRequestFocus,
remove,
removeAll,
removeContainerListener,
removeNotify,
setFont,
updateCursor,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
areInputMethodsEnabled,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont_NoClientCode,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputMethodRequests,
getIntrinsicCursor,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getNativeContainer,
getParent_NoClientCode,
getParent,
getPeer,
getSize,
getSize,
getToolkitImpl,
getTreeLock,
getWidth,
getWindowForObject,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isEnabledImpl,
isFocusTraversable,
isLightweight,
isOpaque,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processFocusEvent,
processInputMethodEvent,
processMouseEvent,
processMouseMotionEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setDropTarget,
setEnabled,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Field Detail |
protected java.awt.Container content_pane
protected javax.swing.JPanel top_both_readout_panel
protected javax.swing.JPanel top_serial_readout_panel
protected javax.swing.JPanel bottom_readout_panel
protected SetupDialog parent
protected javax.swing.JComboBox binning_parameters_combo_Bx
protected javax.swing.JComboBox binning_parameters_combo_By
protected javax.swing.JComboBox number_of_readout_channels_combo_box
private javax.swing.JButton apply_button
private javax.swing.JButton apply_all_button
protected javax.swing.Icon single_readout_A_icon
protected javax.swing.Icon single_readout_B_icon
protected javax.swing.Icon single_readout_C_icon
protected javax.swing.Icon single_readout_D_icon
protected javax.swing.Icon dual_readout_serial_L_icon
protected javax.swing.Icon dual_readout_serial_R_icon
protected javax.swing.Icon dual_readout_serial_LR_icon
protected javax.swing.Icon dual_readout_AB_icon
protected javax.swing.Icon dual_readout_CD_icon
protected javax.swing.Icon quad_readout_icon
protected javax.swing.JLabel readout_pics_label
protected javax.swing.JLabel both_readout_pics_label
protected javax.swing.JLabel serial_readout_pics_label
protected javax.swing.JLabel nc_label
protected javax.swing.JLabel range_of_nc_label
protected javax.swing.JLabel configuration_code_label
protected javax.swing.JLabel supported_capabilities_label
protected javax.swing.JLabel supported_bit_description_label
protected javax.swing.JLabel linear_coeff_description_label1
protected javax.swing.JLabel linear_coeff_description_label2
protected javax.swing.JLabel linear_coeff1_label
protected javax.swing.JLabel linear_coeff2_label
protected javax.swing.JLabel[] channel_label
protected VTextField image_size_ncols_txtfld
protected VTextField image_size_nrows_txtfld
protected VTextField derived_array_size_x_txtfld
protected VTextField derived_array_size_y_txtfld
protected VTextField readout_status_txtfld
protected VTextField readout_status_serial_txtfld
protected VTextField readout_status_parallel_txtfld
protected VTextField nc_txtfld
protected VTextField temperature_txtfld
protected VTextField linear_coeff1_txtfld
protected VTextField linear_coeff2_txtfld
protected VTextField[] channel_txtfld
protected javax.swing.JRadioButton single_readout_A_rbutton
protected javax.swing.JRadioButton single_readout_B_rbutton
protected javax.swing.JRadioButton single_readout_C_rbutton
protected javax.swing.JRadioButton single_readout_D_rbutton
protected javax.swing.JRadioButton dual_readout_AB_rbutton
protected javax.swing.JRadioButton dual_readout_CD_rbutton
protected javax.swing.JRadioButton quad_readout_ABCD_rbutton
protected javax.swing.JRadioButton serial_readout_L_rbutton
protected javax.swing.JRadioButton serial_readout_R_rbutton
protected javax.swing.JRadioButton serial_readout_LR_rbutton
protected javax.swing.JRadioButton gain_1_rbutton
protected javax.swing.JRadioButton gain_2_rbutton
protected javax.swing.JRadioButton gain_475_rbutton
protected javax.swing.JRadioButton gain_95_rbutton
protected javax.swing.JRadioButton slow_speed_rbutton
protected javax.swing.JRadioButton fast_speed_rbutton
protected javax.swing.JCheckBox mpp_chkbox
protected javax.swing.JCheckBox number_of_coadder_chkbox
protected javax.swing.JCheckBox download_coadder_board_chkbox
protected javax.swing.JCheckBox array_temperature_chkbox
protected javax.swing.JTextArea supported_capabilities_txtarea
protected int number_of_controller_config_windows
protected int image_ncols
protected int image_nrows
protected int derived_size_x
protected int derived_size_y
protected int config_data
protected javax.swing.JTabbedPane controller_config_tabbed_pane
private javax.swing.JMenuBar menu_bar
protected ControllerConfigListener controller_config_listener
private java.awt.Font font
private java.awt.Font summary_font
Constructor Detail |
public ControllerConfigDialog(SetupDialog parent)
owner
- The window from which this dialog window was opened.Method Detail |
public void set_config_data(int config_data)
config_data
- the controller configuration bitsprivate javax.swing.JTabbedPane create_tabbed_pane()
JTabbedPane
private javax.swing.JPanel create_button_panel()
JPanel
private javax.swing.JPanel create_mpp_panel()
JPanel
private javax.swing.JPanel create_summary_panel()
JPanel
private javax.swing.JPanel create_binning_panel()
JPanel
private javax.swing.JPanel create_top_readout_both_panel()
JPanel
private javax.swing.JPanel create_top_readout_serial_panel()
JPanel
private javax.swing.JPanel create_bottom_readout_panel()
JPanel
private javax.swing.JPanel create_readout_both_panel()
JPanel
private javax.swing.JPanel create_serial_readout_panel()
JPanel
private javax.swing.JPanel create_coadder_panel()
JPanel
private javax.swing.JPanel create_gain_panel()
JPanel
private javax.swing.JPanel create_video_offsets_panel()
JPanel
private javax.swing.JPanel create_temperature_panel()
JPanel
private javax.swing.JMenuBar create_menu_bar()
JMenuBar
private void add_components(javax.swing.JPanel panel, javax.swing.JComponent compnt, java.awt.GridBagLayout gbl, java.awt.GridBagConstraints gbc, int insetTOP, int insetLEFT, int insetBOTTOM, int insetRIGHT, int cfill, int anchr, int col, int row, int gw, int gh)
panel
- The panel to which the component will be added.compnt
- The component to add.gbl
- The GridBagLayout of the panel.gbl
- The GridBagConstraints of the panel.insetTOP
- The distance in pixels between the top of this
component and the one above it.insetBOTTOM
- The distance in pixels between the bottom of
this component and the one below it.insetLEFT
- The distance in pixels between the left side of
this component and the one left of it.insetRIGHT
- The distance in pixels between the right side
of this component and the one right of it.cfill
- Determines how the component "fills" the space of
of its "cell".anchr
- The justification of the component within its "cell".col
- The x position of the component.row
- The y position of the component.gw
- The number of "cells" that the component spans in the
width direction.gh
- The number of "cells" that the component spans in the
height direction.JPanel
,
JComponent
,
GridBagLayout
,
GridBagConstraints
private void set_supported_text(java.lang.String text)
bit
- The bit number of the supported/unsupported configuration.text
- The string to set.supported
- Determines whether the text goes into the supported
(true) or unsupported (false) text areas.public void set_apply_button_text(java.lang.String text)
text
- The string to set the apply button text to.JButton
public void set_apply_all_button_text(java.lang.String text)
text
- The string to set the apply all button text to.JButton
public void clickApplyAll()
JButton
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |