Packageardisia.scheduling.dataTypes
Classpublic class CalendarDefinitionData
InheritanceCalendarDefinitionData Inheritance Object

Defines the objects used to describe specific user calendars. For example, a "work", or a "personal" calendar. All renderers and RendererData objects contain a reference to the CalendarDefinitionData object associated with them.

The properties are flexible and each property is optional. Add whatever properties you would like your renderers to have. By default, properties like "backgroundColor" exist to instruct the renderer on what color to draw its background, but developers can change/add/delete properties as they see fit.

For example, if you want certain calendars to display a red border, add a "redBorder" boolean property to this class and then the renderers can reference the "redBorder" property and draw a red border as required.

CalendarDefinitionData is not only useful for visual properties. User access and editing rights can be added to these objects. By default, the "editable" property is a easy way to disable/enable user editing to the underlying data.

Extend the class as needed.



Public Properties
 PropertyDefined By
  color : uint = 0x9FC6E7
The color used to represent the calendar
CalendarDefinitionData
  description : String
A a more detailed description of the calendar than the "title" property.
CalendarDefinitionData
  editable : Boolean = true
Indicates whether the user has editing rights for event associated with this calendar.
CalendarDefinitionData
  enabled : Boolean = true
Whether or not to display the renderer data associated with this object.
CalendarDefinitionData
  id : int
A unique numerical id for the calendar.
CalendarDefinitionData
  title : String
A short title for the calendar.
CalendarDefinitionData
Property Detail
colorproperty
public var color:uint = 0x9FC6E7

The color used to represent the calendar

The default value is 0 (blue esque).

descriptionproperty 
public var description:String

A a more detailed description of the calendar than the "title" property.

The default value is "".

editableproperty 
public var editable:Boolean = true

Indicates whether the user has editing rights for event associated with this calendar.

The default value is true.

enabledproperty 
public var enabled:Boolean = true

Whether or not to display the renderer data associated with this object.

The default value is true.

idproperty 
public var id:int

A unique numerical id for the calendar.

The default value is 0.

titleproperty 
public var title:String

A short title for the calendar. E.G. "Work".

The default value is "".