ISA
Class InstructionRegion
java.lang.Object
java.util.Observable
Util.AbstractDataModel
ISA.Region
ISA.InstructionRegion
- All Implemented Interfaces:
- DataModel
public class InstructionRegion
- extends Region
Region of instructions.
DataModel columns: address, mac, asm, comment.
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 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 |
InstructionRegion
public InstructionRegion(Memory aMemory)
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