Getoddcolumnpaint(), Getoddrowpaint(), Getselectionboundarytype() – MiG InfoCom MiG Calendar JavaBeans User Manual
Page 133: Setoddrowpaint(paint), Setselectablepaint(paint), Setselectionboundarytype(int), Getoddcolumnpaint, Getoddrowpaint, Getselectionboundarytype, Setoddrowpaint
(continued from last page)
See Also:
setSelectableRange(com.miginfocom.util.dates.DateRangeI)
setSelectablePaint
public void setSelectablePaint(java.awt.Paint paint)
Property: The paint used to fill the cells that are marked as selectable.
null
indicated no selectable painting.
Parameters:
paint
- The new paint. May be
null
.
See Also:
setSelectableRange(com.miginfocom.util.dates.DateRangeI)
getSelectionBoundaryType
public int getSelectionBoundaryType()
Property: The type of date range (e.g. day, hour, week) that selectionw will be rounded to. For instance if set to
RANGE_TYPE_DAY
only full days can be selected, one can not select just a couple of hours.
Returns:
The current boundary type. E.g.
DateRangeI.RANGE_TYPE_WEEK
.
setSelectionBoundaryType
public void setSelectionBoundaryType(int rangeType)
Property: The type of date range (e.g. day, hour, week) that selectionw will be rounded to. For instance if set to
RANGE_TYPE_DAY
only full days can be selected, one can not select just a couple of hours.
Parameters:
rangeType
- The new boundary type. E.g.
DateRangeI.RANGE_TYPE_HOUR
.
getOddRowPaint
public java.awt.Paint getOddRowPaint()
Property: The paint to paint for all odd rows. May be
null
.
Returns:
The current paint. May be
null
.
setOddRowPaint
public void setOddRowPaint(java.awt.Paint paint)
Property: The paint to paint for all odd rows. May be
null
.
Parameters:
paint
- The new paint. May be
null
.
getOddColumnPaint
public java.awt.Paint getOddColumnPaint()
Property: The paint to paint for all odd columns. May be
null
.
Page 133 of 196
com.miginfocom.beans.DateAreaBean