Extending Classes in Ext
Creating classes in Ext almost always begins with choosing a base class to inherit from.
- Classes that need events should extend Ext.util.Observable (or a subclass of it)
- Classes that will serve as UI widgets should extend Ext.Component (or Ext.BoxComponent if box model and layout management will be necessary)
- Classes that can contain other components should extend Ext.Container