Interface ToolSource
- All Known Subinterfaces:
AuditIssueContextMenuEvent,ContextMenuEvent,HotKeyEvent,WebSocketContextMenuEvent,WebSocketEditorEvent
public interface ToolSource
Tool that is the source of an object.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisFromTool(ToolType... toolType) Determine whether this tool source is from a specified tool.toolType()
-
Method Details
-
toolType
ToolType toolType()- Returns:
- the tool type.
-
isFromTool
Determine whether this tool source is from a specified tool.- Parameters:
toolType- The tool types to check.- Returns:
- Returns
trueif this tool source is from any of the specified tool types.
-