MiG InfoCom MiG Calendar JavaBeans User Manual

Page 93

Advertising
background image

void

setCategoryAutoRevalidate

(boolean b)

Property: If the categories in the

CategoryDepository

changes the date area will

revalidate itself if there is a category root set.

void

setCategoryHeader

(

CategoryHeaderBean

header)

Sets or disables the category header.

void

setCategoryRoot

(Category root)

Property: The category from the

com.miginfocom.calendar.category.CategoryDepository

that will serve as the

root for this category header.

void

setCategoryRootIDs

(Object[] rootIDs)

Property: The category IDs from the

com.miginfocom.calendar.category.CategoryDepository

that will serve as the

root(s) for this category header.

void

setCategoryShowRoot

(boolean b)

Property: If the root category set with

setCategoryRoot(com.miginfocom.calendar.category.Category)

should be

shown or if its children should be shown in the first level.

void

setDateAreaInnerBorder

(javax.swing.border.Border b)

Property: The inner border around the date area.

void

setDateAreaOuterBorder

(javax.swing.border.Border b)

Property: The outer border around the date area.

void

setDemoDataBean

(

DemoDataBean

b)

Property: A reference to a demo data bean that creates demo data for this date area.

void

setDesignTimeHelp

(boolean b)

Property: If

true

draws an information message in "design time".

void

setDividerPaint

(java.awt.Paint paint)

Property: The paint used to draw separator lines between some date ranges, for instance
months.

void

setDividerRangeType

(int rangeType)

Property: The type of the divider range (e.g. day, week, month).

void

setEastDateHeader

(

DateHeaderBean

header)

Sets the date header that will be to the right the date area.

void

setEvenBoundaryPaint

(java.awt.Paint paint)

Property: The paint used to fill all even (0, 2, 4...) date ranges of the date area.

void

setEvenRangeType

(int rangeType)

Property: The date range type (i.e.

void

setEvenRangeTypeCount

(int count)

Property: How many of

getEvenRangeType()

that should be bunched up and be called as

one.

void

setHorizontalGridLineExceptions

(GridLineException[] exceptions)

Property: Grid line exceptions makes it very fleible to override the gridline size and color in
a structured way.

void

setHorizontalGridLinePaintEven

(java.awt.Paint paint)

Property: The paint used to draw the even (0, 2, 4...) horizontal grid lines.

Page 93 of 196

com.miginfocom.beans.DateAreaBean

Advertising