• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Chapter 48. addListener()

DO OR DIE:

  • Create an object whose purpose in life is to monitor something, like the mouse, and see if any event happens to it.

  • Only certain objects can have addListener() used on them.


AddListener() is a method you can use when you want to latch a listener onto certain objects. These objects are as follows:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint