public class ToolBarBehavior extends BehaviorBase<ToolBar>
| Modifier and Type | Field and Description |
|---|---|
protected static List<KeyBinding> |
TOOLBAR_BINDINGS |
IS_TOUCH_SUPPORTED, TRAVERSAL_BINDINGS| Constructor and Description |
|---|
ToolBarBehavior(ToolBar toolbar) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
callAction(String name)
Called to invoke the action associated with the given name.
|
callActionForEvent, contextMenuRequested, dispose, focusChanged, getControl, matchActionForEvent, mouseDragged, mouseEntered, mouseExited, mousePressed, mouseReleased, traverse, traverseDown, traverseLeft, traverseNext, traversePrevious, traverseRight, traverseUpprotected static final List<KeyBinding> TOOLBAR_BINDINGS
public ToolBarBehavior(ToolBar toolbar)
protected void callAction(String name)
BehaviorBaseWhen a KeyEvent is handled, it is first passed through callActionForEvent which resolves which "action" should be executed based on the key event. This action is indicated by name. This name is then passed to this function which is responsible for invoking the right function based on the name.
callAction in class BehaviorBase<ToolBar>Copyright © 2025. All rights reserved.