The Bar class is a graphical object representing a squared surface added to a DFrame.
There are no constructors for this class. Bars are created with the DFrame addBar method:
var bar = dFrame.addBar(position, title, barStyle):
Some methods implicitly create the default Bar of a DFrame:
var button = dFrame.addButton(parameters)
var menu = dFrame.addMenu(parameters)