Simple subclass of MenuButton with appearance appropriate for a ToolStrip menu button. Can be used to create an
icon-only menu button, and icon with text, or a text only button by setting the icon and title attibutes as required.

create

setDefaultProperties

Class level method to set the default properties of this class. If set, then all
existing and subsequently created instances of this class will automatically have
default properties corresponding to
the properties set on the SmartGWT class instance passed to this function before its
underlying SmartClient JS object was created.
This is a powerful feature that eliminates the need for users to create a separate
hierarchy of subclasses that only alter the default properties of this class. Can also
be used for skinning / styling purposes.

Note: This method is intended for
setting default attributes only and will affect all instances of the underlying class
(including those automatically generated in JavaScript). This method should not be used
to apply standard EventHandlers or override methods for a class - use a custom subclass
instead. Calling this method after instances have been created can result in undefined
behavior, since it bypasses any setters and a class instance may have already examined
a particular property and not be expecting any changes through this route.

Parameters:

toolStripMenuButtonProperties - properties that should be used as new defaults when instances of this class are created