sidnet.core.misc
Class TransientDataGrid
java.lang.Object
sidnet.core.misc.TransientDataGrid
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, DataExchangeReadableOnly, SIDnetDrawableInterface, SIDnetMenuInterface, SIDnetTimeDependable
public class TransientDataGrid
- extends java.lang.Object
- implements SIDnetDrawableInterface, SIDnetTimeDependable, DataExchangeReadableOnly, SIDnetMenuInterface
|
Constructor Summary |
TransientDataGrid(int rowNum,
int colNum,
int renderingResolution,
long epochTimeInterval,
int spatialInterpolationMethod)
Creates a new instance of TransientDataGrid |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransientDataGrid
public TransientDataGrid(int rowNum,
int colNum,
int renderingResolution,
long epochTimeInterval,
int spatialInterpolationMethod)
- Creates a new instance of TransientDataGrid
configureGUI
public void configureGUI(javax.swing.JPanel hostPanel)
- Specified by:
configureGUI in interface SIDnetDrawableInterface
repaintGUI
public void repaintGUI()
- Specified by:
repaintGUI in interface SIDnetDrawableInterface
setVisibleGUI
public void setVisibleGUI(boolean visible)
- Specified by:
setVisibleGUI in interface SIDnetDrawableInterface
configureMenu
public void configureMenu(javax.swing.JPopupMenu hostPopupMenu)
- Specified by:
configureMenu in interface SIDnetMenuInterface
enableUI
public void enableUI()
- Specified by:
enableUI in interface SIDnetMenuInterface
disableUI
public void disableUI()
- Specified by:
disableUI in interface SIDnetMenuInterface
passMenuActionEvent
public void passMenuActionEvent(java.awt.event.ActionEvent menuEvent)
- Specified by:
passMenuActionEvent in interface SIDnetMenuInterface
updateSimulationTimeToCurrent
public void updateSimulationTimeToCurrent()
- Specified by:
updateSimulationTimeToCurrent in interface SIDnetTimeDependable
getTemporalInterpolationPointAt
public int getTemporalInterpolationPointAt(int x,
int y)
getTemporalInterpolationPointAt
public int getTemporalInterpolationPointAt(int x,
int y,
double temporalIndex)
updateTemporalInterpolationGrid
public void updateTemporalInterpolationGrid()
nextEpoch
public void nextEpoch()
readDataAt
public double readDataAt(Location2D location,
LocationContext locationContext)
- Specified by:
readDataAt in interface DataExchangeReadableOnly
readGridValueAt
public int readGridValueAt(int x,
int y,
long timestamp)
update
public void update(long timestamp)
getCurrentDataGrid
public DataGrid getCurrentDataGrid()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener