Packagecom.flexcalendar.components.calendar.events
Classpublic class AlarmEvent
InheritanceAlarmEvent Inheritance flash.events.Event
Implements flash.events.IEventDispatcher

This event is dispatched for CalendarItems with alarm set.



Public Properties
 PropertyDefined By
  CALENDAR_ALARM_EVENT : String = calendarAlarmEvent
[static] Calendar alarm event id
AlarmEvent
  eventCreationTime : Date
Event creation date
AlarmEvent
  itemDetails : ItemDetails
Calendar item details, for which event is dispatched
AlarmEvent
Public Methods
 MethodDefined By
  
AlarmEvent(itemDetails:ItemDetails)
Default constructor
AlarmEvent
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
AlarmEvent
  
dispatchEvent(event:Event):Boolean
AlarmEvent
  
hasEventListener(type:String):Boolean
AlarmEvent
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
AlarmEvent
  
willTrigger(type:String):Boolean
AlarmEvent
Property Detail
CALENDAR_ALARM_EVENTproperty
public static var CALENDAR_ALARM_EVENT:String = calendarAlarmEvent

Calendar alarm event id

eventCreationTimeproperty 
eventCreationTime:Date

Event creation date

This property can be used as the source for data binding.


Implementation
    public function get eventCreationTime():Date
    public function set eventCreationTime(value:Date):void
itemDetailsproperty 
itemDetails:ItemDetails

Calendar item details, for which event is dispatched

This property can be used as the source for data binding.


Implementation
    public function get itemDetails():ItemDetails
    public function set itemDetails(value:ItemDetails):void
Constructor Detail
AlarmEvent()Constructor
public function AlarmEvent(itemDetails:ItemDetails)

Default constructor

Parameters
itemDetails:ItemDetails — alarming item
Method Detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
weakRef:Boolean (default = false)

dispatchEvent()method 
public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

Returns
Boolean
hasEventListener()method 
public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
Boolean
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

willTrigger()method 
public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean