{ if (e instanceof ImageLoaded) handleImageLoaded((ImageLoaded) e); else if (e instanceof ImageRendered) handleImageRendered((ImageRendered) e); else if (e instanceof LoadImage) handleLoadImage((LoadImage) e); }
{ if (e instanceof ImageLoaded) handleImageLoaded((ImageLoaded) e); else if (e instanceof ImageRendered) handleImageRendered((ImageRendered) e); else if (e instanceof LoadImage) handleLoadImage((LoadImage) e); else if (e instanceof AddROICanvas) handleAddROI((AddROICanvas) e);   }
	public void eventFired(AgentEvent e) 	{		if (e instanceof ImageLoaded)			handleImageLoaded((ImageLoaded) e);		else if (e instanceof ImageRendered)			handleImageRendered((ImageRendered) e);		else if (e instanceof LoadImage)			handleLoadImage((LoadImage) e);	}