Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="exml:ext.toolbar" xmlns:et="exml:ext.toolbar" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:exml="http://www.jangaroo.net/exml/0.8" xmlns:e="exml:ext" >
  <xs:import namespace="http://www.jangaroo.net/exml/0.8"/>
  <xs:import namespace="exml:ext"/>
  <xs:complexType name='Fill_TYPE'>
    <xs:complexContent>
      <xs:extension base='et:Spacer_TYPE'>
        <xs:sequence>
        </xs:sequence>
        <xs:anyAttribute namespace="http://www.jangaroo.net/exml/0.8 exml:untyped" processContents="skip"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name='Fill' type='et:Fill_TYPE' substitutionGroup='et:Spacer'>
    <xs:annotation>
      <xs:documentation>
        A non-rendering placeholder item which instructs the Toolbar's Layout to begin using the right-justified button container. <pre><code>new Ext.Panel({ tbar : [ 'Item 1', {xtype: 'tbfill'}, // or '-&gt;' 'Item 2' ] }); </code></pre> <p>This class represents the xtype 'tbfill' and serves as a typed config object for constructor of class Fill.</p> <p>Copyright &#169; 2011 Sencha Inc.</p> @see ext.toolbar.Fill
      </xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name='Item_TYPE'>
    <xs:complexContent>
      <xs:extension base='e:BoxComponent_TYPE'>
        <xs:sequence>
        </xs:sequence>
        <xs:attribute type='exml:String' name='overflowText'>
          <xs:annotation>
            <xs:documentation>
              Text to be used for the menu if the item is overflowed.
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:anyAttribute namespace="http://www.jangaroo.net/exml/0.8 exml:untyped" processContents="skip"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name='Item' type='et:Item_TYPE' substitutionGroup='e:BoxComponent'>
    <xs:annotation>
      <xs:documentation>
        The base class that other non-interacting Toolbar Item classes should extend in order to get some basic common toolbar item functionality. <p>This class represents the xtype 'tbitem' and serves as a typed config object for constructor of class Item.</p> <p>Copyright &#169; 2011 Sencha Inc.</p> @see ext.toolbar.Item
      </xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name='Separator_TYPE'>
    <xs:complexContent>
      <xs:extension base='et:Item_TYPE'>
        <xs:sequence>
        </xs:sequence>
        <xs:anyAttribute namespace="http://www.jangaroo.net/exml/0.8 exml:untyped" processContents="skip"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name='Separator' type='et:Separator_TYPE' substitutionGroup='et:Item'>
    <xs:annotation>
      <xs:documentation>
        A simple class that adds a vertical separator bar between toolbar items (css class:<tt>'xtb-sep'</tt>). Example usage: <pre><code>new Ext.Panel({ tbar : [ 'Item 1', {xtype: 'tbseparator'}, // or '-' 'Item 2' ] }); </code></pre> <p>This class represents the xtype 'tbseparator' and serves as a typed config object for constructor of class Separator.</p> <p>Copyright &#169; 2011 Sencha Inc.</p> @see ext.toolbar.Separator
      </xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name='Spacer_TYPE'>
    <xs:complexContent>
      <xs:extension base='et:Item_TYPE'>
        <xs:sequence>
        </xs:sequence>
        <xs:anyAttribute namespace="http://www.jangaroo.net/exml/0.8 exml:untyped" processContents="skip"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name='Spacer' type='et:Spacer_TYPE' substitutionGroup='et:Item'>
    <xs:annotation>
      <xs:documentation>
        A simple element that adds extra horizontal space between items in a toolbar. By default a 2px wide space is added via css specification:<pre><code>.x-toolbar .xtb-spacer { width:2px; } </code></pre><p>Example usage:</p><pre><code>new Ext.Panel({ tbar : [ 'Item 1', {xtype: 'tbspacer'}, // or ' ' 'Item 2', // space width is also configurable via javascript {xtype: 'tbspacer', width: 50}, // add a 50px space 'Item 3' ] }); </code></pre> <p>This class represents the xtype 'tbspacer' and serves as a typed config object for constructor of class ext.toolbar.Spacer.</p> <p>Copyright &#169; 2011 Sencha Inc.</p> @see ext.toolbar.Spacer
      </xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name='TextItem_TYPE'>
    <xs:complexContent>
      <xs:extension base='et:Item_TYPE'>
        <xs:sequence>
        </xs:sequence>
        <xs:attribute type='exml:String' name='text'>
          <xs:annotation>
            <xs:documentation>
              The text to be used as innerHTML (html tags are accepted)
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:anyAttribute namespace="http://www.jangaroo.net/exml/0.8 exml:untyped" processContents="skip"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name='TextItem' type='et:TextItem_TYPE' substitutionGroup='et:Item'>
    <xs:annotation>
      <xs:documentation>
        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
      </xs:documentation>
    </xs:annotation>
  </xs:element>
</xs:schema>
New to GrepCode? Check out our FAQ X