Class MVCollectionBucket
MVCollectionBucket defines a bucket containing a list of items (which can be either string or numeric literals). Note that all items must have the same type. This is typically used as part of a BucketStyle when performing thematic mapping.
Constructor Attributes | Constructor Name and Description |
---|---|
MVCollectionBucket(renderingStyleName, label, type, delimiter)
|
Method Attributes | Method Name and Description |
---|---|
setItems(items)
Sets the string that is a concatenation of all the items separated by
delimiters for this bucket.
|
Class Detail
MVCollectionBucket(renderingStyleName, label, type, delimiter)
- Parameters:
- {String} renderingStyleName
- the name of the rendering style associated with this bucket
- {String} label
- a short descriptive label for this bucket
- {String} type
- the data type for the items in this bucket. If speciied, it must be one of the following: "string", "integer" or "double". The default is "string".
- {String} delimiter
- the delimiter character that is used to separte items in this bucket. The default is the comma (",").
Method Detail
setItems(items)
Sets the string that is a concatenation of all the items separated by
delimiters for this bucket. For instance, the string "1.0,2.75,4.33"
represents items "1.0", "2.75" and "4.33" using comma as the delimiter.
If the delimiter is not comma, you must explicitly specify it in the
constructor.
- Parameters:
- items