hades.models.rtlib.arith
Class DcoreALU.ConfigDialog

java.lang.Object
  extended byhades.models.rtlib.arith.DcoreALU.ConfigDialog
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
DcoreALU

protected class DcoreALU.ConfigDialog
extends java.lang.Object
implements java.awt.event.ActionListener


Field Summary
protected  javax.swing.JButton applyButton
           
protected  javax.swing.JPanel buttonPanel
           
protected  javax.swing.JButton cancelButton
           
protected  javax.swing.JPanel choicePanel
           
protected  javax.swing.JFrame configFrame
           
protected  javax.swing.JTextField delayTF
           
protected  javax.swing.JTextField nameTF
           
protected  javax.swing.JButton okButton
           
protected  javax.swing.JComboBox[] operationChoice
           
protected  javax.swing.JPanel textFieldsPanel
           
protected  javax.swing.JTextField widthTF
           
 
Constructor Summary
DcoreALU.ConfigDialog()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 void applyValues()
           
protected  void buildButtonPanel()
           
protected  void buildOpcodeChoicePanel()
          build a two-column grid of operation choices.
protected  void buildTextFieldsPanel()
           
 java.awt.Frame getFrame()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configFrame

protected javax.swing.JFrame configFrame

textFieldsPanel

protected javax.swing.JPanel textFieldsPanel

choicePanel

protected javax.swing.JPanel choicePanel

buttonPanel

protected javax.swing.JPanel buttonPanel

nameTF

protected javax.swing.JTextField nameTF

widthTF

protected javax.swing.JTextField widthTF

delayTF

protected javax.swing.JTextField delayTF

okButton

protected javax.swing.JButton okButton

applyButton

protected javax.swing.JButton applyButton

cancelButton

protected javax.swing.JButton cancelButton

operationChoice

protected javax.swing.JComboBox[] operationChoice
Constructor Detail

DcoreALU.ConfigDialog

public DcoreALU.ConfigDialog()
Method Detail

getFrame

public java.awt.Frame getFrame()

buildTextFieldsPanel

protected void buildTextFieldsPanel()

buildOpcodeChoicePanel

protected void buildOpcodeChoicePanel()
build a two-column grid of operation choices. I would prefer a column-oriented layout instead of row-oriented, but this is not easily possible given the stupid (broken) GridLayout.


buildButtonPanel

protected void buildButtonPanel()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

applyValues

public void applyValues()