SOURCE CODE: Uize.Widget.Dialog.Picker.Date
/*______________
| ______ | U I Z E J A V A S C R I P T F R A M E W O R K
| / / | ---------------------------------------------------
| / O / | MODULE : Uize.Widget.Dialog.Picker.Date
| / / / |
| / / / /| | ONLINE : http://www.uize.com
| /____/ /__/_| | COPYRIGHT : (c)2009-2012 UIZE
| /___ | LICENSE : Available under MIT License or GNU General Public License
|_______________| http://www.uize.com/license.html
*/
/* Module Meta Data
type: Class
importance: 4
codeCompleteness: 100
testCompleteness: 0
docCompleteness: 80
*/
/*?
Introduction
The =Uize.Widget.Dialog.Picker.Date= widget lets the user select a date from a modal dialog containing a calendar widget, with support for valid date ranges.
*DEVELOPERS:* `Chris van Rensburg`
### In a Nutshell
- intended to be used by =Uize.Widget.Picker.Date= class, but can be used on its own...
- provide example
- uses an instance of the =Uize.Widget.Calendar= class in its implementation to let users pick a date
*/
Uize.module ({
name:'Uize.Widget.Dialog.Picker.Date',
required:'Uize.Widget.Calendar',
builder:function (_superclass) {
/*** Class Constructor ***/
var _class = _superclass.subclass ();
/*** Override Initial Values for Inherited State Properties ***/
_class.set ({
valueWidgetClass:Uize.Widget.Calendar,
pipedProperties:[
'displayFormat',
/*?
State Properties
displayFormat
document...
NOTES
- this value of this property is piped through to the =displayFormat= state property of the =Uize.Widget.Calendar= value widget
- the initial value is =undefined=
*/
'maxValue',
/*?
State Properties
minValue
document...
NOTES
- see the companion =maxValue= state property
- this value of this property is piped through to the =maxValue= state property of the =Uize.Widget.Calendar= value widget
- the initial value is =undefined=
*/
'minValue'
/*?
State Properties
maxValue
document...
NOTES
- see the companion =minValue= state property
- this value of this property is piped through to the =minValue= state property of the =Uize.Widget.Calendar= value widget
- the initial value is =undefined=
*/
]
});
return _class;
}
});