Getlayerforactivities(), Getlayerforgridlines(), Setlayerforactivities(int) – MiG InfoCom MiG Calendar JavaBeans User Manual
Page 102: Setlayerforgridlines(int), Getlayerforactivities, Getlayerforgridlines, Setlayerforactivities, Setlayerforgridlines

(continued from last page)
Property: If the root category set with
setCategoryRoot(com.miginfocom.calendar.category.Category)
should be shown or if its children should be shown in the first level.
NOTE! Not used if
setSubRowCreator(com.miginfocom.calendar.grid.SubRowCreator)
is
!= null
!
Parameters:
b
- If the root category should be show as the sole root.
getLayerForActivities
public int getLayerForActivities()
Property: The layer index for the decorator that paints the activities.
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:
DefaultDateArea.ActivityViewDecorator
addDecorator(com.miginfocom.calendar.decorators.Decorator)
setLayerForActivities
public void setLayerForActivities(int i)
Property: The layer index for the decorator that paints the activities.
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:
DefaultDateArea.ActivityViewDecorator
getLayerForGridLines
public int getLayerForGridLines()
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.
Returns:
The current index.
See Also:
GridLineDecorator
addDecorator(com.miginfocom.calendar.decorators.Decorator)
setLayerForGridLines
public void setLayerForGridLines(int i)
Page 102 of 196
com.miginfocom.beans.DateAreaBean