Public Member Functions

alma.acs.alarm.source.gui.SourceTableModel Class Reference

Inherits javax::swing::table::AbstractTableModel.

List of all members.

Public Member Functions

String getColumnName (int column)
int getColumnCount ()
int getRowCount ()
Object getValueAt (int rowIndex, int columnIndex)
synchronized void addFS (FaultState faultState)
synchronized void clear ()
void showCompact (boolean compact)

Member Function Documentation

synchronized void alma.acs.alarm.source.gui.SourceTableModel.addFS ( FaultState  faultState  ) 

Add an alarm to the model.

Add an alarm to the vector of fault states. If the alarms in memory are more then the limit, an alarm is deleted from the vector.

Parameters:
faultState The alarm received
See also:
MAX_FAULTSTATES

Referenced by alma.acs.alarm.source.gui.SourceTable.faultStateReceived().

synchronized void alma.acs.alarm.source.gui.SourceTableModel.clear (  ) 

Clear the list of fault states shown in the table

Referenced by alma.acs.alarm.source.gui.SourceTable.clear().

int alma.acs.alarm.source.gui.SourceTableModel.getColumnCount (  ) 
String alma.acs.alarm.source.gui.SourceTableModel.getColumnName ( int  column  ) 
int alma.acs.alarm.source.gui.SourceTableModel.getRowCount (  ) 
Object alma.acs.alarm.source.gui.SourceTableModel.getValueAt ( int  rowIndex,
int  columnIndex 
)
void alma.acs.alarm.source.gui.SourceTableModel.showCompact ( boolean  compact  ) 

Show the table as compact

Parameters:
compact if true the table is compactedS

Referenced by alma.acs.alarm.source.gui.SourceTable.compactTable().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties