Calendar component for showing and selecting a date.
Constructor
new (?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float)
Constructor
Parameters:
parent | The parent DisplayObjectContainer on which to add this component. |
---|---|
xpos | The x position to place this component. |
ypos | The y position to place this component. |
Variables
Methods
setDate (date:Date):Void
Displays specified date in calendar by drawing that month and year and highlighting the day.
Parameters:
date | The date to display. |
---|
setYearMonthDay (year:Int, month:Int, day:Int):Void
Displays specified date in calendar by drawing that month and year and highlighting the day.
Parameters:
year | The year to display. |
---|---|
month | The month to display. |
day | The day to display. |