Packagecom.flexcalendar.components.calendar.mouseHandling
Classpublic class DayViewHeaderDragManager
InheritanceDayViewHeaderDragManager Inheritance DayViewBasicDragManager Inheritance BasicDragManager Inheritance Object

Class responsible for moving item renderers in header of 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
  
DayViewHeaderDragManager(context:ICalendarContext, dayViewContainer:DayViewContainer, updateCallback:Function)
Create mouse manager manager for day view header
DayViewHeaderDragManager
  
Mouse double click on item renderer handler.
DayViewHeaderDragManager
  
mouseDownOnItemRendererHandler(event:MouseEvent):void
Mouse handler of item renderer
DayViewHeaderDragManager
Protected Methods
 MethodDefined By
 Inherited
Add event listeners to grid.
BasicDragManager
  
canAddCalendarItem(event:MouseEvent):Boolean
[override]
DayViewHeaderDragManager
  
createAddedCalendarEventRenderer(event:MouseEvent):void
[override]
DayViewHeaderDragManager
 Inherited
dispatchDropEvent(event:DragEvent):void
Dispatch {
BasicDragManager
 Inherited
Get selected item set where add calendar item.
BasicDragManager
  
[override]
DayViewHeaderDragManager
  
moveDraggedItemDetails(event:DragEvent):void
[override]
DayViewHeaderDragManager
 Inherited
DayViewBasicDragManager
 Inherited
BasicDragManager
  
resizeItemDetails(event:MouseEvent):void
[override]
DayViewHeaderDragManager
Constructor Detail
DayViewHeaderDragManager()Constructor
public function DayViewHeaderDragManager(context:ICalendarContext, dayViewContainer:DayViewContainer, updateCallback:Function)

Create mouse manager manager for day view header

Parameters
context:ICalendarContext — ICalendarContext instance
 
dayViewContainer:DayViewContainer
 
updateCallback:Function
Method Detail
canAddCalendarItem()method
override protected function canAddCalendarItem(event:MouseEvent):Boolean

Parameters

event:MouseEvent

Returns
Boolean
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