Getselectionmouseoverpaint(), Setselectionmouseoverpaint(paint), Setverticalgridlineexceptions(gridlineexception[]) – MiG InfoCom MiG Calendar JavaBeans User Manual
Page 131: Getselectionmouseoverpaint, Setselectionmouseoverpaint, Java.awt.paint, Setverticalgridlineexceptions, Gridlineexception

(continued from last page)
Property: Grid line exceptions makes it very fleible to override the gridline size and color in a structured way. Examples of
exceptions is:
Every fourth grid line.
•
Every grid line that is on a day boundary (any date range type).
•
Every grid line on an hour boundary but only for hours 8 to 16.
•
You can have several exceptions (as this property is an array) each capable of the above list and if the first exception is not
a "hit" then the next one will be evaluated and so on until the array is finnished and the grid line used will be the default
one.
To really understand how flexible and powerful this feature is see the "Repetitions" section in the FAQ document.
Returns:
The exceptions or zero length if no exteptions to the grid lines exist (default). Never
null
.
setVerticalGridLineExceptions
public void setVerticalGridLineExceptions(GridLineException[] exceptions)
Property: Grid line exceptions makes it very fleible to override the gridline size and color in a structured way. Examples of
exceptions is:
Every fourth grid line.
•
Every grid line that is on a day boundary (any date range type).
•
Every grid line on an hour boundary but only for hours 8 to 16.
•
You can have several exceptions (as this property is an array) each capable of the above list and if the first exception is not
a "hit" then the next one will be evaluated and so on until the array is finnished and the grid line used will be the default
one.
To really understand how flexible and powerful this feature is see the "Repetitions" section in the FAQ document.
Parameters:
exceptions
- The exceptions or zero length if no exteptions to the grid lines exist (default). Never
null
.
getSelectionMouseOverPaint
public java.awt.Paint getSelectionMouseOverPaint()
Property: The paint used to fill the cells that the mouse is over.
null
indicated no mouse over painting.
Returns:
The current paint. May be
null
.
See Also:
setDateRangeSelection(com.miginfocom.util.dates.DateRangeI, int, boolean)
setSelectionMouseOverPaint
public void setSelectionMouseOverPaint(java.awt.Paint paint)
Property: The paint used to fill the cells that the mouse is over.
null
indicated no mouse over painting.
Parameters:
paint
- The new paint. May be
null
.
See Also:
setDateRangeSelection(com.miginfocom.util.dates.DateRangeI, int, boolean)
Page 131 of 196
com.miginfocom.beans.DateAreaBean