ColorsInfo

Inheritance: java.lang.Object

public class ColorsInfo

Contains colors definition for calendars and events

Constructors

Constructor Description
ColorsInfo() Initializes a new instance of the ColorsInfo class.
ColorsInfo(Date updated, System.Collections.Generic.Dictionary<String,Colors> calendar, System.Collections.Generic.Dictionary<String,Colors> evnt) Initializes a new instance of the ColorsInfo class.

Fields

Field Description
KIND Type of the resource ‘calendar#colors’.

Methods

Method Description
getUpdated() Last modification time of the color palette.
setUpdated(Date value) Last modification time of the color palette.
getCalendar() Palette of calendar colors, mapping from the color ID to its definition.
getEvent() Palette of event colors, mapping from the color ID to its definition.

ColorsInfo()

public ColorsInfo()

Initializes a new instance of the ColorsInfo class.

ColorsInfo(Date updated, System.Collections.Generic.Dictionary<String,Colors> calendar, System.Collections.Generic.Dictionary<String,Colors> evnt)

public ColorsInfo(Date updated, System.Collections.Generic.Dictionary<String,Colors> calendar, System.Collections.Generic.Dictionary<String,Colors> evnt)

Initializes a new instance of the ColorsInfo class.

Parameters:

Parameter Type Description
updated java.util.Date Last modification time of the color palette.
calendar com.aspose.ms.System.Collections.Generic.Dictionary<java.lang.String,com.aspose.email.Colors> Palette of calendar colors, mapping from the color ID to its definition.
evnt com.aspose.ms.System.Collections.Generic.Dictionary<java.lang.String,com.aspose.email.Colors> Palette of event colors, mapping from the color ID to its definition.

KIND

public static final String KIND

Type of the resource ‘calendar#colors’.

getUpdated()

public final Date getUpdated()

Last modification time of the color palette.

Returns: java.util.Date

setUpdated(Date value)

public final void setUpdated(Date value)

Last modification time of the color palette.

Parameters:

Parameter Type Description
value java.util.Date

getCalendar()

public final System.Collections.Generic.Dictionary<String,Colors> getCalendar()

Palette of calendar colors, mapping from the color ID to its definition. An ‘calendarListEntry’ resource refers to one of these color IDs in its ‘color’ field.

Returns: com.aspose.ms.System.Collections.Generic.Dictionary<java.lang.String,com.aspose.email.Colors>

getEvent()

public final System.Collections.Generic.Dictionary<String,Colors> getEvent()

Palette of event colors, mapping from the color ID to its definition. An ’event’ resource may refer to one of these color IDs in its ‘color’ field.

Returns: com.aspose.ms.System.Collections.Generic.Dictionary<java.lang.String,com.aspose.email.Colors>