MiG InfoCom MiG Calendar JavaBeans User Manual

Page 92

Advertising
background image

DateHeaderBean

getWestDateHeader

()

Returns the date header that is to the left the date area.

String

getVisibleDateRangeString

()

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

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

without the ' of course.

Integer

getWrapBoundary

()

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

int

getWrapBoundaryCount

()

Returns the number of

wrapBoundary

before wrapping.

boolean

isDesignTimeHelp

()

Property: If

true

draws an information message in "design time".

boolean

isShowNoFitIcon

()

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

void

paint

(java.awt.Graphics g)

void

removeActivityDragResizeListener

(ActivityDragResizeListener l)

This call is transmitted to the

removeActivityDragResizeListener(com.miginfocom.calendar.datearea.Ac
tivityDragResizeListener)

void

removeActivityMoveListener

(ActivityMoveListener l)

This call is transmitted to the

removeActivityMoveListener(com.miginfocom.calendar.datearea.Activity
MoveListener)

void

removeDateChangeListener

(DateChangeListener l)

This call is transmitted to the

removeDateChangeListener(com.miginfocom.util.dates.DateChangeListene
r)

void

removeInteractionListener

(InteractionListener l)

This call is transmitted to the

removeInteractionListener(com.miginfocom.ashape.interaction.Interact
ionListener)

.

void

removeNotify

()

void

revalidateGrid

()

Recreates the grid in the date area

void

setActivityDepositoryContext

(String context)

Property: The context used as a key in the

com.miginfocom.calendar.activity.ActivityDepository

to get the activities

that this date area should show.

void

setActivityLayouts

(ActivityLayout[] layouts)

Sets the

com.miginfocom.calendar.layout.ActivityLayout

s.

void

setActivityPaintContext

(String ctx)

Property: The default paint context that will be used to get an AShape to paint with.

void

setBackgroundPaint

(java.awt.Paint p)

Property: The background paint in the date area.

Page 92 of 196

com.miginfocom.beans.DateAreaBean

Advertising