PDA

View Full Version : how to inherite multiple interface in ExtJS



mimishi
15 Jun 2012, 2:15 PM
I have an event driven application, which need publish and subscribe heavily.
In order to publish, it required to inherit Ext.util.Observable, but my class may need inherit some other class or interface, how can to inherit multiple interface for one class or extend a class by the mean time inherit another interface(s)?

Fire-Dragon-DoL
15 Jun 2012, 5:01 PM
Observable is not an interface, it's a class. You simply can't, but most gui elements already inherit observable