ds.ov2.gui
Class Ov_demo_gui

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by javax.swing.JFrame
                      extended by ds.ov2.gui.Ov_demo_gui
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class Ov_demo_gui
extends JFrame

netbeans generated code for the main window of the graphical demonstrator. This class contains only the code to create the main window with all its components and the main method of the demonstrator. The actions that are performed from the main window are in Gui_actions.

For a description of the command line arguments and the non-standard accelerator keys see Ov_demo.

See Also:
Serialized Form
CPP Preprocessing
no cpp preprocessing needed
Execution Environment:
host
Author:
Hendrik Tews
Version:
$Revision: 1.19 $
Last Commit:
$Date: 2010-02-18 14:02:09 $ by $Author: tews $

Nested Class Summary
static class Ov_demo_gui.Applet_type_item
          Wrapper of Applet_type for the applet-choice combo box.
 
Nested classes/interfaces inherited from class javax.swing.JFrame
JFrame.AccessibleJFrame
 
Nested classes/interfaces inherited from class java.awt.Frame
Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
(package private)  DefaultComboBoxModel applet_choice_combo_model
          Model for the applet choice combo box.
private  JLabel attribute_label
           
(package private)  JSpinner attribute_number_spinner
           
private  ButtonGroup buttonGroup1
           
(package private)  JTextPane card_log_text_pane
           
private  JPanel entry_gate_tab
           
(package private)  JButton entry_run_button
           
private  JLabel exp_size_label
           
(package private)  JSpinner exp_size_spinner
           
(package private)  JCheckBox gate_run_automatically_check_box
           
private  Gui_actions gui_actions
          Actions instance.
private  JPanel jPanel1
           
private  JPanel jPanel2
           
private  JPanel jPanel3
           
private  JPanel jPanel4
           
private  JPanel jPanel5
           
private  JScrollPane jScrollPane1
           
(package private)  JSpinner key_size_spinner
           
(package private)  JCheckBox lenstra_exponent
           
private  Ov_demo ov_demo
          Root class instance for the application logic.
(package private)  JRadioButton ptls_automaton_constant_attributes_radio_button
           
(package private)  JRadioButton ptls_automaton_random_attributes_radio_button
           
private  JPanel ptls_automaton_tab
           
(package private)  JButton ptls_office_card_status_delete_button
           
(package private)  JButton ptls_office_install_all_button
           
(package private)  JButton ptls_office_install_button
           
(package private)  JButton ptls_office_personalize_button
           
private  JCheckBox ptls_office_random_attributes_box
           
(package private)  JCheckBox ptls_office_random_bases_box
           
(package private)  JButton ptls_office_reset_button
           
(package private)  JPanel ptls_office_tab
           
 JComboBox ptls_params_applet_combobox
           
private  JButton ptls_params_load_button
           
private  JButton ptls_params_new_button
           
(package private)  JButton ptls_params_save_button
           
(package private)  JButton ptls_run_button
           
(package private)  JTabbedPane role_tabbed_pane
           
private  JLabel rsa_key_size_label
           
static long serialVersionUID
          serialVersionUID for Serializable interface
(package private)  JLabel status_line
           
(package private)  JToolBar tool_bar
           
private  JButton toolbar_config_button
           
private  JButton toolbar_exit_button
           
private  JButton toolbar_progress_button
           
 
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
Ov_demo_gui(String[] args)
          Creates new form Ov_demo_gui
 
Method Summary
private  void entry_gate_tabComponentShown(ComponentEvent evt)
           
private  void entry_run_buttonActionPerformed(ActionEvent evt)
           
private  void formComponentShown(ComponentEvent evt)
           
private  void gate_run_automatically_check_boxActionPerformed(ActionEvent evt)
           
private  void initComponents()
          This method is called from within the constructor to initialize the form.
private  void key_size_spinnerStateChanged(ChangeEvent evt)
           
private  void lenstra_exponentItemStateChanged(ItemEvent evt)
           
static void main(String[] args)
           
private  void ptls_automaton_tabComponentShown(ComponentEvent evt)
           
private  void ptls_office_card_status_delete_buttonActionPerformed(ActionEvent evt)
           
private  void ptls_office_install_all_buttonActionPerformed(ActionEvent evt)
           
private  void ptls_office_install_buttonActionPerformed(ActionEvent evt)
           
private  void ptls_office_personalize_buttonActionPerformed(ActionEvent evt)
           
private  void ptls_office_reset_buttonActionPerformed(ActionEvent evt)
           
private  void ptls_office_tabComponentShown(ComponentEvent evt)
           
private  void ptls_params_applet_comboboxItemStateChanged(ItemEvent evt)
           
private  void ptls_params_load_buttonActionPerformed(ActionEvent evt)
           
private  void ptls_params_new_buttonActionPerformed(ActionEvent evt)
           
private  void ptls_params_save_buttonActionPerformed(ActionEvent evt)
           
private  void ptls_run_buttonActionPerformed(ActionEvent evt)
           
private  void toolbar_config_buttonActionPerformed(ActionEvent evt)
           
private  void toolbar_exit_buttonActionPerformed(ActionEvent evt)
           
private  void toolbar_progress_buttonActionPerformed(ActionEvent evt)
           
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
 
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

serialVersionUID

public static final long serialVersionUID
serialVersionUID for Serializable interface

See Also:
Constant Field Values

ov_demo

