Packagecom.flexcalendar.components.calendar.displayClasses.renderers
Interfacepublic interface ICalendarRenderer extends mx.core.IUIComponent

Base Interface for all renderers.



Public Methods
 MethodDefined By
  
getPositionFunction(x:Number, y:Number):int
Return function associated with mouse pointer position.
ICalendarRenderer
  
Method thats enables RendererClassFactory to inject calendar context into created renderers.
ICalendarRenderer
Method Detail
getPositionFunction()method
public function getPositionFunction(x:Number, y:Number):int

Return function associated with mouse pointer position. Position is checked when user starts drag and drop on the renderer instance and when user moves pointer over renderer. Calendar implementation can change mouse pointer icon accordingly to this value. Possible values are described in the CalendarRendererPositionFunction class and include: - NONE (no resizing or moving) - RESIZE - MOVE - ADD - BLOCKED It's good practice not to change mouse pointer indicator when item is not editable(is read only) unless You change it to BLOCKED.

Parameters

x:Number — x position in component coordinates
 
y:Number — y position in component coordinates

Returns
int — value declared in CalendarRendererPositionFunction class

See also

setContext()method 
public function setContext(context:ICalendarContext):void

Method thats enables RendererClassFactory to inject calendar context into created renderers.

Parameters

context:ICalendarContext