Class: ButtonBase

Cadcorp.UI.ButtonBase

new ButtonBase(config)

Base class for custom buttons. The button is enhanced by using the jQuery UI button widget
Parameters:
Name Type Description
config Object Configuration for this object. The config supplied directly extends the control

Members

buttonOptions

Properties:
Name Type Description
buttonOptions Object Passed to the jQuery UI button constructor

id

Properties:
Name Type Description
id string The id for this control

map

Properties:
Name Type Attributes Description
map Object <nullable>
The map for this control

Methods

buttonClickedHandler(eventArgs)

Called when the button is clicked. This function is expected to be overridden in child classes
Parameters:
Name Type Description
eventArgs Object The event arguments