Basic HTML version of Foils prepared Sept 23 97

Foil 37 Delegation Event Model

From Tutorial on Scivis Java Visualization System Rome Lab CIV Review, NAVO Miss. Tutorial -- Sept 24-25 97. by Byeongseob Ki, Scott KLasky


1 The new event handling model:
  • Components fire events, which can be listened for and acted upon by listeners.
  • Listeners are added to a component.
  • After being added to a component, appropriate methods in the listener's interface will be called when the events the listener has registered interested in are fired by the component.
  • Whenever an event occurs, we have to handle it to be collaborative. But we only need to add codes to the listener by using delegation event model of JDK1.1.

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Sep 23 1997