Getlabelforeground(), Getlabelnowforeground(), Setlabelforeground(color) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 122: Setlabelnowforeground(color), Getlabelforeground, Getlabelnowforeground, Setlabelforeground, Setlabelnowforeground

Advertising
background image

(continued from last page)

Parameters:

b

- The border that is painted around the label. May be

null

.

See Also:

getLabelBorder()

getLabelForeground

public java.awt.Color getLabelForeground()

Property: The paint that is used to draw the label.

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

Returns:

The

java.awt.Paint

used to draw the label.

null

means that the label will not be drawn at all, but the background

might still be for instance.

See Also:

setLabelForeground(Color)

setLabelForeground

public void setLabelForeground(java.awt.Color c)

Property: The paint that is used to draw the label.

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

null

will normally

make this label not appear at all.

Parameters:

c

- The color that is used to draw the label. May be

null

.

See Also:

getLabelForeground()

getLabelNowForeground

public java.awt.Color getLabelNowForeground()

Property: The paint that is used to draw the label for the cell that spans the current time.

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

Returns:

The

java.awt.Paint

used to draw the label.

null

means that the label will not be drawn at all, but the background

might still be for instance.

See Also:

setLabelForeground(Color)

setLabelNowForeground

public void setLabelNowForeground(java.awt.Color c)

Property: The paint that is used to draw the label for the cell that spans the current time.

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

null

will normally

make this label not appear at all.

Parameters:

Page 122 of 196

com.miginfocom.beans.DateAreaBean

Advertising