class ProgressModel extends AbstractTableModel
| Modifier and Type | Class and Description |
|---|---|
private static interface |
ProgressModel.Column |
static class |
ProgressModel.ProcessColumn |
static class |
ProgressModel.TitleColumn |
| Modifier and Type | Field and Description |
|---|---|
private ArrayList<ProgressModel.Column> |
columns |
private int |
rowCount |
private static long |
serialVersionUID |
listenerList| Constructor and Description |
|---|
ProgressModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(ProgressModel.Column column) |
ProgressModel.Column |
getColumn(int col) |
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
int |
getRowCount() |
Object |
getValueAt(int row,
int col) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
setBackgroundColor(Color color,
int x,
int y) |
void |
setEditable(boolean b) |
void |
setForegroundColor(Color color,
int x,
int y) |
void |
setProgress(int value,
int column,
int row) |
void |
setText(String text,
int column,
int row) |
void |
setTextColor(Color color,
int x,
int y) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, getTableModelListeners, removeTableModelListener, setValueAtprivate static final long serialVersionUID
private ArrayList<ProgressModel.Column> columns
private int rowCount
public void addColumn(ProgressModel.Column column)
public void setProgress(int value,
int column,
int row)
public void setText(String text, int column, int row)
public void setTextColor(Color color, int x, int y)
public void setForegroundColor(Color color, int x, int y)
public void setBackgroundColor(Color color, int x, int y)
public void setEditable(boolean b)
public int getColumnCount()
public int getRowCount()
public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic Class<?> getColumnClass(int columnIndex)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic Object getValueAt(int row, int col)
public ProgressModel.Column getColumn(int col)