hades.models.mips.gui
Interface MemoryView

All Known Implementing Classes:
MemoryDisView, MemoryHexView

public interface MemoryView

There are different ways to display Memory objects all these must be conform with this MemoryView interface in order to allow it MemoryViewHandler to display more than one view per Memory and to keep them all consistent


Method Summary
 java.awt.Frame getFrame()
          get the frame the MemoryView is visible in
 MemoryViewHandler getMemoryViewHandler()
          get the MemoryViewHandler
 void init()
          init the view, does not paint anything
 void smartUpdate()
          repaint only if parts have changed
 void update()
          repaint everything
 

Method Detail

init

public void init()
init the view, does not paint anything


update

public void update()
repaint everything


smartUpdate

public void smartUpdate()
repaint only if parts have changed


getFrame

public java.awt.Frame getFrame()
get the frame the MemoryView is visible in


getMemoryViewHandler

public MemoryViewHandler getMemoryViewHandler()
get the MemoryViewHandler