Getmouseovercursor(), Getpaintcontext(), Setmouseoversummaryunderline(int) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 13: Setpaintcontext(string), Getmouseovercursor, Getpaintcontext, Setmouseoversummaryunderline, Setpaintcontext

Advertising
background image

(continued from last page)

See Also:

setMouseOverSummaryUnderline(int)

setMouseOverSummaryUnderline

public void setMouseOverSummaryUnderline(int width)

Property: How thick the underline should be for mouse overs of on the summary text. 0 will disable it.

Parameters:

width

- The width in pixels.

See Also:

setMouseOverSummaryUnderline(int)

getPaintContext

public String getPaintContext()

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

com.miginfocom.calendar.activity.Activity

objects may have a

paintContext

set and contexts must match if

the shape should be used to paint the activity.

For example there might be two types of activities, one with "bigShape" and one with "smallShape" as context. It is then
possible to create two beans of this class, configure them differently, and set their respective paint context to either. This
will paint some activities with one bean's and the others with the other bean's AShape.

Returns:

The current context. Default to

null

.

setPaintContext

public void setPaintContext(String paintContext)

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

com.miginfocom.calendar.activity.Activity

objects may have a

paintContext

set and contexts must match if

the shape should be used to paint the activity.

For example there might be two types of activities, one with "bigShape" and one with "smallShape" as context. It is then
possible to create two beans of this class, configure them differently, and set their respective paint context to either. This
will paint some activities with one bean's and the others with the other bean's AShape.

Parameters:

paintContext

- The new context. May be

null

.

getMouseOverCursor

public java.awt.Cursor getMouseOverCursor()

Property: The Cursor showed when the mouse is over the shape or

null

if none.

Returns:

The current

Cursor

. May be

null

.

Since:

6.0

Page 13 of 196

com.miginfocom.beans.ActivityAShapeBean

Advertising