Basic HTML version of Foils prepared 13 July 98

Foil 71 Delegation Event Model

From Java Academy II:Intermediate Java NPAC/ECS Java Academy -- February to April 98. by Tom Scavo


1 In summary, our button test applet:
  • implements the ActionListener interface, that is, it implements the actionPerformed(...) method
  • registers itself as a listener of ActionEvents, that is, it invokes the addActionListener(...) method on the button object
2 This is called the delegation event model

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 Sat Nov 28 1998