Same as a normal class, just put [Event]
metadata at the top of the interface declaration. Note that declaring events
in an interface does not enforce any compile-time or runtime checking of the
class, it is unenforceable that a class that implements an interface must dispatch
(or even declare) the events. But the ASDoc helps J
Matt
From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel
Sent: Saturday, November 19, 2005
9:32 AM
To: [email protected]
Subject: [flexcoders] Flex 2:
events in interfaces
hi all
while implementing a collection class i was going through the interfaces and
stumbled upon ICollectionView for which the documentation says:
|
Event Summary
|
|
collectionChanged
|
Indicates that the ICollectionView has been updated
in some way.
|
how do you declare what event should be dispatched in an interface?
thanks
j.
--
j:pn
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
|