Getcompressrowsranges(), Isexpandrowstofit(), Isexpandsubrowstofit() – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 167: Setexpandrowstofit(boolean), Setexpandsubrowstofit(boolean), Getcompressrowsranges, Isexpandrowstofit, Isexpandsubrowstofit, Setexpandrowstofit, Setexpandsubrowstofit

Advertising
background image

(continued from last page)

Returns:

The layout that this bean represents.

isExpandRowsToFit

public boolean isExpandRowsToFit()

Property: If the rows in the dimension that this object represents should be expanded to fit the available space. Note that
this is only used if the size properties for the rows themeselves doesn't specify anything else.

Returns:

The current value,

true

is default.

setExpandRowsToFit

public void setExpandRowsToFit(boolean b)

Property: If the rows in the dimension that this object represents should be expanded to fit the available space. Note that
this is only used if the size properties for the rows themeselves doesn't specify anything else.

Parameters:

b

- The new value,

true

is default.

isExpandSubRowsToFit

public boolean isExpandSubRowsToFit()

Property: If the sub-rows should be expanded to fit the available space. Note that this is only used if the size properties for
the rows themeselves doesn't specify anything else. Also note that this value is only interesting if this bean represents the
secondary dimension, since only the secondary dimension has sub rows.

Returns:

The current value,

true

is default.

setExpandSubRowsToFit

public void setExpandSubRowsToFit(boolean b)

Property: If the sub-rows should be expanded to fit the available space. Note that this is only used if the size properties for
the rows themeselves doesn't specify anything else. Also note that this value is only interesting if this bean represents the
secondary dimension, since only the secondary dimension has sub rows.

Parameters:

b

- The new value,

true

is default.

getCompressRowsRanges

public String getCompressRowsRanges()

Property: A string that describles what rows, or row intervals, that should be compressed. The unit used can be set with

setCompressRowsFormat(int)

.

The string is comma separated invervalls using english locale/words/formatting. For example:

"00.00-06.00,18.00-24.00" (time of day)

"0-10,14-17,30-40,42,44" (absolute cells)

"mon-wed,sat-sun" (week days)

"20041231-20050131,20060231-2007231" (dates, yyyyMMdd)

Page 167 of 196

com.miginfocom.beans.GridDimensionLayoutBean

Advertising