<?xml version="1.0" encoding="UTF-8"?>

<!--
/*
 * Copyright (C) 2018-2020 Andrew Gegg
 *
 *	This file is part of the Garden Notebook application
 *
 * The Garden Notebook application is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/gpl.html>.
 */

/*
        Change log
        2.8.0   Add Tooltips to the navigation buttons
 */

-->

<?import java.net.URL?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Separator?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.control.Tooltip?>

<fx:root id="AnchorPane" prefHeight="400.0" prefWidth="100.0" styleClass="mainFxmlClass" type="javafx.scene.layout.AnchorPane"
         xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1">
    <stylesheets>
        <URL value="@notebook.css"/>
    </stylesheets>
    <TabPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" tabClosingPolicy="ALL_TABS"
             AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
        <Tab onCloseRequest="#tabOnCloseRequest" text="%nav.tab.catalogues">
            <VBox layoutX="24.0" layoutY="14.0" prefHeight="200.0" prefWidth="100.0" spacing="1.0">
                <padding>
                    <Insets top="1.0" left="3.0" right="3.0"/>
                </padding>
                <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" onAction="#btnTopPlantCatalogueOnAction"
                        styleClass="notebook-nav-button" text="%btn.plantcatalogue" wrapText="true">
                    <tooltip>
                        <Tooltip text="%tip.top.plantcataloguebutton"/>
                    </tooltip>
                </Button>
                <Separator prefHeight="5.0" prefWidth="175.0" visible="false"/>
                <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" onAction="#btnTopRetailersOnAction"
                        styleClass="notebook-nav-button" text="%btn.retailer" wrapText="true">
                    <tooltip>
                        <Tooltip text="%tip.topcat.retailersbutton"/>
                    </tooltip>
                </Button>
                <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" onAction="#btnTopBrandsOnAction" styleClass="notebook-nav-button"
                        text="%btn.brand" wrapText="true">
                    <tooltip>
                        <Tooltip text="%tip.topcat.brandsbutton"/>
                    </tooltip>
                </Button>
                <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" onAction="#btnTopProductsOnAction"
                        styleClass="notebook-nav-button" text="%btn.product" wrapText="true">
                    <tooltip>
                        <Tooltip text="%tip.topcat.productsbutton"/>
                    </tooltip>
                </Button>
                <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" onAction="#btnTopProductCategoriesOnAction"
                        styleClass="notebook-nav-button" text="%btn.productcategory" wrapText="true">
                    <tooltip>
                        <Tooltip text="%tip.topcat.productcategoriesbutton"/>
                    </tooltip>
                </Button>
                <Separator prefHeight="5.0" prefWidth="175.0" visible="false"/>
                <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" onAction="#btnTopHusbandryClassesOnAction"
                        styleClass="notebook-nav-button" text="%btn.husbandryclass" wrapText="true">
                    <tooltip>
                        <Tooltip text="%tip.topcat.husbandryclassesbutton"/>
                    </tooltip>
                </Button>
                <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" disable="false" onAction="#btnTopAfflictionsOnAction"
                        styleClass="notebook-nav-button" text="%btn.affliction" wrapText="true">
                    <tooltip>
                        <Tooltip text="%tip.topcat.afflictionsbutton"/>
                    </tooltip>
                </Button>
                <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" onAction="#btnTopGroundworkActivitiesOnAction"
                        styleClass="notebook-nav-button" text="%btn.groundworkactivity" wrapText="true">
                    <tooltip>
                        <Tooltip text="%tip.topcat.groundworkactivitiesbutton"/>
                    </tooltip>
                </Button>
                <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" onAction="#btnTopWeatherConditionsOnAction"
                        styleClass="notebook-nav-button" text="%btn.weathercondition" wrapText="true">
                    <tooltip>
                        <Tooltip text="%tip.topcat.weatherconditionsbutton"/>
                    </tooltip>
                </Button>
                <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" onAction="#btnTopWildlifeSpeciesOnAction"
                        styleClass="notebook-nav-button" text="%btn.wildlifespecies" wrapText="true">
                    <tooltip>
                        <Tooltip text="%tip.topcat.wildlifespeciesbutton"/>
                    </tooltip>
                </Button>
                <Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" onAction="#btnTopLocationsOnAction"
                        styleClass="notebook-nav-button" text="%btn.location" wrapText="true">
                    <tooltip>
                        <Tooltip text="%tip.topcat.Locationbutton"/>
                    </tooltip>
                </Button>
            </VBox>
        </Tab>
    </TabPane>
</fx:root>
