Demodatabean(), Isenabled(), Demodatabean – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 156: Isenabled, Constructors, Methods

Advertising
background image

void

setGapMinutesMax

(int minutes)

Property: The maximum minutes that should pass between two generated activities.

void

setGapMinutesMin

(int minutes)

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

void

setLengthMinutesMax

(int minutes)

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

void

setLengthMinutesMin

(int minutes)

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

void

setLocale

(Locale locale)

Property: The locale to set for every created

com.miginfocom.calendar.activity.Activity

.

void

setMaxActivityCount

(int count)

Property: The maximum number of activities generated.

void

setOnlyDesignTime

(boolean b)

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

void

setRoundToMinutes

(int minutes)

Property: The number of minutes to round to.

void

setSummaryTexts

(String sumTexts)

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

void

setTimeZone

(TimeZone timeZone)

Property: The time zone to set for every created

com.miginfocom.calendar.activity.Activity

.

Methods inherited from class

java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

DemoDataBean

public DemoDataBean()

Methods

isEnabled

public boolean isEnabled()

Property: If the demo data bean is enabled or not. If not enabled the demo data will never be created.

Returns:

If the demo data bean is enabled or not.

Page 156 of 196

com.miginfocom.beans.DemoDataBean

Advertising