public class EventTableModel extends javax.swing.table.AbstractTableModel implements EventLoadedListener
Modifier and Type | Field and Description |
---|---|
protected java.util.WeakHashMap |
backgrounded |
protected java.util.WeakHashMap |
cachedEvents |
protected static int |
CATALOG |
protected static int |
CATALOGSIZE |
protected java.lang.String[] |
columnNames |
protected static int |
CONTRIBUTOR |
protected static int |
CONTRIBUTORSIZE |
protected static int |
DEPTH |
protected java.text.NumberFormat |
depthFormat |
protected static int |
DEPTHSIZE |
protected edu.iris.Fissures.IfEvent.EventAccessOperations[] |
events |
protected static int |
FEREGION |
protected static ParseRegions |
FERegions |
protected static int |
FEREGIONSIZE |
protected static int |
LATITUDE |
protected static int |
LATITUDESIZE |
protected static int |
LONGITUDE |
protected static int |
LONGITUDESIZE |
protected static int |
MAGVALUE |
protected static int |
MAGVALUESIZE |
protected static int |
NAME |
protected static int |
NAMESIZE |
protected static int |
ORIGINTIME |
protected static int |
ORIGINTIMESIZE |
protected java.util.HashMap |
rowNumber |
Constructor and Description |
---|
EventTableModel()
Creates a table model without any events.
|
EventTableModel(ProxyEventAccessOperations[] events) |
Modifier and Type | Method and Description |
---|---|
void |
addEventDataListener(EventDataListener edl) |
void |
appendEvents(edu.iris.Fissures.IfEvent.EventAccessOperations[] appendEvents) |
void |
eventLoaded(ProxyEventAccessOperations cache) |
edu.iris.Fissures.IfEvent.EventAccessOperations[] |
getAllEvents() |
int |
getColumnCount() |
java.lang.String |
getColumnName(int col) |
edu.iris.Fissures.IfEvent.EventAccessOperations |
getEventForRow(int row) |
int |
getRowCount() |
int |
getRowForEvent(edu.iris.Fissures.IfEvent.EventAccessOperations event) |
java.lang.Object |
getValueAt(int row,
int col) |
boolean |
isRowCached(int row) |
void |
removeEventDataListener(EventDataListener edl) |
void |
updateEvents(edu.iris.Fissures.IfEvent.EventAccessOperations[] updateEvents) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
protected static ParseRegions FERegions
protected edu.iris.Fissures.IfEvent.EventAccessOperations[] events
protected java.util.WeakHashMap cachedEvents
protected java.util.WeakHashMap backgrounded
protected java.util.HashMap rowNumber
protected java.text.NumberFormat depthFormat
protected static final int LATITUDE
protected static final int LONGITUDE
protected static final int DEPTH
protected static final int ORIGINTIME
protected static final int MAGVALUE
protected static final int CATALOG
protected static final int CONTRIBUTOR
protected static final int NAME
protected static final int FEREGION
protected static final int LATITUDESIZE
protected static final int LONGITUDESIZE
protected static final int DEPTHSIZE
protected static final int ORIGINTIMESIZE
protected static final int MAGVALUESIZE
protected static final int CATALOGSIZE
protected static final int CONTRIBUTORSIZE
protected static final int NAMESIZE
protected static final int FEREGIONSIZE
protected java.lang.String[] columnNames
public EventTableModel()
public EventTableModel(ProxyEventAccessOperations[] events)
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public java.lang.String getColumnName(int col)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public java.lang.Object getValueAt(int row, int col)
getValueAt
in interface javax.swing.table.TableModel
public edu.iris.Fissures.IfEvent.EventAccessOperations getEventForRow(int row)
public boolean isRowCached(int row)
public void updateEvents(edu.iris.Fissures.IfEvent.EventAccessOperations[] updateEvents)
public void appendEvents(edu.iris.Fissures.IfEvent.EventAccessOperations[] appendEvents)
public void eventLoaded(ProxyEventAccessOperations cache)
eventLoaded
in interface EventLoadedListener
public void addEventDataListener(EventDataListener edl)
public void removeEventDataListener(EventDataListener edl)
public edu.iris.Fissures.IfEvent.EventAccessOperations[] getAllEvents()
public int getRowForEvent(edu.iris.Fissures.IfEvent.EventAccessOperations event)