menu.fxml 921 Bytes
Newer Older
Jens Ehlers's avatar
Jens Ehlers committed
1
2
3
4
5
6
7
<?xml version="1.0" encoding="UTF-8"?>

<?import com.jfoenix.controls.JFXListView?>
<?import de.jensd.fx.glyphs.materialicons.MaterialIconView?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>

Jens Ehlers's avatar
Jens Ehlers committed
8
<JFXListView fx:id="menu" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/9"
Jens Ehlers's avatar
Jens Ehlers committed
9
10
11
12
13
14
15
16
17
18
19
20
21
22
             fx:controller="shop.controller.MenuController" onMouseClicked="#menuAction">
    <HBox fx:id="catalog" alignment="CENTER_LEFT">
        <MaterialIconView glyphName="SHOPPING_CART"></MaterialIconView>
        <Label>Produktkatalog</Label>
    </HBox>
    <HBox fx:id="bookings" alignment="CENTER_LEFT">
        <MaterialIconView glyphName="VIEW_LIST"></MaterialIconView>
        <Label>Buchungen</Label>
    </HBox>
    <HBox fx:id="logout" alignment="CENTER_LEFT">
        <MaterialIconView glyphName="EXIT_TO_APP"></MaterialIconView>
        <Label>Logout</Label>
    </HBox>
</JFXListView>