Class SetupDialog

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Dialog
                          |
                          +--javax.swing.JDialog
                                |
                                +--SetupDialog

class SetupDialog
extends javax.swing.JDialog

See Also:
Serialized Form

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
protected  javax.swing.JButton apply_button
           
private  javax.swing.Icon browse_icon
           
protected  VTextField cols_txtfld
           
protected  java.awt.Container content_pane
           
protected  ControllerConfigDialog controller_config_dialog
           
protected  javax.swing.JCheckBox dimensions_chkbox
           
private  java.awt.Font font
           
protected  javax.swing.JButton get_pci_file_button
           
protected  javax.swing.JButton get_timing_file_button
           
protected  javax.swing.JButton get_utility_file_button
           
protected  javax.swing.JCheckBox hardware_test_chkbox
           
protected  HardwareTestDialog hardware_test_dialog
           
protected  javax.swing.JRadioButton image_res_16bit_rbutton
           
protected  javax.swing.JRadioButton image_res_32bit_rbutton
           
private  javax.swing.JMenuBar menu_bar
           
private  javax.swing.JPanel new_button_panel
           
private  javax.swing.JPanel new_setup_panel
           
protected  int number_of_setup_windows
           
private  javax.swing.JPanel panel_holder
           
protected  VoodooMainWindow parent
           
protected  javax.swing.JCheckBox pci_download_chkbox
           
protected  VTextField pci_file_txtfld
           
protected  javax.swing.JCheckBox power_on_chkbox
           
protected  javax.swing.JCheckBox reset_controller_chkbox
           
protected  VTextField rows_txtfld
           
protected  SetupListener setup_listener
           
protected  javax.swing.JRadioButton timing_app_rbutton
           
protected  VTextField timing_app_txtfld
           
protected  javax.swing.JCheckBox timing_board_chkbox
           
protected  javax.swing.JRadioButton timing_file_rbutton
           
protected  VTextField timing_file_txtfld
           
protected  javax.swing.JRadioButton utility_app_rbutton
           
protected  VTextField utility_app_txtfld
           
protected  javax.swing.JCheckBox utility_board_chkbox
           
protected  javax.swing.JRadioButton utility_file_rbutton
           
protected  VTextField utility_file_txtfld
           
protected  javax.swing.JButton view_config_options_button
           
 
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
SetupDialog(java.awt.Frame owner)
          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 clickApply()
          This method performs a software "click" of the apply button.
private  javax.swing.JPanel create_button_panel()
          This method creates the button control panel.
private  javax.swing.JMenuBar create_menu_bar()
          This method creates the menu bar.
private  javax.swing.JPanel create_setup_panel()
          This method creates the panel that contains all the user input components.
 
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
, addNotify, conditionalShow, constructComponentName, dispose, getTitle, hide, hideAndDisposeHandler, initIDs, isModal, isResizable, setModal, setResizable, setTitle, show
 
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

content_pane

protected java.awt.Container content_pane

hardware_test_dialog

protected HardwareTestDialog hardware_test_dialog

controller_config_dialog

protected ControllerConfigDialog controller_config_dialog

parent

protected VoodooMainWindow parent

reset_controller_chkbox

protected javax.swing.JCheckBox reset_controller_chkbox

hardware_test_chkbox

protected javax.swing.JCheckBox hardware_test_chkbox

pci_download_chkbox

protected javax.swing.JCheckBox pci_download_chkbox

timing_board_chkbox

protected javax.swing.JCheckBox timing_board_chkbox

utility_board_chkbox

protected javax.swing.JCheckBox utility_board_chkbox

power_on_chkbox

protected javax.swing.JCheckBox power_on_chkbox

dimensions_chkbox

protected javax.swing.JCheckBox dimensions_chkbox

timing_file_rbutton

protected javax.swing.JRadioButton timing_file_rbutton

timing_app_rbutton

protected javax.swing.JRadioButton timing_app_rbutton

utility_file_rbutton

protected javax.swing.JRadioButton utility_file_rbutton

utility_app_rbutton

protected javax.swing.JRadioButton utility_app_rbutton

image_res_16bit_rbutton

protected javax.swing.JRadioButton image_res_16bit_rbutton

image_res_32bit_rbutton

protected javax.swing.JRadioButton image_res_32bit_rbutton

pci_file_txtfld

protected VTextField pci_file_txtfld

timing_file_txtfld

protected VTextField timing_file_txtfld

utility_file_txtfld

protected VTextField utility_file_txtfld

rows_txtfld

protected VTextField rows_txtfld

cols_txtfld

protected VTextField cols_txtfld

timing_app_txtfld

protected VTextField timing_app_txtfld

utility_app_txtfld

protected VTextField utility_app_txtfld

get_pci_file_button

protected javax.swing.JButton get_pci_file_button

get_timing_file_button

protected javax.swing.JButton get_timing_file_button

get_utility_file_button

protected javax.swing.JButton get_utility_file_button

apply_button

protected javax.swing.JButton apply_button

view_config_options_button

protected javax.swing.JButton view_config_options_button

number_of_setup_windows

protected int number_of_setup_windows

panel_holder

private javax.swing.JPanel panel_holder

new_setup_panel

private javax.swing.JPanel new_setup_panel

new_button_panel

private javax.swing.JPanel new_button_panel

menu_bar

private javax.swing.JMenuBar menu_bar

setup_listener

protected SetupListener setup_listener

browse_icon

private javax.swing.Icon browse_icon

font

private java.awt.Font font
Constructor Detail

SetupDialog

public SetupDialog(java.awt.Frame owner)
Class constructor. The window is created in this method.
Parameters:
owner - The window from which this dialog window was opened.
Method Detail

create_setup_panel

private javax.swing.JPanel create_setup_panel()
This method creates the panel that contains all the user input components.
Returns:
Returns the panel that contains all the user input components.
See Also:
JPanel

create_button_panel

private javax.swing.JPanel create_button_panel()
This method creates the button control panel.
Returns:
Returns the button control panel.
See Also:
JPanel

create_menu_bar

private javax.swing.JMenuBar create_menu_bar()
This method creates the menu bar.
Returns:
Returns the menubar.
See Also:
JMenuBar

add_components

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.
Parameters:
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.
See Also:
JPanel, JComponent, GridBagLayout, GridBagConstraints

clickApply

public void clickApply()
This method performs a software "click" of the apply button. It does the same thing as if the button were "clicked" by a user with a mouse.
See Also:
JButton