Package ui

Class MonitorPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class MonitorPanel extends JPanel
This is the JPanel containing the monitor windows and command line. There are 3 windows : one (the one to the right) displays the instructions, e.g. when doing a "di" command. The other (to the left) displays data, e.g. when doing an "d" command. There is also a command line beneath these two windows, with a primitive 50 element command line history accessible through the up/down keystrokes.
See Also:
  • Constructor Details

    • MonitorPanel

      public MonitorPanel(Monitor moni, inifile.IniFile inifile)
      Creates the object.
      Parameters:
      moni - monitor that is monitoring the emulation thread.
      inifile - inifile with config options.
  • Method Details

    • getDataLogger

      public JTextArea getDataLogger()
      Gets the left monitor "wdw".
      Returns:
      the javax.swing.JTextArea corresponds to the left wdw.
    • getRegLogger

      public JTextArea getRegLogger()
      Gets the right monitor wdw.
      Returns:
      the javax.swing.JTextArea corresponds to the right wdw.
    • getInputWindow

      public JTextField getInputWindow()
      Gets the command line wdw.
      Returns:
      the command line "wdw", a javax.swing.JTextField.
    • setDividerLocation

      public void setDividerLocation(int temp)
      Sets the divider location in the the split panel.
      Parameters:
      temp - the new divider location in the split panel.