Getheaderrows(), Setheaderrows(celldecorationrow[]), Getheaderrows – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 150: Setheaderrows, Celldecorationrow

Advertising
background image

(continued from last page)

getHeaderRows

public CellDecorationRow[] getHeaderRows()

Property: An array of rows that makes out the different rows or colums for the header (rows for north/south headers and
colums for east/west headers). One row normally represents a date range type, such as weeks.

If the date area shows day cells the cells in the header can be merged. This will look like seven cells in the header will look
like one.

Example for three rows: Month, week and days:

-----------------------------------------------------------------

| January | February |

-----------------------------------------------------------------

| w01 | w02 | w03 | w04 | w05 | w06 | w07 |w08 |

-----------------------------------------------------------------

| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |

-----------------------------------------------------------------

<pre>

Returns:

The current rows. Never

null

.

setHeaderRows

public void setHeaderRows(CellDecorationRow[] rows)

Property: An array of rows that makes out the different rows or colums for the header (rows for north/south headers and
colums for east/west headers). One row normally represents a date range type, such as weeks.

If the date area shows day cells the cells in the header can be merged. This will look like seven cells in the header will look
like one.

Example for three rows: Month, week and days:

-----------------------------------------------------------------

| January | February |

-----------------------------------------------------------------

| w01 | w02 | w03 | w04 | w05 | w06 | w07 |w08 |

-----------------------------------------------------------------

| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |

-----------------------------------------------------------------

<pre>

Parameters:

rows

- The new rows. Should noramlly be at least one element and thus not

null

.

Page 150 of 196

com.miginfocom.beans.DateHeaderBean

Advertising