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
-
ViewManager(BrowserCore)
- ViewManager with BrowserCore support
-
ViewManager(HWSystem)
- ViewManager without BrowserCore support
-
ViewManager(HWSystem, Node)
- ViewManager without BrowserCore support
-
addCircuitView(Cell)
- addCircuitView, create a new circuit view and register it
-
addCircuitView(Cell, int, int, int, int)
- addCircuitView, create a new circuit view and register it
-
addCircuitView(String)
- addCircuitView, create a new circuit view and register it
-
addCircuitView(String, int, int, int, int)
- addCircuitView, create a new circuit view and register it
-
addClassView(CLInterpreter, Object)
- addClassview, create new ClassInfo viewer and register it
-
addClassView(Object)
- addClassview, create new ClassInfo viewer and register it
-
addMemoryview(String)
- addMemoryView, create a new memory view and register it
-
destroyCircuitView(Cell)
- destroyCircuitView, kill then unregister circuit view
-
destroyCircuitView(String)
- destroyCircuitView, kill then unregister circuit view
-
destroyClassView(String)
- destroyClassView, kill and unregister classView
-
destroyMemoryView(String)
- destroyMemoryView, kill then unregister memory view
-
getCurrentCycle()
- getCurrentCycle, return current simulation cycle
-
observerReset()
-
-
observerUpdate()
-
-
registerObserver(Node)
- Register ViewManager's Observer with current design.
-
removeCircuitView(Cell)
- removeCircuitView, unregister circuit view
-
removeCircuitView(String)
- removeCircuitView, unregister circuit view
-
removeClassView(String)
- removeClassView, unregister classView
-
removeMemoryView(String)
- removeMemoryView, unregister memory view
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
ViewManager
public ViewManager(HWSystem hwSystem)
- ViewManager without BrowserCore support
- Parameters:
- hwSystem - Reference to HWSystem which provides
access to all essencial system commands
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.
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
addCircuitView
public boolean addCircuitView(Cell cCell)
- addCircuitView, create a new circuit view and register it
- Parameters:
- cCell - The Cell to view
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
addCircuitView
public boolean addCircuitView(String cellName)
- addCircuitView, create a new circuit view and register it
- Parameters:
- cellName - The Cell to view
removeCircuitView
public void removeCircuitView(String cellName)
- removeCircuitView, unregister circuit view
- Parameters:
- cellName - The cell to remove
removeCircuitView
public void removeCircuitView(Cell cell)
- removeCircuitView, unregister circuit view
- Parameters:
- cell - The cell to remove
destroyCircuitView
public void destroyCircuitView(String cellName)
- destroyCircuitView, kill then unregister circuit view
- Parameters:
- cellName - The cell to kill and remove
destroyCircuitView
public void destroyCircuitView(Cell cell)
- destroyCircuitView, kill then unregister circuit view
- Parameters:
- cell - The cell to kill and remove
addMemoryview
public boolean addMemoryview(String cellName)
- addMemoryView, create a new memory view and register it
- Parameters:
- cellName - The Cell to view
removeMemoryView
public void removeMemoryView(String cellName)
- removeMemoryView, unregister memory view
- Parameters:
- cellName - Cell to unregister
destroyMemoryView
public void destroyMemoryView(String cellName)
- destroyMemoryView, kill then unregister memory view
- Parameters:
- cellName - Cell to kill and unregister
addClassView
public boolean addClassView(Object toView)
- addClassview, create new ClassInfo viewer and register it
- Parameters:
- cellName - The cell the view
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
removeClassView
public void removeClassView(String cellName)
- removeClassView, unregister classView
- Parameters:
- cellName - Cell to unregister
destroyClassView
public void destroyClassView(String cellName)
- destroyClassView, kill and unregister classView
- Parameters:
- cellName - Cell to kill and unregister
getCurrentCycle
public int getCurrentCycle()
- getCurrentCycle, return current simulation cycle
- Returns:
- current cycle number
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
observerUpdate
public void observerUpdate()
observerReset
public void observerReset()
All Packages Class Hierarchy This Package Previous Next Index