Getgapminutesmax(), Getlengthminutesmin(), Getroundtominutes() – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 161: Setgapminutesmax(int), Setgapminutesmin(int), Setroundtominutes(int), Getgapminutesmax, Getlengthminutesmin, Getroundtominutes, Setgapminutesmax

Advertising
background image

(continued from last page)

setGapMinutesMin

public void setGapMinutesMin(int minutes)

Property: The minimum minutes that has to pass between two generated activities. If a negative value they may sometimes
overlap.

This method will recreated the demo data which may take some time.

Parameters:

minutes

- The new number of minutes. May be negative.

getGapMinutesMax

public int getGapMinutesMax()

Property: The maximum minutes that should pass between two generated activities. Should not be negative.

Returns:

The current number of minutes. Not negative.

setGapMinutesMax

public void setGapMinutesMax(int minutes)

Property: The maximum minutes that should pass between two generated activities. Should not be negative.

This method will recreated the demo data which may take some time.

Parameters:

minutes

- The new number of minutes. Not negative.

getRoundToMinutes

public int getRoundToMinutes()

Property: The number of minutes to round to. For instance if

5

all activities start and end times will be rounded to five

minutes intervals (0, 5, 10, 15 etc..).

Returns:

The current value.

setRoundToMinutes

public void setRoundToMinutes(int minutes)

Property: The number of minutes to round to. For instance if

5

all activities start and end times will be rounded to five

minutes intervals (0, 5, 10, 15 etc..).

This method will recreated the demo data which may take some time.

Parameters:

minutes

- The new value.

getLengthMinutesMin

public int getLengthMinutesMin()

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

Page 161 of 196

com.miginfocom.beans.DemoDataBean

Advertising