code: function() {
          var me = this,
              attr;
  
          me.callParent(arguments);
  
          me.el.on({
              click: me.onClick,
              mousedown: me.onMouseDown,
              mouseover: me.onMouseOver,
              mouseout: me.onMouseOut,
              scope: me
          });
  
          if (me.tooltip) {
              if (Ext.quickTipsActive && Ext.isObject(me.tooltip)) {
                  Ext.tip.QuickTipManager.register(Ext.apply({
                      target: me.id
                  }, me.tooltip));
              }
              else {
                  attr = me.tooltipType == 'qtip' ? 'data-qtip' : 'title';
                  me.el.dom.setAttribute(attr, me.tooltip);
              }
          }
      }
docs: inherit docs