Getimageplacerect(), Getimagetiling(), Setimageplacerect(placerect) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 108: Setimagetiling(boolean), Getimageplacerect, Getimagetiling, Setimageplacerect, Placerect, Setimagetiling, Boolean

Advertising
background image

(continued from last page)

ImageDecorator

getImagePlaceRect

public PlaceRect getImagePlaceRect()

Property: How the image should be placed relative to the bounds of the date area. Note that the placing is very flexible
through the use of the rectangle transformation interface

PlaceRect

.

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

com.miginfocom.util.gfx.geometry.AbsRect

com.miginfocom.util.gfx.geometry.AlignRect

com.miginfocom.util.gfx.geometry.AspectRatioRect

setImagePlaceRect

public void setImagePlaceRect(PlaceRect r)

Property: How the image should be placed relative to the bounds of the date area. Note that the placing is very flexible
through the use of the rectangle transformation interface

PlaceRect

.

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

Parameters:

r

- The new value for the property. May be

null

.

See Also:

ImageDecorator

com.miginfocom.util.gfx.geometry.AbsRect

com.miginfocom.util.gfx.geometry.AlignRect

com.miginfocom.util.gfx.geometry.AspectRatioRect

getImageTiling

public boolean getImageTiling()

Property: If the image should be tiled within the bounds. It is stretched/shrinked otherwise, depending on the rectangle
returned bu the

placeRect

.

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

setImageTiling

public void setImageTiling(boolean b)

Property: If the image should be tiled within the bounds. It is stretched/shrinked otherwise, depending on the rectangle
returned bu the

placeRect

.

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

Page 108 of 196

com.miginfocom.beans.DateAreaBean

Advertising