Constructs a new instance of this class given its parent
(which must be a CoolBar), a style value
describing its behavior and appearance, and the index
at which to place it in the items maintained by its parent.