Package | com.gestureworks.cml.element |
Class | public class DatePicker |
Inheritance | DatePicker ![]() ![]() |
var dp:DatePicker = new DatePicker(); dp.x = 300; dp.y = 200; dp.scaleX = dp.scaleX + 2; dp.scaleY = dp.scaleY + 2; dp.addEventListener(StateEvent.CHANGE, selectedDate); addChild(dp); function selectedDate(event:StateEvent):void { //trace(event.value); }
See also
Property | Defined By | ||
---|---|---|---|
![]() | alpha : Number [override] [write-only]
sets the alpha for display objects
| ElementFactory | |
![]() | blur : Boolean
Sets the drop shadow effect
| ElementFactory | |
![]() | bottom : Number
sets the bottom value
| ElementFactory | |
![]() | class_ : String
Object's css class;
| ElementFactory | |
![]() | className : String
sets the class name of displayobject
| ElementFactory | |
![]() | cmlIndex : int
sets the cml index
| ElementFactory | |
colorSchemeDark : Boolean | DatePicker | ||
days : String | DatePicker | ||
![]() | debugStyle : *
sets the debug style
| ElementFactory | |
![]() | displayEvents : String
Use for dispatch completes. | ElementFactory | |
![]() | dropShadow : Boolean
Sets the drop shadow effect
| ElementFactory | |
![]() | height : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
![]() | heightPercent : String
sets the height percent of display object
| ElementFactory | |
![]() | horizontalCenter : Number
sets the horizontal center of display object
| ElementFactory | |
![]() | id : String
sets the id of child
| ElementFactory | |
![]() | index : int
sets the index of display object
| ElementFactory | |
![]() | left : Number
sets left value
| ElementFactory | |
months : String | DatePicker | ||
![]() | propertyStates : Array Deprecated: Please Use state | ElementFactory | |
![]() | right : Number
sets the right value
| ElementFactory | |
![]() | scale : Number
Sets both the x and y scale values
| ElementFactory | |
![]() | scaleX : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
![]() | scaleY : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
selectedDate : String | DatePicker | ||
![]() | state : Array
property states array
| ElementFactory | |
![]() | top : Number
sets top value
| ElementFactory | |
![]() | verticalCenter : Number
sets the vertical center of display object
| ElementFactory | |
![]() | width : Number [override]
Sets width of the display object in pixels
| ElementFactory | |
![]() | widthPercent : String
sets the percent of width of display object
| ElementFactory |
Method | Defined By | ||
---|---|---|---|
Constructor
| DatePicker | ||
![]() | clone():*
Returns clone of self
| ElementFactory | |
displayComplete():void [override]
CML display initialization callback
| DatePicker | ||
dispose():void [override]
Dispose method nullify attributes
| DatePicker | ||
init():void [override]
Initializes the calendar components
| DatePicker | ||
![]() | parseCML(cml:XMLList):XMLList
parses cml file
| ElementFactory | |
![]() | postparseCML(cml:XMLList):void
post parses the cml file
| ElementFactory | |
![]() | updateProperties(state:Number = 0):void
this method updates the properties
| ElementFactory |
colorSchemeDark | property |
colorSchemeDark:Boolean
public function get colorSchemeDark():Boolean
public function set colorSchemeDark(value:Boolean):void
days | property |
days:String
public function get days():String
public function set days(value:String):void
months | property |
months:String
public function get months():String
public function set months(value:String):void
selectedDate | property |
selectedDate:String
public function get selectedDate():String
public function set selectedDate(value:String):void
DatePicker | () | Constructor |
public function DatePicker()
Constructor
displayComplete | () | method |
override public function displayComplete():void
CML display initialization callback
dispose | () | method |
override public function dispose():void
Dispose method nullify attributes
init | () | method |
override public function init():void
Initializes the calendar components