Getdividerpaint(), Getdividerrangetype(), Getevenrangetypecount() – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 135: Setdividerpaint(paint), Setevenrangetypecount(int), Getdividerpaint, Getdividerrangetype, Getevenrangetypecount, Setdividerpaint, Setevenrangetypecount

Advertising
background image

(continued from last page)

Parameters:

rangeType

- The new date range type. E.g.

DateRangeI.RANGE_TYPE_MONTH

.

getEvenRangeTypeCount

public int getEvenRangeTypeCount()

Property: How many of

getEvenRangeType()

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)

Property: How many of

getEvenRangeType()

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:

getDividerRangeType()

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:

setDividerRangeType(int)

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

Advertising