public class SBTabMenuBar
extends java.lang.Object
SBTabEditor
.Constructor | Description |
---|---|
SBTabMenuBar() |
Modifier and Type | Method | Description |
---|---|---|
SBTabMenuBar |
addMenuBarItem(java.lang.String name,
javafx.event.EventHandler<javafx.event.ActionEvent> onEvent) |
Adds an element to the menu bar
|
javafx.scene.control.ContextMenu |
getContext() |
|
void |
showDefault(javafx.scene.input.MouseEvent e) |
Shows decorated
ContextMenu |
public SBTabMenuBar addMenuBarItem(java.lang.String name, javafx.event.EventHandler<javafx.event.ActionEvent> onEvent)
name
- text to show in menuonEvent
- event to fire on user interactionSBTabMenuBar
public void showDefault(javafx.scene.input.MouseEvent e)
ContextMenu
public javafx.scene.control.ContextMenu getContext()
Copyright © 2018. All rights reserved.