beautypg.com

Getlayerforoccupied(), Setlayerforevenfieldfill(int), Setlayerforoccupied(int) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 105: Getlayerforoccupied, Setlayerforevenfieldfill, Setlayerforoccupied

background image

(continued from last page)

Property: The layer index for the decorator that paints the even date ranges. It can for instance be used to draw every other
month in a darker color.

This property affect the order in which the different layers are painted, and thus what gets painted on top of what. Lower
layer indexes will be painted first and will end up below layers with higher index. Everything that is painted in a date area
is painted in layers, and the layers are implemented with

com.miginfocom.calendar.decorators.Decorator

s.

Returns:

The current index.

See Also:

EvenFieldFillDecorator

addDecorator(com.miginfocom.calendar.decorators.Decorator)

setLayerForEvenFieldFill

public void setLayerForEvenFieldFill(int i)

Property: The layer index for the decorator that paints the even date ranges. It can for instance be used to draw every other
month in a darker color.

This property affect the order in which the different layers are painted, and thus what gets painted on top of what. Lower
layer indexes will be painted first and will end up below layers with higher index. Everything that is painted in a date area
is painted in layers, and the layers are implemented with

com.miginfocom.calendar.decorators.Decorator

s.

Parameters:

i

- The new layer for the decorator.

See Also:

EvenFieldFillDecorator

getLayerForOccupied

public int getLayerForOccupied()

Property: The layer index for the decorator that decorates the parts of the cells that has an activity which date range spans
that time. For instance Microsoft's Outlook has this in it's day(s) view. It paints blue on the left side of those cells. This
decoration is quite flexible and can paint the background for the whole cells or just parts of it.

This property affect the order in which the different layers are painted, and thus what gets painted on top of what. Lower
layer indexes will be painted first and will end up below layers with higher index. Everything that is painted in a date area
is painted in layers, and the layers are implemented with

com.miginfocom.calendar.decorators.Decorator

s.

Returns:

The current index.

See Also:

OccupiedDecorator

addDecorator(com.miginfocom.calendar.decorators.Decorator)

setLayerForOccupied

public void setLayerForOccupied(int i)

Property: The layer index for the decorator that decorates the parts of the cells that has an activity which date range spans
that time. For instance Microsoft's Outlook has this in it's day(s) view. It paints blue on the left side of those cells. This
decoration is quite flexible and can paint the background for the whole cells or just parts of it.

This property affect the order in which the different layers are painted, and thus what gets painted on top of what. Lower
layer indexes will be painted first and will end up below layers with higher index. Everything that is painted in a date area
is painted in layers, and the layers are implemented with

com.miginfocom.calendar.decorators.Decorator

s.

Page 105 of 196

com.miginfocom.beans.DateAreaBean