Class DspDialog

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

class DspDialog
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
private  java.awt.Container content_pane
           
private  javax.swing.JTabbedPane dsp_tabbed_pane
           
private  DspDialogListener dspDialog_listener
           
private  java.awt.Font font
           
private  VTextField manual_arg1_txtfld
           
private  VTextField manual_arg2_txtfld
           
private  VTextField manual_arg3_txtfld
           
private  VTextField manual_arg4_txtfld
           
private  VTextField manual_arg5_txtfld
           
private  VTextField manual_command_txtfld
           
private  VTextField manual_reply_txtfld
           
private  javax.swing.JButton manual_send_cmd_button
           
 int number_of_dsp_windows
           
protected  VTextField timing_address_txtfld
           
protected  VTextField timing_data_txtfld
           
private  javax.swing.JRadioButton timing_rdm_rbutton
           
private  VTextField timing_reply_txtfld
           
private  javax.swing.JButton timing_send_cmd_button
           
private  javax.swing.JRadioButton timing_tdl_rbutton
           
private  javax.swing.JRadioButton timing_wrm_rbutton
           
 
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
DspDialog(java.awt.Frame owner)
          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.
private  javax.swing.JPanel create_manual_panel()
          Creates the Manual DSP command panel.
private  javax.swing.JMenuBar create_menu_bar()
          Creates the menu bar for the DSP command window.
private  javax.swing.JTabbedPane create_tabbed_pane()
          Creates the "tabbed" panels portion of the window.
private  javax.swing.JPanel create_timing_panel()
          Creates the PCI/Timing/Utility DSP command panel.
private  javax.swing.JToolBar create_toolbar()
          Creates the tool bar for the DSP command window.
 java.lang.String get_manual_args_txtfld(int arg)
          Retrieves the specified argument textfield of the Manual DSP command panel.
 java.lang.String get_manual_command_txtfld()
          Retrieves the text in the command textfield of the Manual DSP command panel.
protected  void set_command_button_text(java.lang.String text, java.lang.String window)
          This method sets the send command button text.
 void set_manual_reply_txtfld(java.lang.String reply_string)
          Sets the text for the manual reply text field.
 void set_timing_reply_txtfld(java.lang.String reply_string)
          Sets the text for the pci-tim-util reply text field.
 
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

private java.awt.Container content_pane

dsp_tabbed_pane

private javax.swing.JTabbedPane dsp_tabbed_pane

dspDialog_listener

private DspDialogListener dspDialog_listener

timing_send_cmd_button

private javax.swing.JButton timing_send_cmd_button

manual_send_cmd_button

private javax.swing.JButton manual_send_cmd_button

timing_tdl_rbutton

private javax.swing.JRadioButton timing_tdl_rbutton

timing_rdm_rbutton

private javax.swing.JRadioButton timing_rdm_rbutton

timing_wrm_rbutton

private javax.swing.JRadioButton timing_wrm_rbutton

font

private java.awt.Font font

timing_reply_txtfld

private VTextField timing_reply_txtfld

manual_reply_txtfld

private VTextField manual_reply_txtfld

manual_command_txtfld

private VTextField manual_command_txtfld

manual_arg1_txtfld

private VTextField manual_arg1_txtfld

manual_arg2_txtfld

private VTextField manual_arg2_txtfld

manual_arg3_txtfld

private VTextField manual_arg3_txtfld

manual_arg4_txtfld

private VTextField manual_arg4_txtfld

manual_arg5_txtfld

private VTextField manual_arg5_txtfld

timing_data_txtfld

protected VTextField timing_data_txtfld

timing_address_txtfld

protected VTextField timing_address_txtfld

number_of_dsp_windows

public int number_of_dsp_windows
Constructor Detail

DspDialog

public DspDialog(java.awt.Frame owner)
Constructor. All of the window components are created here.
Parameters:
owner - The parent window to which this child window belongs.
Method Detail

create_tabbed_pane

private javax.swing.JTabbedPane create_tabbed_pane()
Creates the "tabbed" panels portion of the window.
Returns:
The created "tabbed pane" is returned.
See Also:
JTabbedPane

create_timing_panel

private javax.swing.JPanel create_timing_panel()
Creates the PCI/Timing/Utility DSP command panel.
Returns:
The created PCI/Timing/Utility DSP command panel is returned.
See Also:
JPanel

create_manual_panel

private javax.swing.JPanel create_manual_panel()
Creates the Manual DSP command panel.
Returns:
The created Manual DSP command panel is returned.
See Also:
JPanel

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

set_timing_reply_txtfld

public void set_timing_reply_txtfld(java.lang.String reply_string)
Sets the text for the pci-tim-util reply text field.
Parameters:
reply_string - The text.
See Also:
VTextField

set_manual_reply_txtfld

public void set_manual_reply_txtfld(java.lang.String reply_string)
Sets the text for the manual reply text field.
Parameters:
reply_string - The text.
See Also:
VTextField

set_command_button_text

protected void set_command_button_text(java.lang.String text,
                                       java.lang.String window)
This method sets the send command button text. Used to change the button to an abort button while sending commands.
Parameters:
text - The text to display on the expose button.
window - The window which contains the command button. May be one of the following: "TimUtilPci", "Manual".

get_manual_command_txtfld

public java.lang.String get_manual_command_txtfld()
Retrieves the text in the command textfield of the Manual DSP command panel.
Returns:
The String representation of the command is returned.
See Also:
VTextField

get_manual_args_txtfld

public java.lang.String get_manual_args_txtfld(int arg)
Retrieves the specified argument textfield of the Manual DSP command panel.
Returns:
The String representation of the argument is returned.
See Also:
VTextField

create_menu_bar

private javax.swing.JMenuBar create_menu_bar()
Creates the menu bar for the DSP command window.
Returns:
Returns the created menu bar.
See Also:
JMenuBar

create_toolbar

private javax.swing.JToolBar create_toolbar()
Creates the tool bar for the DSP command window.
Returns:
Returns the created tool bar.
See Also:
JToolBar