Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
joo.classLoader.prepare("package ext.config",/* {*/


/**
 * A simple class that renders text directly into a toolbar (with css class:<tt>'xtb-text'</tt>). Example usage: <pre><code>new Ext.Panel({
 tbar : [
 {xtype: 'tbtext', text: 'Item 1'} // or simply 'Item 1'
 ]
 });
 </code></pre>
 *
 * <p>This class represents the xtype 'tbtext' and serves as a
 * typed config object for constructor of class TextItem.</p>
 *
 * <p>Copyright &#169; 2011 Sencha Inc.</p>
 * @see ext.toolbar.TextItem
 */
{ExtConfig:{target:"ext.toolbar.TextItem", xtype:"tbtext"}},
"public class tbtext extends ext.config.tbitem",6,function($$private){var $1=ext.config;return[ 

  "public function tbtext",function tbtext(config/*:Object = null*/) {if(arguments.length<=0)config=null;

     $1.tbitem.call(this,config);
  },


  /**
   The text to be used as innerHTML (html tags are accepted)
   */
  "public native function get text"/*():String*/,

  /**
   * @private
   */
  "public native function set text"/*(value:String):void*/,


undefined];},[],["ext.config.tbitem"], "0.8.0", "2.0.8"
);
New to GrepCode? Check out our FAQ X