Gettitlealignx(), Gettitleplacerect(), Settextaligny(atrefrangenumber) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 22: Settitlealignx(atrefrangenumber), Settitleplacerect(placerect), Gettitlealignx, Gettitleplacerect, Settextaligny, Atrefrangenumber, Settitlealignx

Advertising
background image

(continued from last page)

getTextPlaceRect()

setTextAlignY

public void setTextAlignY(AtRefRangeNumber y)

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

Parameters:

y

- The new alignment for the text. Might be

null

.

See Also:

getTextPlaceRect()

getTitlePlaceRect

public PlaceRect getTitlePlaceRect()

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

Default is:

new AbsRect(new AtStart(2), new AtStart(16), new AtEnd(0), new AtEnd(0), null,

null, null)

.

Returns:

The current place rect. May be

null

.

setTitlePlaceRect

public void setTitlePlaceRect(PlaceRect placeRect)

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

Default is:

new AbsRect(new AtStart(2), new AtStart(16), new AtEnd(0), new AtEnd(0), null,

null, null)

.

Parameters:

placeRect

- The new place rect. May be

null

, but the behaviour for that is undefined.

getTitleAlignX

public AtRefRangeNumber getTitleAlignX()

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

Returns:

The alignment for the text. Might be

null

.

See Also:

getTitlePlaceRect()

setTitleAlignX

public void setTitleAlignX(AtRefRangeNumber x)

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

Parameters:

x

- The new alignment for the text. Might be

null

.

Page 22 of 196

com.miginfocom.beans.ActivityAShapeBean

Advertising