Constructor
new PointToolbar(tool)
Initializes the PointToolbar by calling the base class (AnnotationUIToolbarBase) constructor and configuring the toolbar elements.
Parameters:
Name | Type | Description |
---|---|---|
tool |
Object | The point annotation tool instance. |
Properties:
Name | Type | Description |
---|---|---|
button |
Object | The configuration for the toolbar button. |
instructions |
Object | The configuration for the toolbar instructions. |
- Source:
Extends
- AnnotationUIToolbarBase
Methods
isEnabledForMode(mode) → {boolean}
Checks if the toolbar is enabled for the specified mode and updates the instructions.
Parameters:
Name | Type | Description |
---|---|---|
mode |
string | The mode to check against. |
- Source:
Returns:
Returns true if the toolbar is enabled for the mode, otherwise false.
- Type
- boolean
updateInstructions(mode)
Updates the instructions on the toolbar based on the specified mode.
Parameters:
Name | Type | Description |
---|---|---|
mode |
string | The mode for which the instructions are being updated. |
- Source: