Simple Machine

ISA
Class InstructionRegion

java.lang.Object
  extended by java.util.Observable
      extended by Util.AbstractDataModel
          extended by ISA.Region
              extended by ISA.InstructionRegion
All Implemented Interfaces:
DataModel

public class InstructionRegion
extends Region

Region of instructions. DataModel columns: address, mac, asm, comment.


Nested Class Summary
 
Nested classes/interfaces inherited from class ISA.Region
Region.AssemblyString, Region.ByteLengthChangedListener, Region.LabelString, Region.Type
 
Constructor Summary
InstructionRegion(Memory aMemory)
           
 
Method Summary
 java.lang.Class getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 java.lang.String getColumnName(int columnIndex)
           
 java.lang.Object getValueAt(int rowIndex, int columnIndex)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
protected  void replace(java.util.Vector<MemoryCell> oldCells, java.util.Vector<MemoryCell> newCells)
           
 void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
           
 
Methods inherited from class ISA.Region
add, addByteLengthChangedListener, byteLength, canDeleteRow, canInsertRow, deleteRow, fireByteLengthChanged, getAddress, getCellForRowIndex, getRowCount, getRowIndexForAddress, getSavableRows, getType, insertRow, length
 
Methods inherited from class Util.AbstractDataModel
addUndoableEditListener, setValueAt, setValueAtByUser, setValueAtByUser, tellObservers, tellObservers
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Util.DataModel
addObserver
 

Constructor Detail

InstructionRegion

public InstructionRegion(Memory aMemory)
Method Detail

replace

protected void replace(java.util.Vector<MemoryCell> oldCells,
                       java.util.Vector<MemoryCell> newCells)
Overrides:
replace in class Region

getColumnClass

public java.lang.Class getColumnClass(int columnIndex)
Specified by:
getColumnClass in interface DataModel
Overrides:
getColumnClass in class AbstractDataModel

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface DataModel
Overrides:
getColumnCount in class AbstractDataModel

getColumnName

public java.lang.String getColumnName(int columnIndex)
Specified by:
getColumnName in interface DataModel
Overrides:
getColumnName in class AbstractDataModel

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int columnIndex)
Specified by:
getValueAt in interface DataModel
Overrides:
getValueAt in class AbstractDataModel

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Specified by:
isCellEditable in interface DataModel
Overrides:
isCellEditable in class AbstractDataModel

setValueAt

public void setValueAt(java.lang.Object aValue,
                       int rowIndex,
                       int columnIndex)
Specified by:
setValueAt in interface DataModel
Overrides:
setValueAt in class AbstractDataModel

Simple Machine