All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class byucc.jhdl.apps.Jab.ViewManager

java.lang.Object
   |
   +----byucc.jhdl.apps.Jab.ViewManager

public class ViewManager
extends Object
implements ObserverListener

Constructor Index

 o ViewManager(BrowserCore)
ViewManager with BrowserCore support
 o ViewManager(HWSystem)
ViewManager without BrowserCore support
 o ViewManager(HWSystem, Node)
ViewManager without BrowserCore support

Method Index

 o addCircuitView(Cell)
addCircuitView, create a new circuit view and register it
 o addCircuitView(Cell, int, int, int, int)
addCircuitView, create a new circuit view and register it
 o addCircuitView(String)
addCircuitView, create a new circuit view and register it
 o addCircuitView(String, int, int, int, int)
addCircuitView, create a new circuit view and register it
 o addClassView(CLInterpreter, Object)
addClassview, create new ClassInfo viewer and register it
 o addClassView(Object)
addClassview, create new ClassInfo viewer and register it
 o addMemoryview(String)
addMemoryView, create a new memory view and register it
 o destroyCircuitView(Cell)
destroyCircuitView, kill then unregister circuit view
 o destroyCircuitView(String)
destroyCircuitView, kill then unregister circuit view
 o destroyClassView(String)
destroyClassView, kill and unregister classView
 o destroyMemoryView(String)
destroyMemoryView, kill then unregister memory view
 o getCurrentCycle()
getCurrentCycle, return current simulation cycle
 o observerReset()
 o observerUpdate()
 o registerObserver(Node)
Register ViewManager's Observer with current design.
 o removeCircuitView(Cell)
removeCircuitView, unregister circuit view
 o removeCircuitView(String)
removeCircuitView, unregister circuit view
 o removeClassView(String)
removeClassView, unregister classView
 o removeMemoryView(String)
removeMemoryView, unregister memory view

Constructors

 o ViewManager
 public ViewManager(BrowserCore bCore)
ViewManager with BrowserCore support

Parameters:
interp - Reference to CLInterpreter which provides access to all to essencial system commands, the interpreter assures that the commands made will be logged with the interpreter
 o ViewManager
 public ViewManager(HWSystem hwSystem)
ViewManager without BrowserCore support

Parameters:
hwSystem - Reference to HWSystem which provides access to all essencial system commands
 o ViewManager
 public ViewManager(HWSystem hwSystem,
                    Node rNode)
ViewManager without BrowserCore support

Parameters:
hwSystem - Reference to HWSystem which provides access to all essencial system commands
rNode - A Node in the circuit you want to use the View Manager with.

Methods

 o addCircuitView
 public boolean addCircuitView(Cell cCell,
                               int locx,
                               int locy,
                               int sizex,
                               int sizey)
addCircuitView, create a new circuit view and register it

Parameters:
cCell - The Cell to view
locx - Initial x-axis location of the window
locy - Initial y-axis location of the window
sizex - x-axis size
sizey - y-axis size
 o addCircuitView
 public boolean addCircuitView(Cell cCell)
addCircuitView, create a new circuit view and register it

Parameters:
cCell - The Cell to view
 o addCircuitView
 public boolean addCircuitView(String cellName,
                               int locx,
                               int locy,
                               int sizex,
                               int sizey)
addCircuitView, create a new circuit view and register it

Parameters:
cellName - The Cell to view
locx - Initial x-axis location of the window
locy - Initial y-axis location of the window
sizex - x-axis size
sizey - y-axis size
 o addCircuitView
 public boolean addCircuitView(String cellName)
addCircuitView, create a new circuit view and register it

Parameters:
cellName - The Cell to view
 o removeCircuitView
 public void removeCircuitView(String cellName)
removeCircuitView, unregister circuit view

Parameters:
cellName - The cell to remove
 o removeCircuitView
 public void removeCircuitView(Cell cell)
removeCircuitView, unregister circuit view

Parameters:
cell - The cell to remove
 o destroyCircuitView
 public void destroyCircuitView(String cellName)
destroyCircuitView, kill then unregister circuit view

Parameters:
cellName - The cell to kill and remove
 o destroyCircuitView
 public void destroyCircuitView(Cell cell)
destroyCircuitView, kill then unregister circuit view

Parameters:
cell - The cell to kill and remove
 o addMemoryview
 public boolean addMemoryview(String cellName)
addMemoryView, create a new memory view and register it

Parameters:
cellName - The Cell to view
 o removeMemoryView
 public void removeMemoryView(String cellName)
removeMemoryView, unregister memory view

Parameters:
cellName - Cell to unregister
 o destroyMemoryView
 public void destroyMemoryView(String cellName)
destroyMemoryView, kill then unregister memory view

Parameters:
cellName - Cell to kill and unregister
 o addClassView
 public boolean addClassView(Object toView)
addClassview, create new ClassInfo viewer and register it

Parameters:
cellName - The cell the view
 o addClassView
 public boolean addClassView(CLInterpreter interp,
                             Object toView)
addClassview, create new ClassInfo viewer and register it

Parameters:
cellName - The cell the view
interp - Interpreter to allow the class access to Jab commands
 o removeClassView
 public void removeClassView(String cellName)
removeClassView, unregister classView

Parameters:
cellName - Cell to unregister
 o destroyClassView
 public void destroyClassView(String cellName)
destroyClassView, kill and unregister classView

Parameters:
cellName - Cell to kill and unregister
 o getCurrentCycle
 public int getCurrentCycle()
getCurrentCycle, return current simulation cycle

Returns:
current cycle number
 o registerObserver
 public void registerObserver(Node rNode)
Register ViewManager's Observer with current design. Must be re-registered each time a new design in loaded into the system.

Parameters:
rNode - A Node in the current design
 o observerUpdate
 public void observerUpdate()
 o observerReset
 public void observerReset()

All Packages  Class Hierarchy  This Package  Previous  Next  Index