Getlayerforevenfieldfill(), Getlayerforlabels(), Setlayerforlabels(int) – MiG InfoCom MiG Calendar JavaBeans User Manual
Page 104: Setlayerforselections(int), Getlayerforevenfieldfill, Getlayerforlabels, Setlayerforlabels, Setlayerforselections
![background image](https://www.manualsdir.com/files/798675/content/doc104.png)
(continued from last page)
See Also:
SelectionGridDecorator
addDecorator(com.miginfocom.calendar.decorators.Decorator)
setLayerForSelections
public void setLayerForSelections(int i)
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.
Parameters:
i
- The new layer for the decorator.
See Also:
SelectionGridDecorator
getLayerForLabels
public int getLayerForLabels()
Property: The layer index for the decorator that paints the labels in the cells. For instance the day number or time.
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:
CellLabelDecorator
addDecorator(com.miginfocom.calendar.decorators.Decorator)
setLayerForLabels
public void setLayerForLabels(int i)
Property: The layer index for the decorator that paints the labels in the cells. For instance the day number or time.
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:
CellLabelDecorator
getLayerForEvenFieldFill
public int getLayerForEvenFieldFill()
Page 104 of 196
com.miginfocom.beans.DateAreaBean