<?xml version="1.0" encoding="UTF-8"?> <?import java.lang.*?> <?import javafx.scene.control.*?> <?import javafx.scene.image.*?> <?import javafx.scene.layout.*?> <?import javafx.scene.text.*?> <?import javafx.scene.control.Button?> <?import javafx.scene.control.Label?> <?import javafx.scene.control.ListView?> <?import javafx.scene.control.MenuButton?> <?import javafx.scene.control.MenuItem?> <?import javafx.scene.control.Separator?> <?import javafx.scene.control.TextField?> <?import javafx.scene.image.Image?> <?import javafx.scene.image.ImageView?> <?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.ColumnConstraints?> <?import javafx.scene.layout.GridPane?> <?import javafx.scene.layout.HBox?> <?import javafx.scene.layout.RowConstraints?> <?import javafx.scene.layout.VBox?> <?import javafx.scene.text.Font?> <AnchorPane id="AnchorPane" prefHeight="623.0" prefWidth="380.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.amap.lidar.amapvox.gui.PositionImporterFrameController"> <children> <ScrollPane fitToWidth="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> <content> <VBox> <children> <TitledPane animated="false" text="Position"> <content> <VBox prefWidth="347.0" spacing="10.0"> <children> <Label text="Single position"> <font> <Font name="System Bold" size="12.0" /> </font> </Label> <GridPane alignment="CENTER" prefHeight="60.0" prefWidth="497.0"> <columnConstraints> <ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> <ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> <ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> </columnConstraints> <rowConstraints> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> </rowConstraints> <children> <Label text="X" /> <Label text="Y" GridPane.columnIndex="1" /> <Label text="Z" GridPane.columnIndex="2" /> <TextField fx:id="textFieldXPosition" GridPane.rowIndex="1" /> <TextField fx:id="textFieldYPosition" GridPane.columnIndex="1" GridPane.rowIndex="1" /> <TextField fx:id="textFieldZPosition" GridPane.columnIndex="2" GridPane.rowIndex="1" /> </children> </GridPane> <Button mnemonicParsing="false" onAction="#onActionButtonAddSinglePosition" text="Add position" /> </children> </VBox> </content> </TitledPane> <TitledPane animated="false" text="Regular grid"> <content> <VBox spacing="10.0"> <children> <HBox alignment="CENTER_LEFT" prefHeight="26.0" prefWidth="185.0" spacing="2.0"> <children> <Label text="Height above ground" /> <TextField fx:id="textfieldScannerHeightOffset" prefHeight="26.0" prefWidth="50.0" promptText="Z offset" text="1" /> </children> </HBox> <HBox spacing="20.0"> <children> <HBox alignment="CENTER" spacing="1.0"> <children> <Label text="Each " /> <TextField fx:id="textfieldScannerSeedPosition" prefHeight="26.0" prefWidth="46.0" text="1" /> <Label text="m from the voxel space center" /> </children> </HBox> </children> </HBox> <HBox alignment="CENTER" spacing="2.0"> <children> <Label text="Voxel file" /> <TextField fx:id="textfieldVoxelFile" prefHeight="25.0" prefWidth="229.0" /> <Button mnemonicParsing="false" onAction="#onActionButtonOpenVoxelFile" text="Open" /> </children> </HBox> <Button mnemonicParsing="false" onAction="#onActionButtonImportPositions" text="Load"> <graphic> <ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@icons/valid.png" /> </image> </ImageView> </graphic> </Button> <HBox alignment="CENTER"> <children> <Button fx:id="buttonGenerateGridPosition" mnemonicParsing="false" onAction="#onActionButtonGenerateGridPosition" prefHeight="23.0" prefWidth="151.0" text="Generate positions"> <font> <Font name="System Bold" size="12.0" /> </font> </Button> <ImageView fx:id="imageViewLoading" fitHeight="23.0" fitWidth="23.0" pickOnBounds="true" preserveRatio="true" visible="false"> <image> <Image url="@icons/loading_6.gif" /> </image> </ImageView> </children> </HBox> </children> </VBox> </content> </TitledPane> <TitledPane animated="false" text="Import"> <content> <VBox spacing="10.0"> <children> <Button mnemonicParsing="false" onAction="#onActionImportPositionsFromFile" text="Import from file"> <font> <Font name="System Bold" size="12.0" /> </font> </Button> <Label text="Positions"> <font> <Font name="System Bold" size="12.0" /> </font> </Label> <ListView fx:id="listViewCanopyAnalyzerSensorPositions" prefWidth="315.0" /> <HBox spacing="10.0"> <children> <MenuButton mnemonicParsing="false" text="Selection"> <items> <MenuItem mnemonicParsing="false" onAction="#onActionMenuItemPositionsSelectionAll" text="All" /> <MenuItem mnemonicParsing="false" onAction="#onActionMenuItemPositionsSelectionNone" text="None" /> </items> </MenuButton> <HBox spacing="5.0"> <children> <Button mnemonicParsing="false" onAction="#onActionButtonRemovePosition"> <graphic> <ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@icons/gnome_list_remove.png" /> </image> </ImageView> </graphic> </Button> </children> </HBox> </children> </HBox> </children> </VBox> </content> </TitledPane> </children> </VBox> </content> </ScrollPane> </children> </AnchorPane>