Constructor
new DefaultToolbar(tool)
Create a DefaultToolbar instance associated with the DefaultTool.
Parameters:
Name | Type | Description |
---|---|---|
tool |
DefaultTool | The DefaultTool linked to the toolbar control. |
- Source:
Extends
- AnnotationUIToolbarBase
Methods
isEnabledForMode(mode) → {boolean}
Check whether the toolbar control is enabled for a specific mode.
Parameters:
Name | Type | Description |
---|---|---|
mode |
string | The mode to check for enabling. |
- Source:
Returns:
True, as the default tool is enabled for all modes.
- Type
- boolean