menuBar.fxml 1.29 KB
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.*?>

<MenuBar fx:id="menuBar" prefHeight="25.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8.0.241" xmlns:fx="http://javafx.com/fxml/1" fx:controller="application.controller.MenuBarController">
    <menus>
        <Menu mnemonicParsing="false" text="File">
            <items>
                <MenuItem fx:id="import" mnemonicParsing="false" text="Import" />
            </items>
        </Menu>
        <Menu mnemonicParsing="false" text="Settings">
            <items>
            <Menu mnemonicParsing="false" text="Map selected">
              <items>
                  <CheckMenuItem fx:id="allMessages" mnemonicParsing="false" text="All messages" />
                  <CheckMenuItem fx:id="clusteredMessage" mnemonicParsing="false" text="Clustered messages" />
                  <CheckMenuItem fx:id="heatMap" mnemonicParsing="false" text="Heat map" />
              </items>
            </Menu>
            <RadioMenuItem fx:id="activateTimeSliderButton" mnemonicParsing="false" text="Time Slider" />
            </items>
        </Menu>
        <Menu mnemonicParsing="false" text="Help">
            <items>
                <MenuItem mnemonicParsing="false" text="About" />
            </items>
        </Menu>
    </menus>
</MenuBar>