edu.sc.seis.fissuresUtil.display
Class EventTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
edu.sc.seis.fissuresUtil.display.EventTableModel
- All Implemented Interfaces:
- EventLoadedListener, java.io.Serializable, java.util.EventListener, javax.swing.table.TableModel
public class EventTableModel
- extends javax.swing.table.AbstractTableModel
- implements EventLoadedListener
EventTableModel.java
Created: Mon Jan 8 15:59:05 2001
- See Also:
- Serialized Form
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FERegions
protected static ParseRegions FERegions
events
protected edu.iris.Fissures.IfEvent.EventAccessOperations[] events
cachedEvents
protected java.util.WeakHashMap cachedEvents
backgrounded
protected java.util.WeakHashMap backgrounded
rowNumber
protected java.util.HashMap rowNumber
depthFormat
protected java.text.NumberFormat depthFormat
LATITUDE
protected static final int LATITUDE
- See Also:
- Constant Field Values
LONGITUDE
protected static final int LONGITUDE
- See Also:
- Constant Field Values
DEPTH
protected static final int DEPTH
- See Also:
- Constant Field Values
ORIGINTIME
protected static final int ORIGINTIME
- See Also:
- Constant Field Values
MAGVALUE
protected static final int MAGVALUE
- See Also:
- Constant Field Values
CATALOG
protected static final int CATALOG
- See Also:
- Constant Field Values
CONTRIBUTOR
protected static final int CONTRIBUTOR
- See Also:
- Constant Field Values
NAME
protected static final int NAME
- See Also:
- Constant Field Values
FEREGION
protected static final int FEREGION
- See Also:
- Constant Field Values
LATITUDESIZE
protected static final int LATITUDESIZE
- See Also:
- Constant Field Values
LONGITUDESIZE
protected static final int LONGITUDESIZE
- See Also:
- Constant Field Values
DEPTHSIZE
protected static final int DEPTHSIZE
- See Also:
- Constant Field Values
ORIGINTIMESIZE
protected static final int ORIGINTIMESIZE
- See Also:
- Constant Field Values
MAGVALUESIZE
protected static final int MAGVALUESIZE
- See Also:
- Constant Field Values
CATALOGSIZE
protected static final int CATALOGSIZE
- See Also:
- Constant Field Values
CONTRIBUTORSIZE
protected static final int CONTRIBUTORSIZE
- See Also:
- Constant Field Values
NAMESIZE
protected static final int NAMESIZE
- See Also:
- Constant Field Values
FEREGIONSIZE
protected static final int FEREGIONSIZE
- See Also:
- Constant Field Values
columnNames
protected java.lang.String[] columnNames
EventTableModel
public EventTableModel()
- Creates a table model without any events. Events can be added later with
the updateEvents method.
EventTableModel
public EventTableModel(ProxyEventAccessOperations[] events)
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interface javax.swing.table.TableModel
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface javax.swing.table.TableModel
getColumnName
public java.lang.String getColumnName(int col)
- Specified by:
getColumnName
in interface javax.swing.table.TableModel
- Overrides:
getColumnName
in class javax.swing.table.AbstractTableModel
getValueAt
public java.lang.Object getValueAt(int row,
int col)
- Specified by:
getValueAt
in interface javax.swing.table.TableModel
getEventForRow
public edu.iris.Fissures.IfEvent.EventAccessOperations getEventForRow(int row)
isRowCached
public boolean isRowCached(int row)
updateEvents
public void updateEvents(edu.iris.Fissures.IfEvent.EventAccessOperations[] updateEvents)
appendEvents
public void appendEvents(edu.iris.Fissures.IfEvent.EventAccessOperations[] appendEvents)
eventLoaded
public void eventLoaded(ProxyEventAccessOperations cache)
- Specified by:
eventLoaded
in interface EventLoadedListener
addEventDataListener
public void addEventDataListener(EventDataListener edl)
removeEventDataListener
public void removeEventDataListener(EventDataListener edl)
getAllEvents
public edu.iris.Fissures.IfEvent.EventAccessOperations[] getAllEvents()
getRowForEvent
public int getRowForEvent(edu.iris.Fissures.IfEvent.EventAccessOperations event)