H - The canvas handler type.public interface ToolboxAction<H extends CanvasHandler>
It's displayed as a button for the ActionsToolbox.
| Modifier and Type | Method and Description |
|---|---|
Glyph |
getGlyph(H canvasHandler,
String uuid)
The glyph that is being rendered as for the toolbox button's shape/icon.
|
String |
getTitle(H canvasHandler,
String uuid)
The title to display for the toolbox' button.
|
ToolboxAction<H> |
onMouseClick(H canvasHandler,
String uuid,
MouseClickEvent event)
The operation to perform once cliking on the toolbox' button.
|
Glyph getGlyph(H canvasHandler, String uuid)
canvasHandler - The toolbox' canvas handler instance.uuid - The toolbox' element identifier.String getTitle(H canvasHandler, String uuid)
canvasHandler - The toolbox' canvas handler instance.uuid - The toolbox' element identifier.ToolboxAction<H> onMouseClick(H canvasHandler, String uuid, MouseClickEvent event)
canvasHandler - The toolbox' canvas handler instance.uuid - The toolbox' element identifier.Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.