com.github.croesch.micro_debug.gui.components.view
Class MainView

java.lang.Object
  extended by com.github.croesch.micro_debug.gui.components.view.MainView

public final class MainView
extends Object

The main view of the GUI of the debugger. Contains the assembly of the main GUI components that build the view.

Since:
Date: Apr 11, 2012
Author:
croesch

Constructor Summary
MainView(String name, com.github.croesch.micro_debug.mic1.Mic1 proc, com.github.croesch.micro_debug.debug.BreakpointManager bpm)
          Constructs the main view with the given name.
 
Method Summary
 MacroCodeView getMacroCodeView()
          Returns the component responsible for visualising the macro code.
 MemoryView getMemoryView()
          Returns the component responsible for visualising the Memory s values.
 MicroCodeView getMicroCodeView()
          Returns the component responsible for visualising the micro code.
 RegisterView getRegisterView()
          Returns the component responsible for visualising the Register s.
 JComponent getViewComponent()
          Returns the component that contains the whole view.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainView

public MainView(String name,
                com.github.croesch.micro_debug.mic1.Mic1 proc,
                com.github.croesch.micro_debug.debug.BreakpointManager bpm)
Constructs the main view with the given name.

Parameters:
name - the name of the view to set
proc - the processor being debugged
bpm - the model for breakpoints of this debugger
Since:
Date: Apr 11, 2012
Method Detail

getViewComponent

@NotNull
public JComponent getViewComponent()
Returns the component that contains the whole view.

Returns:
a JComponent containing the whole view.
Since:
Date: Apr 11, 2012

getRegisterView

@NotNull
public RegisterView getRegisterView()
Returns the component responsible for visualising the Register s.

Returns:
the JComponent containing the view visualising the Registers.
Since:
Date: Apr 11, 2012

getMemoryView

@NotNull
public MemoryView getMemoryView()
Returns the component responsible for visualising the Memory s values.

Returns:
the JComponent containing the view visualising the Memorys values.
Since:
Date: Apr 16, 2012

getMicroCodeView

@NotNull
public MicroCodeView getMicroCodeView()
Returns the component responsible for visualising the micro code.

Returns:
the JComponent containing the view visualising the micro code.
Since:
Date: May 11, 2012

getMacroCodeView

@NotNull
public MacroCodeView getMacroCodeView()
Returns the component responsible for visualising the macro code.

Returns:
the JComponent containing the view visualising the macro code.
Since:
Date: May 11, 2012


Copyright © 2012. All Rights Reserved.