[vtkusers] java: which object called observer-function?

Lars Matthäus lars.matthaeus at web.de
Wed Jun 29 13:18:16 EDT 2005


Hi,

I have several objects (w[1],...,w[n]) with the same observer added:

for(i=1; i<=n; i++)
	w[i].addObserver("InteractionEvent", this, "interactionMethod");

Is there a way to tell which of the objects actually called the
interactionMethod? Can I specify an identifier when calling
interactionMethod?

Thanks for your help!

Lars



More information about the vtkusers mailing list