Packageardisia.scheduling.calendar.events
Classpublic class CalendarEvent
InheritanceCalendarEvent Inheritance flash.events.Event

Custom event for the Calendar class. Note: not all event types pass all the possible properties.



Public Properties
 PropertyDefined By
  dtEnd : Date
The end date for the item.
CalendarEvent
  dtStart : Date
The start date for the item.
CalendarEvent
  renderer : Object
The renderer that triggered the event.
CalendarEvent
  schedulingData : SchedulingData
The SchedulingData object (item in the dataProvider) that was used to create the item.
CalendarEvent
Public Methods
 MethodDefined By
  
CalendarEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, schedulingData:SchedulingData = null, renderer:Object = null, dtStart:Date = null, dtEnd:Date = null)
CalendarEvent
  
clone():Event
[override] Necessary for re-dispatching to work.
CalendarEvent
Public Constants
 ConstantDefined By
  DISPLAYED_DATES_CHANGED : String = displayedDatesChanged
[static]
CalendarEvent
  GRID_LABEL_MOUSE_DOWN : String = gridLabelMouseDown
[static]
CalendarEvent
  ITEM_CLICK : String = itemClick
[static]
CalendarEvent
  ITEM_DRAG_END : String = itemDragEnd
[static]
CalendarEvent
  ITEM_DRAG_STARTING : String = itemDragStarting
[static]
CalendarEvent
  SELECTED_DATA_CHANGE : String = selectedDataChange
[static]
CalendarEvent
  SELECTED_PERIOD_CHANGE : String = selectedPeriodChange
[static]
CalendarEvent
Property Detail
dtEndproperty
public var dtEnd:Date

The end date for the item.

The default value is null.

dtStartproperty 
public var dtStart:Date

The start date for the item.

The default value is null.

rendererproperty 
public var renderer:Object

The renderer that triggered the event.

The default value is null.

schedulingDataproperty 
public var schedulingData:SchedulingData

The SchedulingData object (item in the dataProvider) that was used to create the item.

The default value is null.

Constructor Detail
CalendarEvent()Constructor
public function CalendarEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, schedulingData:SchedulingData = null, renderer:Object = null, dtStart:Date = null, dtEnd:Date = null)



Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
 
schedulingData:SchedulingData (default = null)
 
renderer:Object (default = null)
 
dtStart:Date (default = null)
 
dtEnd:Date (default = null)
Method Detail
clone()method
override public function clone():Event

Necessary for re-dispatching to work.

Returns
Event — CalendarEvent
Constant Detail
DISPLAYED_DATES_CHANGEDConstant
public static const DISPLAYED_DATES_CHANGED:String = displayedDatesChanged

GRID_LABEL_MOUSE_DOWNConstant 
public static const GRID_LABEL_MOUSE_DOWN:String = gridLabelMouseDown

ITEM_CLICKConstant 
public static const ITEM_CLICK:String = itemClick

ITEM_DRAG_ENDConstant 
public static const ITEM_DRAG_END:String = itemDragEnd

ITEM_DRAG_STARTINGConstant 
public static const ITEM_DRAG_STARTING:String = itemDragStarting

SELECTED_DATA_CHANGEConstant 
public static const SELECTED_DATA_CHANGE:String = selectedDataChange

SELECTED_PERIOD_CHANGEConstant 
public static const SELECTED_PERIOD_CHANGE:String = selectedPeriodChange