beautypg.com

MiG InfoCom MiG Calendar JavaBeans User Manual

Page 10

background image

void

setPaintContext

(String paintContext)

Property: The context that the AShape that this bean represent will adhere to.

void

setPlaceRect

(PlaceRect placeRect)

Property: How this shape will relate to the reference rectangle (bounds) given by the
activity layout system.

void

setPrimaryDimension

(int dim)

Deprecated. Shunted to

(int)

void

setResizeHandles

(int dim)

Property: The size the resize boxes should be placed. -1 if no resize boxes and thus there
will be no way to resize the shape.

void

setShadowBlurRadius

(float r)

Property: The blur radius for the blur filter.

void

setShadowCornerRadius

(double radius)

Property: The corner radius for the shadow

com.miginfocom.util.gfx.RoundRectangle

.

void

setShadowPaint

(java.awt.Paint p)

Property: The

Paint

used to draw the shadow.

void

setShadowPaintOptimization

(boolean[] opt)

Property: The shadow is divided into a 3x3 grid.

void

setShadowPlaceRect

(PlaceRect pr)

Property: How the shadow will be placed relative to the main shape.

void

setShadowSliceSize

(int s)

Property: How big the outer slices for the shadow will be.

void

setTextAlignX

(AtRefRangeNumber x)

Property: Where within the place rect for the text to draw the text string.

void

setTextAlignY

(AtRefRangeNumber y)

Property: Where within the place rect for the text to draw the text string.

void

setTextAntiAlias

(int hint)

Property: The anti aliasing hint used when drawing the text for the shape.

void

setTextFont

(java.awt.Font font)

Property: The font used to draw the main text in the shape.

void

setTextForeground

(java.awt.Paint paint)

Property: The

Paint

used to draw the main text.

void

setTextPlaceRect

(PlaceRect placeRect)

Property: How this shape's main text will relate to the reference rectangle (bounds) given by
the activity layout system.

void

setTextTemplate

(String s)

Property: The template text for the main text.

void

setTitleAlignX

(AtRefRangeNumber x)

Property: Where within the place rect for the title to draw the title text.

void

setTitleAlignY

(AtRefRangeNumber y)

Property: Where within the place rect for the title to draw the title text.

Page 10 of 196

com.miginfocom.beans.ActivityAShapeBean