Packagecom.flexcalendar.components.calendar.mouseHandling
Classpublic class DayViewDragManager
InheritanceDayViewDragManager Inheritance DayViewBasicDragManager Inheritance BasicDragManager Inheritance Object

Class responsible for moving and resizing item renderers in day view.



Protected Properties
 PropertyDefined By
 Inheritedcontext : ICalendarContext
Calendar's context;
BasicDragManager
 InheriteddragStartGlobalPosition : Point
Start position of dragging.
BasicDragManager
 InheritedrendererContainer : IRenderersContainer
DayViewBasicDragManager
 InheritedrenderersContainer : IRenderersContainer
Container of renderers for that drag manager.
BasicDragManager
 InheritedselectedRenderer : ICalendarItemRenderer
Selected renderer.
BasicDragManager
 InheritedupdateCallback : Function
DayViewBasicDragManager
Public Methods
 MethodDefined By
  
DayViewDragManager(context:ICalendarContext, dayViewContainer:DayViewContainer, updateCallback:Function)
Creates instance of DayViewDragManager
DayViewDragManager
  
Mouse double click on item renderer handler.
DayViewDragManager
  
mouseDownOnItemRendererHandler(event:MouseEvent):void
Mouse down on item renderer handler.
DayViewDragManager
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]
DayViewDragManager
 Inherited
dispatchDropEvent(event:DragEvent):void
Dispatch {
BasicDragManager
  
[override]
DayViewDragManager
  
[override]
DayViewDragManager
  
DayViewDragManager
  
DayViewDragManager
  
moveDraggedItemDetails(event:DragEvent):void
[override]
DayViewDragManager
 Inherited
DayViewBasicDragManager
 Inherited
BasicDragManager
  
resizeItemDetails(event:MouseEvent):void
[override]
DayViewDragManager
Constructor Detail
DayViewDragManager()Constructor
public function DayViewDragManager(context:ICalendarContext, dayViewContainer:DayViewContainer, updateCallback:Function)

Creates instance of DayViewDragManager

Parameters
context:ICalendarContext — ICalendarContext instance
 
dayViewContainer:DayViewContainer — DayViewContainer 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

getSelectedItemSet()method 
override protected function getSelectedItemSet():ICalendarItemSet

Returns
ICalendarItemSet
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 down on item renderer handler. This function handles renderer movement or dispatches CalendarMouseEvent.CALENDAR_RENDERER_MOUSE_CLICK.

Parameters

event:MouseEvent — MouseEvent

mouseMoveDuringItemRendererDragHandler()method 
protected function mouseMoveDuringItemRendererDragHandler(event:MouseEvent):void

Parameters

event:MouseEvent

mouseUpDuringItemRendererDragHandler()method 
protected function mouseUpDuringItemRendererDragHandler(event:MouseEvent):void

Parameters

event: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