private final Ov_demo ov_demo
Root class instance for the application logic.


gui_actions

private final Gui_actions gui_actions
Actions instance.


applet_choice_combo_model

DefaultComboBoxModel applet_choice_combo_model
Model for the applet choice combo box. Contains the two OV-chip applets.


attribute_label

private JLabel attribute_label

attribute_number_spinner

JSpinner attribute_number_spinner

buttonGroup1

private ButtonGroup buttonGroup1

card_log_text_pane

JTextPane card_log_text_pane

entry_gate_tab

private JPanel entry_gate_tab

entry_run_button

JButton entry_run_button

exp_size_label

private JLabel exp_size_label

exp_size_spinner

JSpinner exp_size_spinner

gate_run_automatically_check_box

JCheckBox gate_run_automatically_check_box

jPanel1

private JPanel jPanel1

jPanel2

private JPanel jPanel2

jPanel3

private JPanel jPanel3

jPanel4

private JPanel jPanel4

jPanel5

private JPanel jPanel5

jScrollPane1

private JScrollPane jScrollPane1

key_size_spinner

JSpinner key_size_spinner

lenstra_exponent

JCheckBox lenstra_exponent

ptls_automaton_constant_attributes_radio_button

JRadioButton ptls_automaton_constant_attributes_radio_button

ptls_automaton_random_attributes_radio_button

JRadioButton ptls_automaton_random_attributes_radio_button

ptls_automaton_tab

private JPanel ptls_automaton_tab

ptls_office_card_status_delete_button

JButton ptls_office_card_status_delete_button

ptls_office_install_all_button

JButton ptls_office_install_all_button

ptls_office_install_button

JButton ptls_office_install_button

ptls_office_personalize_button

JButton ptls_office_personalize_button

ptls_office_random_attributes_box

private JCheckBox ptls_office_random_attributes_box

ptls_office_random_bases_box

JCheckBox ptls_office_random_bases_box

ptls_office_reset_button

JButton ptls_office_reset_button

ptls_office_tab

JPanel ptls_office_tab

ptls_params_applet_combobox

public JComboBox ptls_params_applet_combobox

ptls_params_load_button

private JButton ptls_params_load_button

ptls_params_new_button

private JButton ptls_params_new_button

ptls_params_save_button

JButton ptls_params_save_button

ptls_run_button

JButton ptls_run_button

role_tabbed_pane

JTabbedPane role_tabbed_pane

rsa_key_size_label

private JLabel rsa_key_size_label

status_line

JLabel status_line

tool_bar

JToolBar tool_bar

toolbar_config_button

private JButton toolbar_config_button

toolbar_exit_button

private JButton toolbar_exit_button

toolbar_progress_button

private JButton toolbar_progress_button
Constructor Detail

Ov_demo_gui

public Ov_demo_gui(String[] args)
Creates new form Ov_demo_gui

Method Detail

initComponents

private void initComponents()
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.


toolbar_config_buttonActionPerformed

private void toolbar_config_buttonActionPerformed(ActionEvent evt)

ptls_office_tabComponentShown

private void ptls_office_tabComponentShown(ComponentEvent evt)

entry_gate_tabComponentShown

private void entry_gate_tabComponentShown(ComponentEvent evt)

ptls_automaton_tabComponentShown

private void ptls_automaton_tabComponentShown(ComponentEvent evt)

ptls_office_install_buttonActionPerformed

private void ptls_office_install_buttonActionPerformed(ActionEvent evt)

toolbar_exit_buttonActionPerformed

private void toolbar_exit_buttonActionPerformed(ActionEvent evt)

key_size_spinnerStateChanged

private void key_size_spinnerStateChanged(ChangeEvent evt)

lenstra_exponentItemStateChanged

private void lenstra_exponentItemStateChanged(ItemEvent evt)

ptls_params_load_buttonActionPerformed

private void ptls_params_load_buttonActionPerformed(ActionEvent evt)

ptls_params_save_buttonActionPerformed

private void ptls_params_save_buttonActionPerformed(ActionEvent evt)

ptls_params_new_buttonActionPerformed

private void ptls_params_new_buttonActionPerformed(ActionEvent evt)

ptls_office_install_all_buttonActionPerformed

private void ptls_office_install_all_buttonActionPerformed(ActionEvent evt)

ptls_office_card_status_delete_buttonActionPerformed

private void ptls_office_card_status_delete_buttonActionPerformed(ActionEvent evt)

ptls_office_personalize_buttonActionPerformed

private void ptls_office_personalize_buttonActionPerformed(ActionEvent evt)

formComponentShown

private void formComponentShown(ComponentEvent evt)

ptls_run_buttonActionPerformed

private void ptls_run_buttonActionPerformed(ActionEvent evt)

entry_run_buttonActionPerformed

private void entry_run_buttonActionPerformed(ActionEvent evt)

gate_run_automatically_check_boxActionPerformed

private void gate_run_automatically_check_boxActionPerformed(ActionEvent evt)

ptls_params_applet_comboboxItemStateChanged

private void ptls_params_applet_comboboxItemStateChanged(ItemEvent evt)

toolbar_progress_buttonActionPerformed

private void toolbar_progress_buttonActionPerformed(ActionEvent evt)

ptls_office_reset_buttonActionPerformed

private void ptls_office_reset_buttonActionPerformed(ActionEvent evt)

main

public static void main(String[] args)
Parameters:
args - the command line arguments