Getdividerpaint(), Getdividerrangetype(), Getevenrangetypecount() – MiG InfoCom MiG Calendar JavaBeans User Manual
Page 135: Setdividerpaint(paint), Setevenrangetypecount(int), Getdividerpaint, Getdividerrangetype, Getevenrangetypecount, Setdividerpaint, Setevenrangetypecount
![background image](https://www.manualsdir.com/files/798675/content/doc135.png)
(continued from last page)
Parameters:
rangeType
- The new date range type. E.g.
DateRangeI.RANGE_TYPE_MONTH
.
getEvenRangeTypeCount
public int getEvenRangeTypeCount()
that should be bunched up and be called as one. If for instance this value
is 3 and the type is
DateRangetI.RANGE_TYPE_DAY
then day 0, 1, 2 will be painted with the even paint. 3, 4, 5 will not
be painted. 6, 7, 8 will be painted with the even painte again and so on.
Returns:
The current date range type count.
setEvenRangeTypeCount
public void setEvenRangeTypeCount(int count)
that should be bunched up and be called as one. If for instance this value
is 3 and the type is
DateRangetI.RANGE_TYPE_DAY
then day 0, 1, 2 will be painted with the even paint. 3, 4, 5 will not
be painted. 6, 7, 8 will be painted with the even painte again and so on.
Parameters:
count
- The new date range type count.
getDividerPaint
public java.awt.Paint getDividerPaint()
Property: The paint used to draw separator lines between some date ranges, for instance months.
Returns:
The current paint. May be
null
.
See Also:
setDividerPaint
public void setDividerPaint(java.awt.Paint paint)
Property: The paint used to draw separator lines between some date ranges, for instance months.
Parameters:
paint
- The new paint. May be
null
.
See Also:
getDividerRangeType
public int getDividerRangeType()
Property: The type of the divider range (e.g. day, week, month). If the divider should be drawn between months for
instance this value should be
RANGE_TYPE_MONTH
.
Returns:
The current divider date range type. E.g.
DateRangeI.RANGE_TYPE_MONTH
.
Page 135 of 196
com.miginfocom.beans.DateAreaBean