Class: Bucket

OM.style. Bucket


new Bucket(config)

This abstract class defines a bucket in a BucketStyle. OM.style.CollectionBucket and
OM.style.RangedBucket extend it.

Parameters:
Name Type Description
config Object

A configuration object with the following attributes:


  • seq {int} The sequence number

  • label {String} A label string for the bucket

  • labelStyle {OM.style.Style} A style for the labels

Returns:

An instance of OM.style.Bucket

Type
OM.style.Bucket

Methods


clone()

Returns a clone of this bucket.