ui/src/main/java/ucar/nc2/ui/image/SourcePicture.java
private void setStatus(int statusCode, String statusMessage) {
		Tools.log("\nSourcePicture.setStatus: sending status: " + statusMessage );
		pictureStatusCode = statusCode;
		pictureStatusMessage = statusMessage;
		
		
		Vector nonmodifiedVector = (Vector) sourcePictureListeners.clone();

		Enumeration e = nonmodifiedVector.elements();
		while ( e.hasMoreElements() ) {
			//((SourcePictureListener) e.nextElement())
			//	.sourceStatusChange(pictureStatusCode, pictureStatusMessage, this );
			SourcePictureListener spl = ((SourcePictureListener) e.nextElement());
				spl.sourceStatusChange(pictureStatusCode, pictureStatusMessage, this );

			Tools.log("\nSourcePicture.setStatus: sending status: " + statusMessage + " to " + spl.getClass().toString() );
    }
	}
private void setStatus(int statusCode, String statusMessage) {
		Tools.log("\nSourcePicture.setStatus: sending status: " + statusMessage );
		pictureStatusCode = statusCode;
		pictureStatusMessage = statusMessage;
		
		
		Vector nonmodifiedVector = (Vector) sourcePictureListeners.clone();

		Enumeration e = nonmodifiedVector.elements();
		while ( e.hasMoreElements() ) {
			//((SourcePictureListener) e.nextElement())
			//	.sourceStatusChange(pictureStatusCode, pictureStatusMessage, this );
			SourcePictureListener spl = ((SourcePictureListener) e.nextElement());
				spl.sourceStatusChange(pictureStatusCode, pictureStatusMessage, this );

			Tools.log("\nSourcePicture.setStatus: sending status: " + statusMessage + " to " + spl.getClass().toString() );
    }
	}
private void setStatus ( int statusCode , String statusMessage ) { Tools . log ( "\nSourcePicture.setStatus: sending status: " + statusMessage ) ; pictureStatusCode = statusCode ; pictureStatusMessage = statusMessage ; Vector nonmodifiedVector = ( Vector ) sourcePictureListeners . clone ( ) ; Enumeration e = nonmodifiedVector . elements ( ) ; while ( e . hasMoreElements ( ) ) { //((SourcePictureListener) e.nextElement()) //	.sourceStatusChange(pictureStatusCode, pictureStatusMessage, this ); SourcePictureListener spl = ( ( SourcePictureListener ) e . nextElement ( ) ) ; spl . sourceStatusChange ( pictureStatusCode , pictureStatusMessage , this ) ; Tools . log ( "\nSourcePicture.setStatus: sending status: " + statusMessage + " to " + spl . getClass ( ) . toString ( ) ) ; } }
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 ) .