org.sf.cafebabe.gadget.bodyeditor
Class BodyTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.sf.cafebabe.gadget.bodyeditor.BodyTableModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.table.TableModel
public class BodyTableModel
- extends javax.swing.table.AbstractTableModel
- See Also:
- Serialized Form
|
Field Summary |
(package private) static java.lang.String[] |
names
|
| Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
|
Constructor Summary |
BodyTableModel(org.sf.classfile.MethodEntry methodEntry,
org.sf.classfile.ConstPool constPool)
|
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener, setValueAt |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
names
static final java.lang.String[] names
BodyTableModel
public BodyTableModel(org.sf.classfile.MethodEntry methodEntry,
org.sf.classfile.ConstPool constPool)
editInstruction
public void editInstruction(org.sf.classfile.instruction.Instruction instruction,
int pos)
addInstruction
public void addInstruction(org.sf.classfile.instruction.Instruction instruction,
int pos)
removeInstructions
public void removeInstructions(org.sf.classfile.instruction.Instruction[] instructions)
getOffset
public short getOffset(int pos)
isBodyChanged
public boolean isBodyChanged()
getCodeAttribute
public org.sf.classfile.attribute.CodeAttribute getCodeAttribute()
getInstruction
public org.sf.classfile.instruction.Instruction getInstruction(int pos)
getColumnCount
public int getColumnCount()
getRowCount
public int getRowCount()
getValueAt
public java.lang.Object getValueAt(int row,
int column)
getTooltipAt
public java.lang.String getTooltipAt(int row,
int column)
getColumnName
public java.lang.String getColumnName(int column)
- Specified by:
getColumnName in interface javax.swing.table.TableModel- Overrides:
getColumnName in class javax.swing.table.AbstractTableModel
getColumnClass
public java.lang.Class getColumnClass(int c)
- Specified by:
getColumnClass in interface javax.swing.table.TableModel- Overrides:
getColumnClass in class javax.swing.table.AbstractTableModel
isCellEditable
public boolean isCellEditable(int row,
int column)
- Specified by:
isCellEditable in interface javax.swing.table.TableModel- Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel
Copyright 2006 Dream Programs Inc.. All Rights Reserved.