Getevenboundarypaint(), Getevenrangetype(), Setevenboundarypaint(paint) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 134: Setevenrangetype(int), Setoddcolumnpaint(paint), Getevenboundarypaint, Getevenrangetype, Property: how many of, Setevenboundarypaint, Java.awt.paint

Advertising
background image

(continued from last page)

Returns:

The current paint. May be

null

.

setOddColumnPaint

public void setOddColumnPaint(java.awt.Paint paint)

Property: The paint to paint for all odd columns. May be

null

.

Parameters:

paint

- The new paint. May be

null

.

getEvenBoundaryPaint

public java.awt.Paint getEvenBoundaryPaint()

Property: The paint used to fill all even (0, 2, 4...) date ranges of the date area. For instance every even month. The odd
date ranges will get the background color of the date area since they are not painted at all. Use

getEvenRangeType()

and

getEvenRangeTypeCount()

to set the range type/count.

Returns:

The current paint. May be

null

.

See Also:

getEvenRangeType()

getEvenRangeTypeCount()

setEvenBoundaryPaint

public void setEvenBoundaryPaint(java.awt.Paint paint)

Property: The paint used to fill all even (0, 2, 4...) date ranges of the date area. For instance every even month. The odd
date ranges will get the background color of the date area since they are not painted at all. Use

getEvenRangeType()

and

getEvenRangeTypeCount()

to set the range type/count.

Parameters:

paint

- The new paint. May be

null

.

See Also:

setEvenRangeType(int)

setEvenRangeTypeCount(int)

getEvenRangeType

public int getEvenRangeType()

Property: The date range type (i.e. Unit. E.g. day, week, month) that the paint boundary have. If for instance every second
month should be painted in another color this property should be set to

DateRangeI.RANGE_TYPE_MONTH

.

Returns:

The current date range type. E.g.

DateRangeI.RANGE_TYPE_MONTH

.

setEvenRangeType

public void setEvenRangeType(int rangeType)

Property: The date range type (i.e. Unit. E.g. day, week, month) that the paint boundary have. If for instance every second
month should be painted in another color this property should be set to

DateRangeI.RANGE_TYPE_MONTH

.

Page 134 of 196

com.miginfocom.beans.DateAreaBean

Advertising