beautypg.com

MiG InfoCom MiG Calendar JavaBeans User Manual

Page 155

background image

int

getGapMinutesMin

()

Property: The minimum minutes that has to pass between two generated activities.

int

getLengthMinutesMax

()

Property: The maximum number of minutes that an activity should span.

int

getLengthMinutesMin

()

Property: The minimum number of minutes that an activity should span.

Locale

getLocale

()

Property: The locale to set for every created

com.miginfocom.calendar.activity.Activity

.

int

getMaxActivityCount

()

Property: The maximum number of activities generated.

int

getRoundToMinutes

()

Property: The number of minutes to round to.

String

getSummaryTexts

()

Property: A comma separated list of summaries that will randomly be selected from for
every created activity.

TimeZone

getTimeZone

()

Property: The time zone to set for every created

com.miginfocom.calendar.activity.Activity

.

boolean

isDemoDataCreated

()

Returns if this bean should generate demo data or not.

boolean

isEnabled

()

Property: If the demo data bean is enabled or not.

boolean

isOnlyDesignTime

()

Property: If the demo date should only be created in a design time environment.

void

removeDemoData

()

This method will remove the demo data.

void

setActivityCategories

(String actCats)

Property: A comma separated list of main categories that all activities will get one (random)
of.

void

setActivityDepositoryContext

(String ctx)

Property: The context used to get the depository to put all generated demo activities in.

void

setCategories

(String cats)

Property: A comma separated list with special chars of main categories that will be created
in the

com.miginfocom.calendar.category.CategoryDepository

.

void

setDataDateRange

(ImmutableDateRange dateRange)

Property: The date range that the demo data will be created for.

void

setDescriptionTexts

(String descrTexts)

Property: A comma separated list of description texts that will randomly be selected from
for every created activity.

void

setEnabled

(boolean b)

Property: If the demo data bean is enabled or not.

Page 155 of 196

com.miginfocom.beans.DemoDataBean