| Parameter | Type | Description |
|---|---|---|
| props | undefined | |
| node | undefined |
Internal. Creates an icon node for each button.
| Parameter | Type | Description |
|---|---|---|
| node | HTMLNode | The button node. |
| constr | Function |
Optional Optional. If not supplied, an icon is not created. Information for each icon is derived from the ToolsSetup object defined at the end of each tool. See: stencil._Base |
Creates a button on the Toolbar that is a Tool, not a Plugin. Tools draw Stencils, Plugins do actions.
| Parameter | Type | Description |
|---|---|---|
| node | HTMLNode | The button node. |
Initializing method that reads the dom node and its children for tools and plugins.
Event fired from clicking a Tool, not a PLugin. Plugin clicks are handled within the plugin's class.
| Parameter | Type | Description |
|---|---|---|
| type | String | Fully qualified name of class. ex: dojox.drawing.tools.Ellipse |
handles buttons clicks and selects or deselects
| Parameter | Type | Description |
|---|---|---|
| type | String |