com.ermapper.ecw
Interface JNCSProgressiveUpdate

All Known Implementing Classes:
JNCSFile

public interface JNCSProgressiveUpdate

JNCSProgressiveUpdate is an interface that clients must implement to listen to progresive imagery form the ECW classes.

Since:
ECW Java SDK 2.3

Method Summary
 void refreshUpdate(int nWidth, int nHeight, double dWorldTLX, double dWorldTLY, double dWorldBRX, double dWorldBRY)
          This method gets called when imagery arrives from the network and the set view was in world coordinates.
 void refreshUpdate(int nWidth, int nHeight, int dDatasetTLX, int dDatasetTLY, int dDatasetBRX, int dDatasetBRY)
          This method gets called when imagery arrives from the network, and the set view was in dataset cells.
 

Method Detail

refreshUpdate

public void refreshUpdate(int nWidth,
                          int nHeight,
                          double dWorldTLX,
                          double dWorldTLY,
                          double dWorldBRX,
                          double dWorldBRY)
This method gets called when imagery arrives from the network and the set view was in world coordinates. When using progressive imagery, clients must implement this class.
Parameters:
nWidth - The width of the setView which generated this callback
nHeight - The height of the setView which generated this callback
dWorldTLX - The top left X coord that generated this callback
dWorldTLY - The top left Y coord that generated this callback
dWorldBRX - The bottom right X coord that generated this callback
dWorldBRY - The bottom right Y coord that generated this callback
See Also:
JNCSFile.addProgressiveUpdateListener(com.ermapper.ecw.JNCSProgressiveUpdate)

refreshUpdate

public void refreshUpdate(int nWidth,
                          int nHeight,
                          int dDatasetTLX,
                          int dDatasetTLY,
                          int dDatasetBRX,
                          int dDatasetBRY)
This method gets called when imagery arrives from the network, and the set view was in dataset cells. When using progressive imagery, clients must implement this class.
Parameters:
nWidth - The width of the setView which generated this callback
nHeight - The height of the setView which generated this callback
dDatasetTLX - The top left X dataset cell that generated this callback
dDatasetTLY - The top left Y dataset cell that generated this callback
dDatasetBRX - The bottom right X dataset cell that generated this callback
dDatasetBRY - The bottom right Y dataset cell that generated this callback
See Also:
JNCSFile.addProgressiveUpdateListener(com.ermapper.ecw.JNCSProgressiveUpdate)