public class PoliciesTableModel extends AbstractTableModel
listenerList
Constructor and Description |
---|
PoliciesTableModel() |
Modifier and Type | Method and Description |
---|---|
void |
addPolicy(String name,
String params) |
List<yartiss.engine.simulation.ISchedulingPolicy> |
getAll(long siDuration) |
String[] |
getAvailablePolicies() |
Class<?> |
getColumnClass(int column) |
int |
getColumnCount() |
String |
getColumnName(int col) |
yartiss.engine.simulation.ISchedulingPolicy |
getPolicy(int index,
long siDuration) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int row,
int col) |
void |
removeRow(int selectedRow) |
void |
setValueAt(Object value,
int rowIndex,
int colIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public int getRowCount()
public int getColumnCount()
public Object getValueAt(int rowIndex, int columnIndex)
public boolean isCellEditable(int row, int col)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public String getColumnName(int col)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public Class<?> getColumnClass(int column)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public void setValueAt(Object value, int rowIndex, int colIndex)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
public String[] getAvailablePolicies()
public void removeRow(int selectedRow)
public yartiss.engine.simulation.ISchedulingPolicy getPolicy(int index, long siDuration)
public List<yartiss.engine.simulation.ISchedulingPolicy> getAll(long siDuration)
Copyright © 2012. All Rights Reserved.