Packagecom.flexcalendar.components.calendar.events
Classpublic class CalendarMouseEvent
InheritanceCalendarMouseEvent Inheritance CalendarMouseBaseEvent Inheritance flash.events.Event

Event dispatched when user clicks on calendar components



Public Properties
 PropertyDefined By
  calendarItemSet : ICalendarItemSet
Item set to add event.
CalendarMouseEvent
  CALENDAR_MOUSE_CLICK : String = calendarMouseClick
[static] Click on calendar free space.
CalendarMouseEvent
  CALENDAR_MOUSE_DOUBLE_CLICK : String = calendarMouseDoubleClick
[static] Double click on calendar free space.
CalendarMouseEvent
  CALENDAR_RENDERER_MOUSE_CLICK : String = calendarRendererMouseClick
[static] Click on one of editable calendar renderers.
CalendarMouseEvent
  CALENDAR_RENDERER_MOUSE_DOUBLE_CLICK : String = calendarRendererMouseDoubleClick
[static] Double click on one fo calendar renderers.
CalendarMouseEvent
  CALENDAR_SPACE_RENDERER_MOUSE_CLICK : String = calendarSpaceRendererMouseClick
[static] Click on one of calendar space renderers.
CalendarMouseEvent
  CALENDAR_SPACE_RENDERER_MOUSE_DOUBLE_CLICK : String = calendarSpaceRendererMouseDoubleClick
[static] Double click on one of calendar space renderers.
CalendarMouseEvent
  event : MouseEvent
Associated mouse event.
CalendarMouseEvent
  item : ICalendarItem
Associated calendar item (CALENDAR_RENDERER_MOUSE_CLICK only)
CalendarMouseEvent
  preferredTimeInMills : Number
Preferred time of newly created item (CALENDAR_MOUSE_CLICK only)
CalendarMouseEvent
  READONLY_CALENDAR_RENDERER_MOUSE_CLICK : String = readonlyCalendarRendererMouseClick
[static] Click on one of read only calendar renderers.
CalendarMouseEvent
 InheritedrenderersContainer : IRenderersContainer
Container of items in actual view
CalendarMouseBaseEvent
  selectedDate : Date
Selected date: computed by pointToDate() function on grid or header or star date of selected item
CalendarMouseEvent
Public Methods
 MethodDefined By
  
CalendarMouseEvent(type:String, event:MouseEvent)
Create new instance of CalendarMouseEvent
CalendarMouseEvent
Property Detail
CALENDAR_MOUSE_CLICKproperty
public static var CALENDAR_MOUSE_CLICK:String = calendarMouseClick

Click on calendar free space. When dispatched:

CALENDAR_MOUSE_DOUBLE_CLICKproperty 
public static var CALENDAR_MOUSE_DOUBLE_CLICK:String = calendarMouseDoubleClick

Double click on calendar free space. When dispatched:

CALENDAR_RENDERER_MOUSE_CLICKproperty 
public static var CALENDAR_RENDERER_MOUSE_CLICK:String = calendarRendererMouseClick

Click on one of editable calendar renderers. When dispatched:

CALENDAR_RENDERER_MOUSE_DOUBLE_CLICKproperty 
public static var CALENDAR_RENDERER_MOUSE_DOUBLE_CLICK:String = calendarRendererMouseDoubleClick

Double click on one fo calendar renderers. When dispatched:

CALENDAR_SPACE_RENDERER_MOUSE_CLICKproperty 
public static var CALENDAR_SPACE_RENDERER_MOUSE_CLICK:String = calendarSpaceRendererMouseClick

Click on one of calendar space renderers. When dispatched:

CALENDAR_SPACE_RENDERER_MOUSE_DOUBLE_CLICKproperty 
public static var CALENDAR_SPACE_RENDERER_MOUSE_DOUBLE_CLICK:String = calendarSpaceRendererMouseDoubleClick

Double click on one of calendar space renderers. When dispatched:

calendarItemSetproperty 
public var calendarItemSet:ICalendarItemSet

Item set to add event. Is set for event {

eventproperty 
public var event:MouseEvent

Associated mouse event. Provides handy way for getting click position.

itemproperty 
public var item:ICalendarItem

Associated calendar item (CALENDAR_RENDERER_MOUSE_CLICK only)

preferredTimeInMillsproperty 
public var preferredTimeInMills:Number

Preferred time of newly created item (CALENDAR_MOUSE_CLICK only)

READONLY_CALENDAR_RENDERER_MOUSE_CLICKproperty 
public static var READONLY_CALENDAR_RENDERER_MOUSE_CLICK:String = readonlyCalendarRendererMouseClick

Click on one of read only calendar renderers. When dispatched:

selectedDateproperty 
public var selectedDate:Date

Selected date: computed by pointToDate() function on grid or header or star date of selected item

Constructor Detail
CalendarMouseEvent()Constructor
public function CalendarMouseEvent(type:String, event:MouseEvent)

Create new instance of CalendarMouseEvent

Parameters
type:String — event type
 
event:MouseEvent — associated mouse event