beautypg.com

Getlayerfordividers(), Getlayerforselections(), Setlayerfordividers(int) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 103: Getlayerfordividers, Getlayerforselections, Setlayerfordividers

background image

(continued from last page)

Property: The layer index for the decorator that paints the grid lines.

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:

GridLineDecorator

getLayerForDividers

public int getLayerForDividers()

Property: The layer index for the decorator that paints the dividers between some date ranges. For example a darker line
between months.

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:

DateSeparatorDecorator

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

setLayerForDividers

public void setLayerForDividers(int i)

Property: The layer index for the decorator that paints the dividers between some date ranges. For example a darker line
between months.

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:

DateSeparatorDecorator

getLayerForSelections

public int getLayerForSelections()

Property: The layer index for the decorator that paints the mouse over, selected and temporary pressed selections in the
grid. It has nothing to do with selection of activities, but all to do with selection of cells in the date grid.

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.

Page 103 of 196

com.miginfocom.beans.DateAreaBean