Getcompressrowsformat(), Setcompressrowsformat(int), Setcompressrowsranges(string) – MiG InfoCom MiG Calendar JavaBeans User Manual
Page 168: Getcompressrowsformat, Setcompressrowsformat, Setcompressrowsranges
![background image](https://www.manualsdir.com/files/798675/content/doc168.png)
(continued from last page)
Returns:
The current range(s). Not
null
but can be empty.
setCompressRowsRanges
public void setCompressRowsRanges(String s)
Property: A string that describles what rows, or row intervals, that should be compressed. The unit used can be set with
.
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)
•
Parameters:
s
- The new range(s). Not
null
but can be empty.
getCompressRowsFormat
public int getCompressRowsFormat()
Property: The type (unit) for the
CompressRowsRanges
property.
Valid formats are:
- The cell numbers starting from 0.
•
- Time of day of the form: "HH.mm"
•
- The day of week. It's enough to use the first two letters. E.g "mo" or "tue".
•
- The date without any time on the form: "yyyyMMdd"
•
Returns:
The current format.
is default.
setCompressRowsFormat
public void setCompressRowsFormat(int format)
Property: The type (unit) for the
CompressRowsRanges
property.
Valid formats are:
- The cell numbers starting from 0.
•
- Time of day of the form: "HH.mm"
•
- The day of week. It's enough to use the first two letters. E.g "mo" or "tue".
•
- The date without any time on the form: "yyyyMMdd"
•
Parameters:
format
Page 168 of 196
com.miginfocom.beans.GridDimensionLayoutBean