com.gsoft.titration.client
Class ProjectListModel

java.lang.Object
  |
  +--javax.swing.table.AbstractTableModel
        |
        +--com.gsoft.titration.client.ProjectListModel

class ProjectListModel
extends AbstractTableModel


Field Summary
 private final String[]columnNames
           
 private Vectordata
           
 private booleanfailedSet
           

Fields inherited from class javax.swing.table.AbstractTableModel
listenerList

Constructor Summary
ProjectListModel()
           

Method Summary
 voidaddRow(ProjectItem a)
           
 VectorfetchVector()
           
 ClassgetColumnClass(int columnIndex)
           
 intgetColumnCount()
           
 StringgetColumnName(int column)
           
 intgetRowCount()
           
 intgetSize()
           
 ProjectItemgetTerminalData(int x)
           
 ObjectgetValueAt(int row, int column)
           
 booleanisCellEditable(int rowIndex, int columnIndex)
           
 Object[]moveDown(int row)
           
 Object[]moveUp(int row)
           
 voidremoveAll()
           
 voidremoveRow(int x)
           
 voidsetValueAt(Object aValue, int rowIndex, int columnIndex)
           

Methods inherited from class javax.swing.table.AbstractTableModel
findColumn, addTableModelListener, removeTableModelListener, fireTableDataChanged, fireTableStructureChanged, fireTableRowsInserted, fireTableRowsUpdated, fireTableRowsDeleted, fireTableCellUpdated, fireTableChanged, getListeners

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize

Field Detail

columnNames

private final String[] columnNames

data

private Vector data

failedSet

private boolean failedSet
Constructor Detail

ProjectListModel

public ProjectListModel()
Method Detail

addRow

public void addRow(ProjectItem a)

fetchVector

public Vector fetchVector()

getColumnClass

public Class getColumnClass(int columnIndex)

getColumnCount

public int getColumnCount()

getColumnName

public String getColumnName(int column)

getRowCount

public int getRowCount()

getSize

public int getSize()

getTerminalData

public ProjectItem getTerminalData(int x)

getValueAt

public Object getValueAt(int row, int column)

isCellEditable

public boolean isCellEditable(int rowIndex, int columnIndex)

moveDown

public Object[] moveDown(int row)

moveUp

public Object[] moveUp(int row)

removeAll

public void removeAll()

removeRow

public void removeRow(int x)

setValueAt

public void setValueAt(Object aValue, int rowIndex, int columnIndex)