Getlabelbackground(), Getlabelnowbackground(), Setlabelbackground(paint) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 120: Setlabelnowbackground(paint), Getlabelbackground, Getlabelnowbackground, Setlabelbackground, Setlabelnowbackground

Advertising
background image

(continued from last page)

Parameters:

hint

- The new hint.

See Also:

confAntiAliasingHint

getLabelBackground

public java.awt.Paint getLabelBackground()

Property: The

java.awt.Paint

used to draw the background of the label. It will draw the whole bounds that is specified

with

setLabelPlaceRect(com.miginfocom.util.gfx.geometry.PlaceRect)

.

This is a property that affects the visual representation of the label in the cells.

Returns:

The paint used to draw the background of the label. If

null

no background will be painted.

See Also:

setLabelBackground(Paint)

setLabelBackground

public void setLabelBackground(java.awt.Paint paint)

Property: The

java.awt.Paint

used to draw the background of the label. It will draw the whole bounds that is specified

with

setLabelPlaceRect(com.miginfocom.util.gfx.geometry.PlaceRect)

.

This is a property that affects the visual representation of the label in the cells.

Parameters:

paint

- The paint. May be

null

.

See Also:

getLabelBackground()

getLabelNowBackground

public java.awt.Paint getLabelNowBackground()

Property: The

java.awt.Paint

used to draw the background of the label for the cell that spans the current time. It will

draw the whole bounds that is specified with

setLabelPlaceRect(com.miginfocom.util.gfx.geometry.PlaceRect)

.

This is a property that affects the visual representation of the label in the cells.

Returns:

The paint used to draw the background of the label. If

null

no background will be painted.

See Also:

setLabelBackground(Paint)

setLabelNowBackground

public void setLabelNowBackground(java.awt.Paint paint)

Property: The

java.awt.Paint

used to draw the background of the label for the cell that spans the current time. It will

draw the whole bounds that is specified with

setLabelPlaceRect(com.miginfocom.util.gfx.geometry.PlaceRect)

.

This is a property that affects the visual representation of the label in the cells.

Page 120 of 196

com.miginfocom.beans.DateAreaBean

Advertising