|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel PIRL.Conductor.Maestro.Conductor_Matrix_Model
public class Conductor_Matrix_Model
A Conductor_Matrix_Model contains the data for a matrix of the number of Conductors at each Theater location.
Each column of the matrix table is for a theater location. Each row is for a Conductor name. Each cell contains the number of Conductors having the row name operating on the theater location of the column name.
Nested Class Summary | |
---|---|
class |
Conductor_Matrix_Model.Count
A Count contains table cell Conductor processing state count values. |
Field Summary | |
---|---|
static String |
CONDUCTORS_COLUMN_NAME
|
static int |
HALTED
Index for arrays of processing state information. |
static int |
HALTED_STATE
|
static String |
ID
Class identification name with source code version and date. |
static int |
POLLING
Index for arrays of processing state information. |
static int |
POLLING_STATE
|
static int |
RUN_TO_WAIT_STATE
|
static int |
RUNNING
Index for arrays of processing state information. |
static int |
RUNNING_STATE
|
static int |
TOTAL
Index for arrays of processing state information. |
static String |
TOTALS_NAME
|
static int |
UNKNOWN
Index for arrays of processing state information. |
static int |
WAITING
Index for arrays of processing state information. |
static int |
WAITING_STATE
|
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
Conductor_Matrix_Model(Conductor_Table_Model table_model)
|
Method Summary | |
---|---|
protected void |
Add_to(int column,
String theater_location,
int row,
String conductor_name,
int processing_state)
|
protected Conductor_Matrix_Model |
Add(Message identity)
|
int |
Column(Message identity)
Get the table column index for a Conductor identity. |
Conductor_Matrix_Model.Count |
Count(int row,
int column)
|
Conductor_Matrix_Model.Count |
Count(Message identity)
|
int |
findColumn(String theater_location)
|
int |
findRow(String conductor_name)
|
Class |
getColumnClass(int column)
|
int |
getColumnCount()
|
String |
getColumnName(int column)
|
int |
getRowCount()
|
Object |
getValueAt(int row,
int column)
|
protected void |
Rebuild(Conductor_Table_Model model)
|
protected void |
Removing(Message identity)
Adjust the model based on the removal of a Conductor identity. |
int |
Row(Message identity)
Get the table row index for a Conductor identity. |
void |
tableChanged(TableModelEvent event)
|
int |
Total(int row,
int column)
|
int |
Total(Message identity)
|
int |
Total(String theater_location,
String conductor_name)
|
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ID
public static final String CONDUCTORS_COLUMN_NAME
public static final String TOTALS_NAME
public static final int RUN_TO_WAIT_STATE
public static final int RUNNING_STATE
public static final int POLLING_STATE
public static final int WAITING_STATE
public static final int HALTED_STATE
public static final int RUNNING
public static final int POLLING
public static final int WAITING
public static final int HALTED
public static final int TOTAL
public static final int UNKNOWN
Constructor Detail |
---|
public Conductor_Matrix_Model(Conductor_Table_Model table_model)
Method Detail |
---|
public int findColumn(String theater_location)
findColumn
in class AbstractTableModel
public int findRow(String conductor_name)
public Class getColumnClass(int column)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public int getColumnCount()
getColumnCount
in interface TableModel
public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public int getRowCount()
getRowCount
in interface TableModel
public Object getValueAt(int row, int column)
getValueAt
in interface TableModel
public int Column(Message identity)
Theater location
not present in this table.public int Row(Message identity)
Conductor name
not present in this table.public Conductor_Matrix_Model.Count Count(int row, int column)
public Conductor_Matrix_Model.Count Count(Message identity)
public int Total(int row, int column)
public int Total(String theater_location, String conductor_name)
public int Total(Message identity)
protected Conductor_Matrix_Model Add(Message identity)
protected void Add_to(int column, String theater_location, int row, String conductor_name, int processing_state)
protected void Rebuild(Conductor_Table_Model model)
protected void Removing(Message identity)
If the identity can be associated with a table cell its
Count values are decremented
.
identity
- A Conductor identity Message.public void tableChanged(TableModelEvent event)
tableChanged
in interface TableModelListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |