Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
DateChooserModel

Package | org.apache.flex.html.beads.models
Class | public class DateChooserModel
Inheritance | DateChooserModel EventDispatcher flash.events.EventDispatcher
Implements | IDateChooserModel

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The DateChooserModel is a bead class that manages the data for a DataChooser. This includes arrays of names for the months and days of the week as well the currently selected date.

Public Properties

| Property | Defined By
--- | --- | ---
|  | dayNames : Array An array of strings used to name the days of the week with Sunday being the first element of the array. | DateChooserModel
|  | displayedMonth : Number The month currently displayed by the DateChooser. | DateChooserModel
|  | displayedYear : Number The year currently displayed by the DateChooser. | DateChooserModel
|  | firstDayOfWeek : Number The index of the first day of the week, Sunday = 0. | DateChooserModel
|  | monthNames : Array An array of strings used to name the months of the year with January being the first element of the array. | DateChooserModel
|  | selectedDate : Date The currently selected date or null if no date has been selected. | DateChooserModel
|  | strand : IStrand [write-only] The host component for this bead. | DateChooserModel

Public Methods

| Method | Defined By
--- | --- | ---
|  | DateChooserModel() | DateChooserModel

Property Detail

dayNames | property

`dayNames:Array`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

An array of strings used to name the days of the week with Sunday being the first element of the array.

Implementation
`public function get dayNames():Array`
`public function set dayNames(value:Array):void`

displayedMonth | property |

`displayedMonth:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The month currently displayed by the DateChooser.

Implementation
`public function get displayedMonth():Number`
`public function set displayedMonth(value:Number):void`

displayedYear | property |

`displayedYear:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The year currently displayed by the DateChooser.

Implementation
`public function get displayedYear():Number`
`public function set displayedYear(value:Number):void`

firstDayOfWeek | property |

`firstDayOfWeek:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The index of the first day of the week, Sunday = 0.

Implementation
`public function get firstDayOfWeek():Number`
`public function set firstDayOfWeek(value:Number):void`

monthNames | property |

`monthNames:Array`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

An array of strings used to name the months of the year with January being the first element of the array.

Implementation
`public function get monthNames():Array`
`public function set monthNames(value:Array):void`

selectedDate | property |

`selectedDate:Date`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The currently selected date or null if no date has been selected.

Implementation
`public function get selectedDate():Date`
`public function set selectedDate(value:Date):void`

strand | property |

`strand:IStrand` [write-only]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The host component for this bead.

Implementation
`public function set strand(value:IStrand):void`
Constructor Detail

DateChooserModel | () | Constructor

`public function DateChooserModel()`

Mon Sep 5 2016, 07:19 AM -07:00