Packagecom.flexcalendar.components.calendar.mouseHandling
Classpublic class MonthViewDragManager
InheritanceMonthViewDragManager Inheritance BasicDragManager Inheritance Object

Class responsible for moving item renderers in month view.



Protected Properties
 PropertyDefined By
 Inheritedcontext : ICalendarContext
Calendar's context;
BasicDragManager
 InheriteddragStartGlobalPosition : Point
Start position of dragging.
BasicDragManager
 InheritedrenderersContainer : IRenderersContainer
Container of renderers for that drag manager.
BasicDragManager
 InheritedselectedRenderer : ICalendarItemRenderer
Selected renderer.
BasicDragManager
Public Methods
 MethodDefined By
  
MonthViewDragManager(context:ICalendarContext, monthViewContainer:MonthViewContainer, updateCallback:Function)
Creates instance of MonthViewDragManager
MonthViewDragManager
  
Mouse double click on item renderer handler.
MonthViewDragManager
  
mouseDownOnItemRendererHandler(event:MouseEvent):void
Mouse handler of item renderer
MonthViewDragManager
Protected Methods
 MethodDefined By
 Inherited
Add event listeners to grid.
BasicDragManager
 Inherited
canAddCalendarItem(event:MouseEvent):Boolean
Check if is allowed to add calendar item.
BasicDragManager
  
createAddedCalendarEventRenderer(event:MouseEvent):void
[override]
MonthViewDragManager
 Inherited
dispatchDropEvent(event:DragEvent):void
Dispatch {
BasicDragManager
 Inherited
Get selected item set where add calendar item.
BasicDragManager
  
[override]
MonthViewDragManager
  
moveDraggedItemDetails(event:DragEvent):void
[override]
MonthViewDragManager
 Inherited
BasicDragManager
  
resizeItemDetails(event:MouseEvent):void
[override]
MonthViewDragManager
Constructor Detail
MonthViewDragManager()Constructor
public function MonthViewDragManager(context:ICalendarContext, monthViewContainer:MonthViewContainer, updateCallback:Function)

Creates instance of MonthViewDragManager

Parameters
context:ICalendarContext — ICalendarContext instance
 
monthViewContainer:MonthViewContainer — monthViewContainer instance
 
updateCallback:Function — update callback, called when new position is calculated and committed
Method Detail
createAddedCalendarEventRenderer()method
override protected function createAddedCalendarEventRenderer(event:MouseEvent):void

Parameters

event:MouseEvent

isAvailableSpace()method 
override protected function isAvailableSpace():Boolean

Returns
Boolean
mouseDoubleClickOnItemRendererHandler()method 
public function mouseDoubleClickOnItemRendererHandler(event:MouseEvent):void

Mouse double click on item renderer handler. This function dispatches of CalendarMouseEvent.CALENDAR_RENDERER_MOUSE_DOUBLE_CLICK.

Parameters

event:MouseEvent — MouseEvent

mouseDownOnItemRendererHandler()method 
public function mouseDownOnItemRendererHandler(event:MouseEvent):void

Mouse handler of item renderer

Parameters

event:MouseEvent — MouseEvent

moveDraggedItemDetails()method 
override protected function moveDraggedItemDetails(event:DragEvent):void

Parameters

event:DragEvent

resizeItemDetails()method 
override protected function resizeItemDetails(event:MouseEvent):void

Parameters

event:MouseEvent