Getoccupiedroundtorangetype(), Setoccupiedmergeoverlapping(boolean), Setoccupiedroundtorangetype(integer) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 112: Getoccupiedroundtorangetype, Setoccupiedmergeoverlapping, Setoccupiedroundtorangetype

Advertising
background image

(continued from last page)

Property: If occupied activity ranges that overlap should be combined (merged) before draing the occupied rects.

This is a property that affects the visual representation of the occupied decorator. It can be used to paint different
backgrounds/outlines for parts is the date area that has a activity overlapping and not. For instance the blue left side in
Microoft Outlook's day views can easily be simulated with this.

Returns:

The current value of the property.

See Also:

OccupiedDecorator

setOccupiedMergeOverlapping

public void setOccupiedMergeOverlapping(boolean b)

Property: If occupied activity ranges that overlap should be combined (merged) before draing the occupied rects.

This is a property that affects the visual representation of the occupied decorator. It can be used to paint different
backgrounds/outlines for parts is the date area that has a activity overlapping and not. For instance the blue left side in
Microoft Outlook's day views can easily be simulated with this.

Parameters:

b

- The new value for the property.

See Also:

OccupiedDecorator

getOccupiedRoundToRangeType

public Integer getOccupiedRoundToRangeType()

Property: If occupied ranges should be rounded to a range type (e.g. a day or hour). This is for showing (for instance) that a
day is "occupied" even if just a part of it is.

This is a property that affects the visual representation of the occupied decorator. It can be used to paint different
backgrounds/outlines for parts is the date area that has a activity overlapping and not. For instance the blue left side in
Microoft Outlook's day views can easily be simulated with this.

Returns:

The current value of the property. E.g.

RANGE_TYPE_DAY

. May be

null

.

See Also:

OccupiedDecorator

setOccupiedRoundToRangeType

public void setOccupiedRoundToRangeType(Integer rangeType)

Property: If occupied activity ranges that overlap should be combined (merged) before draing the occupied rects.

This is a property that affects the visual representation of the occupied decorator. It can be used to paint different
backgrounds/outlines for parts is the date area that has a activity overlapping and not. For instance the blue left side in
Microoft Outlook's day views can easily be simulated with this.

Parameters:

rangeType

- The new value for the property. If

null

there will be no rounding (default).

See Also:

OccupiedDecorator

Page 112 of 196

com.miginfocom.beans.DateAreaBean

Advertising