Packagecom.adobe.portfolio.components.supportClasses
Classpublic class DateTimeChooser
InheritanceDateTimeChooser Inheritance spark.components.supportClasses.SkinnableComponent

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The DateTimeChooser class extends SkinnableComponent to implement a date and time chooser component.



Public Properties
 PropertyDefined By
  selectedDate : Date
The selected date and time for the DateTimeChooser.
DateTimeChooser
Public Methods
 MethodDefined By
  
Constructor.
DateTimeChooser
Protected Methods
 MethodDefined By
  
[override]
DateTimeChooser
  
partAdded(partName:String, instance:Object):void
[override] Called when a skin has added a skin part for this instance.
DateTimeChooser
  
partRemoved(partName:String, instance:Object):void
[override] Called when a skin has removed a skin part for this instance.
DateTimeChooser
Skin Parts

This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.


 Skin Part Description Defined By
  
dateInput:mx.controls.DateField
Required: true Part Type: Static
The date chooser to select a new date.
DateTimeChooser
  
downButton:spark.components.Button
Required: true Part Type: Static
The down button (to increment the hour/minute/second/meridiem field values).
DateTimeChooser
  
hourInput:spark.components.TextInput
Required: true Part Type: Static
The hours field.
DateTimeChooser
  
meridiemInput:spark.components.TextInput
Required: false Part Type: Static
The meridiem (am/pm) field.
DateTimeChooser
  
minuteInput:spark.components.TextInput
Required: true Part Type: Static
The minutes field.
DateTimeChooser
  
secondInput:spark.components.TextInput
Required: false Part Type: Static
The seconds field.
DateTimeChooser
  
upButton:spark.components.Button
Required: true Part Type: Static
The up button (to increment the hour/minute/second/meridiem field values).
DateTimeChooser
Property Detail
selectedDateproperty
selectedDate:Date

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The selected date and time for the DateTimeChooser. After creating DateTimeChooser set selectedDate if you want the date to be something other than current date. When a FlexEvent.DATA_CHANGE is received from the DateTimeChooser, the new date is retrieved from selectedDate.


Implementation
    public function get selectedDate():Date
    public function set selectedDate(value:Date):void
Constructor Detail
DateTimeChooser()Constructor
public function DateTimeChooser()

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Constructor.

Method Detail
commitProperties()method
override protected function commitProperties():void

partAdded()method 
override protected function partAdded(partName:String, instance:Object):void

Called when a skin has added a skin part for this instance.

Parameters

partName:String
 
instance:Object

partRemoved()method 
override protected function partRemoved(partName:String, instance:Object):void

Called when a skin has removed a skin part for this instance.

Parameters

partName:String
 
instance:Object