GroupOrItemSelection
String rw backgroundColor
The background color of the receiver in hex format (e.g. blue would be "#0000FF").
SList<Cell> ro cells
Return a list of cell objects.
GroupOrItemSelection ro cellsOnly
Gets only the cells from the selection (excludes groups & items).
boolean rw collapsed
True if this object is collapsed.
int rw columnWidth
The column width for this selection.
If the selection does not designate a set of columns, this property will return -1 and setting it will have no effect.
boolean rw fontBold
True if font is bold.
String rw fontFace
The font family name.
boolean rw fontItalic
True if font is italic.
float rw fontSize
The point size of the font.
boolean rw fontStrikethrough
True if font is strikethrough.
boolean rw fontUnderline
True if font is underlined.
String rw foregroundColor
The foreground color of the receiver in hex format (e.g. blue would be "#0000FF").
String rw horizontalAlignment
The horizontal alignment of the receiver - one of "Left", "Right", "Center", or "Automatic".
String rw numberFormatString
Returns the current number format string for this object. May return null for a non-standard format.
int rw rowHeight
The row height for this selection.
If the selection does not designate a set of rows, this property will return -1 and setting it will have no effect.
Object rw value
When getting, returns the first value this object contains. When setting, sets all values in this object to the one given.
List<Object> ro values
The list of values this object contains.
String rw verticalAlignment
The vertical alignment of the receiver - one of "Top", "Bottom", or "Middle".
boolean canSetNumberFormat()
True if it is possible to set the number format of this object.
void delete()
Remove all groups/items in the current selection. You cannot delete a selection which spans multiple categories or all the items in a category.
Group group()
Groups the groups/items in this selection, and returns the newly created group.
void setToAccountingNumberFormat()
Sets this object's number format to accounting.
void setToCurrencyNumberFormat()
Sets this object's number format to currency.
void setToPercentNumberFormat()
Sets this object's number format to percent.