Packagecom.flexcalendar.components.calendar.mouseHandling
Classpublic class CalendarCursorManager
InheritanceCalendarCursorManager Inheritance Object

Class responsible for handling mouse cursor over FlexCalendar component



Public Properties
 PropertyDefined By
  addCursor : Class
CalendarCursorManager
  blockCursor : Class
CalendarCursorManager
  moveCursor : Class
CalendarCursorManager
  resizeCursor : Class
CalendarCursorManager
Protected Properties
 PropertyDefined By
  getCurrentRendererFunction : Function
Function for getting current renderer
CalendarCursorManager
  lastComputedPositionFunction : int = 0
Last function get from item renderer.
CalendarCursorManager
  mouseCursorId : int = -1
Index of currently used cursor
CalendarCursorManager
  setCurrentRendererFunction : Function
Function for setting current renderer
CalendarCursorManager
Public Methods
 MethodDefined By
  
CalendarCursorManager(getCurrentRendererFunction:Function, setCurrentRendererFunction:Function)
Default constructor
CalendarCursorManager
  
enterFrameHandler(event:Event):void
Handler for ENTER_FRAME event, performing some internal functions.
CalendarCursorManager
  
mouseRollOutRendererHandler(event:MouseEvent):void
Handler for ROLL_OUT from item renderers.
CalendarCursorManager
  
mouseRollOverRendererHandler(event:MouseEvent):void
Handler for ROLL_OVER event to item renderers.
CalendarCursorManager
Property Detail
addCursorproperty
public var addCursor:Class

blockCursorproperty 
public var blockCursor:Class

getCurrentRendererFunctionproperty 
protected var getCurrentRendererFunction:Function

Function for getting current renderer

lastComputedPositionFunctionproperty 
protected var lastComputedPositionFunction:int = 0

Last function get from item renderer. Possible values are described in the CalendarRendererPositionFunction class and include: - NONE (no resizing or moving) - RESIZE - MOVE - ADD - BLOCKED

See also

mouseCursorIdproperty 
protected var mouseCursorId:int = -1

Index of currently used cursor

moveCursorproperty 
public var moveCursor:Class

resizeCursorproperty 
public var resizeCursor:Class

setCurrentRendererFunctionproperty 
protected var setCurrentRendererFunction:Function

Function for setting current renderer

Constructor Detail
CalendarCursorManager()Constructor
public function CalendarCursorManager(getCurrentRendererFunction:Function, setCurrentRendererFunction:Function)

Default constructor

Parameters
getCurrentRendererFunction:Function
 
setCurrentRendererFunction:Function
Method Detail
enterFrameHandler()method
public function enterFrameHandler(event:Event):void

Handler for ENTER_FRAME event, performing some internal functions. Responsible for changing cursor over item renders.

Parameters

event:Event — ENTER_FRAME Event object

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

Handler for ROLL_OUT from item renderers. Responsible or clearing currentRenderer property and restoring normal cursor.

Parameters

event:MouseEvent

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

Handler for ROLL_OVER event to item renderers. Responsible for selecting currentRenderer property

Parameters

event:MouseEvent