Isvisible(), Setbackgroundpaint(paint), Setvisible(boolean) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 6: Isvisible, Setbackgroundpaint, Setvisible, Boolean

Advertising
background image

(continued from last page)

Property: The background paint in the date area. Will override the normal background

Color

so that

Paint

objects can be

used instead.

Note! This might be shown as the grid color. It really isn't but if the grid color is set to

null

and the cells have a

background paint this background color will show through as the grid color. This is the way if some cells should span more
than one cell.

Returns:

The current background paint. May be

null

.

setBackgroundPaint

public void setBackgroundPaint(java.awt.Paint p)

Property: The background paint in the date area. Will override the normal background

Color

so that

Paint

objects can be

used instead.

Note! This might be shown as the grid color. It really isn't but if the grid color is set to

null

and the cells have a

background paint this background color will show through as the grid color. This is the way if some cells should span more
than one cell.

Parameters:

p

- The new background paint. May be

null

.

isVisible

public boolean isVisible()

Property: If this header should be visible or not.

Returns:

If the header is corrently visible.

setVisible

public void setVisible(boolean b)

Property: If this header should be visible or not.

Parameters:

b

- If the header should be visible.

Page 6 of 196

com.miginfocom.beans.AbstractHeaderBean

Advertising