Van professionele vertalers, bedrijven, webpagina's en gratis beschikbare vertaalbronnen.
lyssnaren måste sedan läggas till i broadcaster-objektet.
the listener must then be added to the broadcaster object.
Laatste Update: 2012-05-08
Gebruiksfrequentie: 1
Kwaliteit:
lyssnaren måste sedan läggas till i broadcaster-objektet. detta åstadkoms genom att lämplig metod för tillägg av en lyssnare anropas. metoderna följer alltid mönstret "addfoolistener", där "foo" är lyssnargränssnittstypen utan 'x'. i det här exemplet anropas metoden addcontainerlistener för att registrera xcontainerlistener:
the listener must then be added to the broadcaster object. this is done by calling the appropriate method for adding a listener. these methods always follow the pattern "addfoolistener", where "foo" is the listener interface type, without the 'x'. in this example, the addcontainerlistener method is called to register the xcontainerlistener: