ami.gui
Class AMITableModelHashtableImpl

java.lang.Object
  |
  +--ami.gui.AMITableModelImpl
        |
        +--ami.gui.AMITableModelHashtableImpl

class AMITableModelHashtableImpl
extends AMITableModelImpl

AMILocalParameter hashtable implementation of the model


Field Summary
(package private)  Vector vData
          storage Vector -> n vector, one for each row
 
Fields inherited from class ami.gui.AMITableModelImpl
atm
 
Constructor Summary
(package private) AMITableModelHashtableImpl(AMITableModel atm)
          Constructor : initialize the AMITableModel to use
 
Method Summary
 void addRow()
          Add a row
 void addRow(Object o)
          Add a row with data Assumes that the object is a vector
 void cleanRow(int[] iRows, int[] iColumns)
          Initialize all values of a set of rows
 int getRowCount()
          put your documentation comment here
 Object getValueAt(int row, int col)
          put your documentation comment here
 void refreshStatus()
           
 void removeRow(int[] iSelection)
          Remove an interval of rows
 void setValueAt(Object value, int row, int col)
          put your documentation comment here
 
Methods inherited from class ami.gui.AMITableModelImpl
isCellEditable, setATM
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

vData

Vector vData
storage

Vector -> n vector, one for each row

Constructor Detail

AMITableModelHashtableImpl

AMITableModelHashtableImpl(AMITableModel atm)
Constructor : initialize the AMITableModel to use
Method Detail

getRowCount

public int getRowCount()
put your documentation comment here
Overrides:
getRowCount in class AMITableModelImpl
Returns:
 

getValueAt

public Object getValueAt(int row,
                         int col)
put your documentation comment here
Overrides:
getValueAt in class AMITableModelImpl
Parameters:
row -  
col -  
Returns:
 

setValueAt

public void setValueAt(Object value,
                       int row,
                       int col)
put your documentation comment here
Overrides:
setValueAt in class AMITableModelImpl
Parameters:
value -  
row -  
col -  

removeRow

public void removeRow(int[] iSelection)
Remove an interval of rows
Overrides:
removeRow in class AMITableModelImpl

cleanRow

public void cleanRow(int[] iRows,
                     int[] iColumns)
Description copied from class: AMITableModelImpl
Initialize all values of a set of rows
Overrides:
cleanRow in class AMITableModelImpl

addRow

public void addRow()
Add a row
Overrides:
addRow in class AMITableModelImpl

addRow

public void addRow(Object o)
Add a row with data

Assumes that the object is a vector

Overrides:
addRow in class AMITableModelImpl

refreshStatus

public void refreshStatus()
Overrides:
refreshStatus in class AMITableModelImpl