Getgridcolor(), Getrowgap(), Setgridcolor(color) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 148: Setrowgap(int), Settextantialiasrows(string), Getgridcolor, Getrowgap, Setgridcolor, Setrowgap, Settextantialiasrows

Advertising
background image

(continued from last page)

The current value.

setTextAntiAliasRows

public void setTextAntiAliasRows(String rows)

Property: A comma separated string with the rows that are to get the property

getTextAntiAlias()

. E.g. "1,2,4". A

value of

null

, "" and any illegal value means "all rows".

This method will reinitialize the header if the value is changed but do nothing if it's the same.

Parameters:

rows

- The new value.

getGridColor

public java.awt.Color getGridColor()

Property: The color of the grid lines. If

null

no lines will be drawn.

Note! The grid color if set will show over everything so that no cells will look merged. To show a grid where cell rows can
have cells that span more that one row/column use the background paint of the whole header to set the grid color and leave
this grid color to

null

. This will make it possible to create headers like in

getHeaderRows()

JavDoc. Also see

AbstractHeaderBean.setBackgroundPaint(Paint)

Returns:

The current grid line color. May be

null

.

setGridColor

public void setGridColor(java.awt.Color c)

Property: The color of the grid lines. If

null

no lines will be drawn.

Note! The grid color if set will show over everything so that no cells will look merged. To show a grid where cell rows can
have cells that span more that one row/column use the background paint of the whole header to set the grid color and leave
this grid color to

null

. This will make it possible to create headers like in

getHeaderRows()

JavDoc. Also see

AbstractHeaderBean.setBackgroundPaint(Paint)

Parameters:

c

- The new grid line color. May be

null

.

getRowGap

public int getRowGap()

The gap in pixels between the header rows.

Returns:

The gap in pixels between the header rows.

Since:

6.0

setRowGap

public void setRowGap(int rowGap)

The gap in pixels between the header rows.

Parameters:

Page 148 of 196

com.miginfocom.beans.DateHeaderBean

Advertising