zeus.generator.code
Class TaskModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byzeus.generator.code.UtilityModel
          extended byzeus.generator.code.TaskModel
All Implemented Interfaces:
javax.swing.event.ChangeListener, java.util.EventListener, java.io.Serializable, javax.swing.table.TableModel

public class TaskModel
extends UtilityModel

See Also:
Serialized Form

Field Summary
protected static java.lang.String[] columnNames
           
protected  java.util.Vector data
           
(package private) static int EXTERNAL
           
(package private) static int GENERATE
           
protected  GenerationPlan genplan
           
(package private) static int NAME
           
(package private) static int STATUS
           
 
Fields inherited from class zeus.generator.code.UtilityModel
changed
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
TaskModel(GenerationPlan genplan)
           
 
Method Summary
 void addNewRow()
           
 int getColumnCount()
           
 java.lang.String getColumnName(int col)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int column)
           
 boolean isCellEditable(int row, int col)
           
protected  void refresh()
           
 void removeRows(int[] rows)
           
 void setValueAt(java.lang.Object aValue, int row, int column)
           
 
Methods inherited from class zeus.generator.code.UtilityModel
stateChanged, updateBoolean, updateString, updateString
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GENERATE

static final int GENERATE
See Also:
Constant Field Values

STATUS

static final int STATUS
See Also:
Constant Field Values

NAME

static final int NAME
See Also:
Constant Field Values

EXTERNAL

static final int EXTERNAL
See Also:
Constant Field Values

columnNames

protected static final java.lang.String[] columnNames

data

protected java.util.Vector data

genplan

protected GenerationPlan genplan
Constructor Detail

TaskModel

public TaskModel(GenerationPlan genplan)
Method Detail

addNewRow

public void addNewRow()
Specified by:
addNewRow in class UtilityModel

removeRows

public void removeRows(int[] rows)
Specified by:
removeRows in class UtilityModel

refresh

protected void refresh()
Specified by:
refresh in class UtilityModel

getColumnCount

public int getColumnCount()

getRowCount

public int getRowCount()

getColumnName

public java.lang.String getColumnName(int col)

isCellEditable

public boolean isCellEditable(int row,
                              int col)

getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)

setValueAt

public void setValueAt(java.lang.Object aValue,
                       int row,
                       int column)


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.