Alien-Web-ExtJS-V3

 view release on metacpan or  search on metacpan

share/docs/source/DatePicker.html  view on Meta::CPAN

<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>The source code</title>
  <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
  <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
  <style type="text/css">
    .highlight { display: block; background-color: #ddd; }
  </style>
  <script type="text/javascript">
    function highlight() {
      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
    }
  </script>
</head>
<body onload="prettyPrint(); highlight();">
  <pre class="prettyprint lang-js"><span id='Ext-DatePicker-method-constructor'><span id='Ext-DatePicker'>/**
</span></span> * @class Ext.DatePicker
 * @extends Ext.Component
 * &lt;p&gt;A popup date picker. This class is used by the {@link Ext.form.DateField DateField} class
 * to allow browsing and selection of valid dates.&lt;/p&gt;
 * &lt;p&gt;All the string values documented below may be overridden by including an Ext locale file in
 * your page.&lt;/p&gt;
 * @constructor
 * Create a new DatePicker
 * @param {Object} config The config object
 * @xtype datepicker
 */
Ext.DatePicker = Ext.extend(Ext.BoxComponent, {
<span id='Ext-DatePicker-cfg-todayText'>    /**
</span>     * @cfg {String} todayText
     * The text to display on the button that selects the current date (defaults to &lt;code&gt;'Today'&lt;/code&gt;)
     */
    todayText : 'Today',
<span id='Ext-DatePicker-cfg-okText'>    /**
</span>     * @cfg {String} okText
     * The text to display on the ok button (defaults to &lt;code&gt;'&amp;#160;OK&amp;#160;'&lt;/code&gt; to give the user extra clicking room)
     */
    okText : '&amp;#160;OK&amp;#160;',
<span id='Ext-DatePicker-cfg-cancelText'>    /**
</span>     * @cfg {String} cancelText
     * The text to display on the cancel button (defaults to &lt;code&gt;'Cancel'&lt;/code&gt;)
     */
    cancelText : 'Cancel',
<span id='Ext-DatePicker-cfg-handler'>    /**
</span>     * @cfg {Function} handler
     * Optional. A function that will handle the select event of this picker.
     * The handler is passed the following parameters:&lt;div class=&quot;mdetail-params&quot;&gt;&lt;ul&gt;
     * &lt;li&gt;&lt;code&gt;picker&lt;/code&gt; : DatePicker&lt;div class=&quot;sub-desc&quot;&gt;This DatePicker.&lt;/div&gt;&lt;/li&gt;
     * &lt;li&gt;&lt;code&gt;date&lt;/code&gt; : Date&lt;div class=&quot;sub-desc&quot;&gt;The selected date.&lt;/div&gt;&lt;/li&gt;
     * &lt;/ul&gt;&lt;/div&gt;
     */
<span id='Ext-DatePicker-cfg-scope'>    /**
</span>     * @cfg {Object} scope
     * The scope (&lt;code&gt;&lt;b&gt;this&lt;/b&gt;&lt;/code&gt; reference) in which the &lt;code&gt;{@link #handler}&lt;/code&gt;
     * function will be called.  Defaults to this DatePicker instance.
     */
<span id='Ext-DatePicker-cfg-todayTip'>    /**
</span>     * @cfg {String} todayTip
     * A string used to format the message for displaying in a tooltip over the button that
     * selects the current date. Defaults to &lt;code&gt;'{0} (Spacebar)'&lt;/code&gt; where
     * the &lt;code&gt;{0}&lt;/code&gt; token is replaced by today's date.
     */
    todayTip : '{0} (Spacebar)',
<span id='Ext-DatePicker-cfg-minText'>    /**
</span>     * @cfg {String} minText
     * The error text to display if the minDate validation fails (defaults to &lt;code&gt;'This date is before the minimum date'&lt;/code&gt;)
     */
    minText : 'This date is before the minimum date',
<span id='Ext-DatePicker-cfg-maxText'>    /**
</span>     * @cfg {String} maxText
     * The error text to display if the maxDate validation fails (defaults to &lt;code&gt;'This date is after the maximum date'&lt;/code&gt;)
     */
    maxText : 'This date is after the maximum date',
<span id='Ext-DatePicker-cfg-format'>    /**
</span>     * @cfg {String} format
     * The default date format string which can be overriden for localization support.  The format must be
     * valid according to {@link Date#parseDate} (defaults to &lt;code&gt;'m/d/y'&lt;/code&gt;).
     */
    format : 'm/d/y',
<span id='Ext-DatePicker-cfg-disabledDaysText'>    /**
</span>     * @cfg {String} disabledDaysText



( run in 1.298 second using v1.01-cache-2.11-cpan-ceb78f64989 )