Dateareabean(), Dateareabean, Constructors – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 97

Advertising
background image

void

setSelectionType

(int type)

Property: The type of selection that can be done on the date area background.

void

setShowNoFitIcon

(boolean b)

Property: If the little icon that shows that not all activities have fitted within a date range
(normally a day).

void

setSnapToMillis

(long millis)

Sets what even millisecond to snap to when resizing and moving activities.

void

setSouthDateHeader

(

DateHeaderBean

header)

Sets the date header that will be below the date area.

void

setSubRowCreator

(SubRowCreator creator)

Property: A custom

com.miginfocom.calendar.grid.SubRowCreator

that can be set

to create all sub rows for the date area bean.

void

setSubRowGridLinePaint

(java.awt.Paint paint)

Property: The paint used to draw sub row divider grid lines.

void

setVerticalGridLineExceptions

(GridLineException[] exceptions)

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

void

setVerticalGridLinePaintEven

(java.awt.Paint paint)

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

void

setVerticalGridLinePaintOdd

(java.awt.Paint paint)

Property: The paint used to draw the odd (1, 3, 5...) vertical grid lines.

void

setWestDateHeader

(

DateHeaderBean

header)

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

void

setVisibleDateRangeString

(String dateStrings)

Property: A string representing the visual date range of the exact form:

"yyyyMMdd'T'HHmmssSSS'-'yyyyMMdd'T'HHmmssSSS"

without the ' of course.

void

setWrapBoundary

(Integer wrap)

Set which boundary (e.g. week, day) that the grid should wrap.

void

setWrapBoundaryCount

(int count)

Sets the number of

wrapBoundary

before wrapping.

void

validateHeaders

()

Methods inherited from class

java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

DateAreaBean

public DateAreaBean()

Page 97 of 196

com.miginfocom.beans.DateAreaBean

Advertising