Getdemodatabean(), Getimage(), Setdemodatabean(demodatabean) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 107: Setimage(xtdimage), Getdemodatabean, Getimage, Setdemodatabean, Setimage, Xtdimage

Advertising
background image

(continued from last page)

Property: The layer index for the decorator that paints the odd rows and/or columns. It can for instance be used to draw
every other row in a darker color.

This property affect the order in which the different layers are painted, and thus what gets painted on top of what. Lower
layer indexes will be painted first and will end up below layers with higher index. Everything that is painted in a date area
is painted in layers, and the layers are implemented with

com.miginfocom.calendar.decorators.Decorator

s.

Parameters:

i

- The new layer for the decorator.

See Also:

OddRowFillDecorator

getDemoDataBean

public

DemoDataBean

getDemoDataBean()

Property: A reference to a demo data bean that creates demo data for this date area. This is normally only used for testing
purposes and should not be used in any production environment.

Returns:

The current value of the property or

null

.

setDemoDataBean

public void setDemoDataBean(

DemoDataBean

b)

Property: A reference to a demo data bean that creates demo data for this date area. This is normally only used for testing
purposes and should not be used in any production environment.

Parameters:

b

- The new value for the property. May be

null

.

getImage

public XtdImage getImage()

Property: The background or foreground image in the date area. Note that

com.miginfocom.util.gfx.XtdImage

is

very flexible and can be created in may ways, including from an enbedded BASE64 string.

This is a property that affects an optional background or foreground image in the date area.

Returns:

The current value of the property.

See Also:

ImageDecorator

setImage

public void setImage(XtdImage img)

Property: The background or foreground image in the date area. Note that

com.miginfocom.util.gfx.XtdImage

is

very flexible and can be created in may ways, including from an enbedded BASE64 string.

This is a property that affects an optional background or foreground image in the date area.

Parameters:

img

- The new value for the property. May be

null

.

See Also:

Page 107 of 196

com.miginfocom.beans.DateAreaBean

Advertising