ui/src/main/java/ucar/nc2/ui/image/ScalablePicture.java
private void setStatus(int statusCode, String statusMessage) {
    String filename = (imageUrl == null) ? "" : imageUrl.toString();
    Tools.log("ScalablePicture.setStatus: sending: " + statusMessage + " to all Listeners from Image: " + filename);

    pictureStatusCode = statusCode;
    pictureStatusMessage = statusMessage;

    Enumeration e = scalablePictureStatusListeners.elements();
    while (e.hasMoreElements()) {
      ((ScalablePictureListener) e.nextElement())
          .scalableStatusChange(pictureStatusCode, pictureStatusMessage);
    }
  }
private void setStatus(int statusCode, String statusMessage) {
    String filename = (imageUrl == null) ? "" : imageUrl.toString();
    Tools.log("ScalablePicture.setStatus: sending: " + statusMessage + " to all Listeners from Image: " + filename);

    pictureStatusCode = statusCode;
    pictureStatusMessage = statusMessage;

    Enumeration e = scalablePictureStatusListeners.elements();
    while (e.hasMoreElements()) {
      ((ScalablePictureListener) e.nextElement())
          .scalableStatusChange(pictureStatusCode, pictureStatusMessage);
    }
  }
private void setStatus ( int statusCode , String statusMessage ) { String filename = ( imageUrl == null ) ? "" : imageUrl . toString ( ) ; Tools . log ( "ScalablePicture.setStatus: sending: " + statusMessage + " to all Listeners from Image: " + filename ) ; pictureStatusCode = statusCode ; pictureStatusMessage = statusMessage ; Enumeration e = scalablePictureStatusListeners . elements ( ) ; while ( e . hasMoreElements ( ) ) { ( ( ScalablePictureListener ) e . nextElement ( ) ) . scalableStatusChange ( pictureStatusCode , pictureStatusMessage ) ; } }
Method that sets the status of the ScalablePicture object and notifies
intereasted objects of a change in status (not built yet).
Method that sets the status of the ScalablePicture object and notifies intereasted objects of a change in status ( not built yet ) .