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.slider" xmlns:es="exml:ext.slider" 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='MultiSlider_TYPE'>
    <xs:complexContent>
      <xs:extension base='e:BoxComponent_TYPE'>
        <xs:sequence>
            <xs:element name='decimalPrecision' minOccurs="0" maxOccurs="1">
              <xs:annotation>
                <xs:documentation>
                  The number of decimal places to which to round the Slider's value. Defaults to 0. <p>To disable rounding, configure as <tt><b>false</b></tt>.</p>
                </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute type='exml:Boolean' name='animate'>
          <xs:annotation>
            <xs:documentation>
              Turn on or off animation. Defaults to true
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute type='exml:Boolean' name='clickToChange'>
          <xs:annotation>
            <xs:documentation>
              Determines whether or not clicking on the Slider axis will change the slider. Defaults to true
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute type='exml:Boolean' name='constrainThumbs'>
          <xs:annotation>
            <xs:documentation>
              True to disallow thumbs from overlapping one another. Defaults to true
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute type='exml:String' name='decimalPrecision'>
          <xs:annotation>
            <xs:documentation>
              The number of decimal places to which to round the Slider's value. Defaults to 0. <p>To disable rounding, configure as <tt><b>false</b></tt>.</p>
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute type='exml:Number' name='increment'>
          <xs:annotation>
            <xs:documentation>
              How many units to change the slider when adjusting by drag and drop. Use this option to enable 'snapping'.
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute type='exml:Number' name='keyIncrement'>
          <xs:annotation>
            <xs:documentation>
              How many units to change the Slider when adjusting with keyboard navigation. Defaults to 1. If the increment config is larger, it will be used instead.
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute type='exml:Number' name='maxValue'>
          <xs:annotation>
            <xs:documentation>
              The maximum value for the Slider. Defaults to 100.
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute type='exml:Number' name='minValue'>
          <xs:annotation>
            <xs:documentation>
              The minimum value for the Slider. Defaults to 0.
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute type='exml:Number' name='value'>
          <xs:annotation>
            <xs:documentation>
              The value to initialize the slider with. Defaults to minValue.
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute type='exml:Boolean' name='vertical'>
          <xs:annotation>
            <xs:documentation>
              Orient the Slider vertically rather than horizontally, defaults to false.
            </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='MultiSlider' type='es:MultiSlider_TYPE' substitutionGroup='e:BoxComponent'>
    <xs:annotation>
      <xs:documentation>
        Slider which supports vertical or horizontal orientation, keyboard adjustments, configurable snapping, axis clicking and animation. Can be added as an item to any container. Example usage: <pre>new Ext.Slider({ renderTo: Ext.getBody(), width: 200, value: 50, increment: 10, minValue: 0, maxValue: 100 }); </pre>Sliders can be created with more than one thumb handle by passing an array of values instead of a single one: <pre>new Ext.Slider({ renderTo: Ext.getBody(), width: 200, values: [25, 50, 75], minValue: 0, maxValue: 100, //this defaults to true, setting to false allows the thumbs to pass each other <a href="output/Ext.slider.MultiSlider.html#Ext.slider.MultiSlider-constrainThumbs">constrainThumbs</a>: false }); </pre> <p>This class serves as a typed config object for constructor of class MultiSlider.</p> <p>Copyright &#169; 2011 Sencha Inc.</p> @see ext.slider.MultiSlider
      </xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name='SingleSlider_TYPE'>
    <xs:complexContent>
      <xs:extension base='es:MultiSlider_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='SingleSlider' type='es:SingleSlider_TYPE' substitutionGroup='es:MultiSlider'>
    <xs:annotation>
      <xs:documentation>
        Slider which supports vertical or horizontal orientation, keyboard adjustments, configurable snapping, axis clicking and animation. Can be added as an item to any container. Example usage: <pre><code>new Ext.slider.SingleSlider({ renderTo: Ext.getBody(), width: 200, value: 50, increment: 10, minValue: 0, maxValue: 100 }); </code></pre>The class Ext.slider.SingleSlider is aliased to Ext.Slider for backwards compatibility. <p>This class serves as a typed config object for constructor of class SingleSlider.</p> <p>Copyright &#169; 2011 Sencha Inc.</p> @see ext.slider.SingleSlider
      </xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name='Thumb_TYPE'>
        <xs:sequence>
            <xs:element name='slider' minOccurs="0" maxOccurs="1">
              <xs:annotation>
                <xs:documentation>
                  The Slider to render to (required)
                </xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute type='exml:Boolean' name='constrain'>
          <xs:annotation>
            <xs:documentation>
              True to constrain the thumb so that it cannot overlap its siblings
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute type='exml:String' name='slider'>
          <xs:annotation>
            <xs:documentation>
              The Slider to render to (required)
            </xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:anyAttribute namespace="http://www.jangaroo.net/exml/0.8 exml:untyped" processContents="skip"/>
  </xs:complexType>
  <xs:element name='Thumb' type='es:Thumb_TYPE'>
    <xs:annotation>
      <xs:documentation>
        Represents a single thumb element on a Slider. This would not usually be created manually and would instead be created internally by an <a href="Ext.slider.MultiSlider.html">Ext.Slider</a>. <p>This class serves as a typed config object for constructor of class Thumb.</p> <p>Copyright &#169; 2011 Sencha Inc.</p> @see ext.slider.Thumb
      </xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name='Tip_TYPE'>
    <xs:complexContent>
      <xs:extension base='e:Tip_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='Tip' type='es:Tip_TYPE' substitutionGroup='e:Tip'>
    <xs:annotation>
      <xs:documentation>
        Simple plugin for using an Ext.Tip with a slider to show the slider value. Example usage: <pre> new Ext.Slider({ width: 214, minValue: 0, maxValue: 100, plugins: new Ext.slider.Tip() }); </pre> Optionally provide your own tip text by overriding getText: <pre> new Ext.Slider({ width: 214, minValue: 0, maxValue: 100, plugins: new Ext.slider.Tip({ getText: function(thumb){ return String.format('<b>{0}% complete</b>', thumb.value); } }) }); </pre> <p>Copyright &#169; 2011 Sencha Inc.</p> @see ext.slider.Tip
      </xs:documentation>
    </xs:annotation>
  </xs:element>
</xs:schema>
New to GrepCode? Check out our FAQ X