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

<?import java.lang.String?>
<?import javafx.collections.FXCollections?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Hyperlink?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ProgressBar?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.Pane?>
<?import org.controlsfx.control.CheckComboBox?>

<?import javafx.scene.control.TextArea?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.image.Image?>
<AnchorPane fx:id="stringAnalysisTabPaneNew2" prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8.0.121" xmlns:fx="http://javafx.com/fxml/1" fx:controller="gui.StringAnalysisTabNew2">
    <Pane>


        <Pane fx:id="paneWords">
            <children>
                <Label fx:id="skipValueL" layoutX="10.0" layoutY="190.0" prefHeight="25.0" text="Preskok besed" />
                <ComboBox fx:id="skipValueCB" layoutX="225.0" layoutY="190.0" prefWidth="140.0" promptText="izberi" visibleRowCount="5">
                    <items>
                        <FXCollections fx:factory="observableArrayList">
                            <String fx:value="0" />
                            <String fx:value="1" />
                            <String fx:value="2" />
                            <String fx:value="3" />
                            <String fx:value="4" />
                            <String fx:value="5" />
                            <String fx:value="6" />
                            <String fx:value="7" />
                        </FXCollections>
                    </items>
                </ComboBox>
            </children>
            <ImageView fx:id="skipValueI" layoutX="370.0" layoutY="197.5" pickOnBounds="true" preserveRatio="true">
                <Image url="questionmark.png" backgroundLoading="true"/>
            </ImageView>
        </Pane>

        <Label fx:id="slowSpeedWarning1L" layoutX="10.0" layoutY="225.0" prefHeight="10.0" text="* IZBIRA PREDHODNEGA FILTRA LAHKO MOČNO UPOČASNI DELOVANJE" styleClass="warning"/>

        <!-- for some reason following two ComboBoxes have to be below paneWords -->
        <Label fx:id="calculateForL" layoutX="10.0" layoutY="20.0" prefHeight="25.0" text="Izračunaj za" />
        <ComboBox fx:id="calculateForCB" layoutX="225.0" layoutY="20.0" minWidth="140.0" prefWidth="140.0" promptText="izberi" visibleRowCount="5">
            <items>
                <FXCollections fx:factory="observableArrayList">
                    <String fx:value="lema" />
                    <String fx:value="različnica" />
                    <String fx:value="oblikoskladenjska oznaka" />
                    <String fx:value="oblikoskladenjska lastnost" />
                    <String fx:value="besedna vrsta" />
                </FXCollections>
            </items>
        </ComboBox>
        <ImageView fx:id="calculateForI" layoutX="370.0" layoutY="27.5" pickOnBounds="true" preserveRatio="true">
            <Image url="questionmark.png" backgroundLoading="true"/>
        </ImageView>

        <Label fx:id="alsoVisualizeL" layoutX="10.0" layoutY="60.0" prefHeight="25.0" text="Upoštevaj tudi" />
        <CheckComboBox fx:id="alsoVisualizeCCB" layoutX="225.0" layoutY="60.0" prefHeight="25.0" prefWidth="140.0"/>
        <ImageView fx:id="alsoVisualizeI" layoutX="370.0" layoutY="67.5" pickOnBounds="true" preserveRatio="true">
            <Image url="questionmark.png" backgroundLoading="true"/>
        </ImageView>

        <Label fx:id="displayTaxonomyL" layoutX="10.0" layoutY="100.0" prefHeight="25.0" text="Izpiši taksonomije" />
        <CheckBox fx:id="displayTaxonomyChB" layoutX="283.0" layoutY="105.0" selected="false" />
        <ImageView fx:id="displayTaxonomyI" layoutX="370.0" layoutY="107.5" pickOnBounds="true" preserveRatio="true">
            <Image url="questionmark.png" backgroundLoading="true"/>
        </ImageView>

        <Label fx:id="slowSpeedWarning2L" layoutX="10.0" layoutY="135.0" prefHeight="10.0" text="* IZBIRA PREDHODNEGA FILTRA LAHKO MOČNO UPOČASNI DELOVANJE" styleClass="warning"/>

        <Label fx:id="ngramValueL" layoutX="10.0" layoutY="150.0" prefHeight="25.0" text="N-gram nivo" />
        <ComboBox fx:id="ngramValueCB" layoutX="225.0" layoutY="150.0" prefHeight="25.0" prefWidth="140.0" promptText="izberi" visibleRowCount="5">
            <items>
                <FXCollections fx:factory="observableArrayList">
                    <String fx:value="2" />
                    <String fx:value="3" />
                    <String fx:value="4" />
                    <String fx:value="5" />
                </FXCollections>
            </items>
        </ComboBox>
        <ImageView fx:id="ngramValueI" layoutX="370.0" layoutY="157.5" pickOnBounds="true" preserveRatio="true">
            <Image url="questionmark.png" backgroundLoading="true"/>
        </ImageView>

        <Label fx:id="notePunctuationsL" layoutX="10.0" layoutY="240.0" prefHeight="25.0" text="Upoštevaj ločila" />
        <CheckBox fx:id="notePunctuationsChB" layoutX="283.0" layoutY="240.0" selected="false" />
        <ImageView fx:id="notePunctuationsI" layoutX="370.0" layoutY="247.5" pickOnBounds="true" preserveRatio="true">
            <Image url="questionmark.png" backgroundLoading="true"/>
        </ImageView>

        <Label fx:id="collocabilityL" layoutX="10.0" layoutY="280.0" prefHeight="25.0" text="Kolokabilnost" />
        <CheckComboBox fx:id="collocabilityCCB" layoutX="225.0" layoutY="280.0" prefHeight="25.0" prefWidth="140.0"/>
        <ImageView fx:id="collocabilityI" layoutX="370.0" layoutY="287.5" pickOnBounds="true" preserveRatio="true">
            <Image url="questionmark.png" backgroundLoading="true"/>
        </ImageView>
    </Pane>
    <Button fx:id="computeNgramsB" layoutX="10.0" layoutY="440.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="250.0" text="Izračunaj" />

    <Pane layoutX="400.0" prefHeight="480.0" prefWidth="380.0">
        <!-- MSD and Taxonomy separated -->
        <Label fx:id="dataLimitL" layoutX="10.0" layoutY="60.0" prefHeight="25.0" text="Omejitev podatkov" />

        <Label fx:id="msdL" layoutX="10.0" layoutY="100.0" prefHeight="25.0" text="Oznaka MSD"/>
        <TextField fx:id="msdTF" layoutX="225.0" layoutY="100.0" prefWidth="140.0"/>
        <ImageView fx:id="msdI" layoutX="370.0" layoutY="107.5" pickOnBounds="true" preserveRatio="true">
            <Image url="questionmark.png" backgroundLoading="true"/>
        </ImageView>

        <Label fx:id="taxonomySetOperationL" layoutX="10.0" layoutY="140.0" prefHeight="25.0" text="Filtriraj taksonomijo po"/>
        <ComboBox fx:id="taxonomySetOperationCB" layoutX="225.0" layoutY="140.0" minWidth="140.0" prefWidth="140.0"
                  visibleRowCount="5"/>
        <ImageView fx:id="taxonomySetOperationI" layoutX="370.0" layoutY="147.5" pickOnBounds="true" preserveRatio="true">
            <Image url="questionmark.png" backgroundLoading="true"/>
        </ImageView>

        <Label fx:id="taxonomyL" layoutX="10.0" layoutY="180.0" prefHeight="25.0" text="Taksonomija"/>
        <CheckComboBox fx:id="taxonomyCCB" layoutX="225.0" layoutY="180.0" prefHeight="25.0" prefWidth="140.0"/>
        <ImageView fx:id="taxonomyI" layoutX="370.0" layoutY="187.5" pickOnBounds="true" preserveRatio="true">
            <Image url="questionmark.png" backgroundLoading="true"/>
        </ImageView>

        <Label fx:id="minimalOccurrencesL" layoutX="10.0" layoutY="220.0" prefHeight="25.0" text="Min. št. pojavitev" />
        <TextField fx:id="minimalOccurrencesTF" layoutX="225.0" layoutY="220.0" prefWidth="140.0" />
        <ImageView fx:id="minimalOccurrencesI" layoutX="370.0" layoutY="227.5" pickOnBounds="true" preserveRatio="true">
            <Image url="questionmark.png" backgroundLoading="true"/>
        </ImageView>

        <Label fx:id="minimalTaxonomyL" layoutX="10.0" layoutY="260.0" prefHeight="25.0" text="Min. št. taksonomij" />
        <TextField fx:id="minimalTaxonomyTF" layoutX="225.0" layoutY="260.0" prefWidth="140.0" />
        <ImageView fx:id="minimalTaxonomyI" layoutX="370.0" layoutY="267.5" pickOnBounds="true" preserveRatio="true">
            <Image url="questionmark.png" backgroundLoading="true"/>
        </ImageView>

        <Label fx:id="minimalRelFreL" layoutX="10.0" layoutY="300.0" prefHeight="25.0" text="Min. rel. št. pojavitev" />
        <TextField fx:id="minimalRelFreTF" layoutX="225.0" layoutY="300.0" prefWidth="140.0" />
        <ImageView fx:id="minimalRelFreI" layoutX="370.0" layoutY="307.5" pickOnBounds="true" preserveRatio="true">
            <Image url="questionmark.png" backgroundLoading="true"/>
        </ImageView>


        <Label fx:id="solarFilters" layoutX="10.0" layoutY="340.0" text="Izbrani filtri:" />
        <TextArea fx:id="selectedFiltersTextArea" layoutX="10.0" layoutY="380.0" prefHeight="95.0" maxHeight="95.0" prefWidth="360.0" text=" " wrapText="true" editable="false"/>
    </Pane>

    <!--<Hyperlink fx:id="helpH" alignment="TOP_LEFT" layoutX="710.0" layoutY="16.0" text="Pomoč" />-->
    <Button fx:id="changeLanguageB" layoutX="710.0" layoutY="40.0" mnemonicParsing="false" prefWidth="50.0"/>

    <Button fx:id="cancel" layoutX="540.0" layoutY="482.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="250.0" text="Prekini" />

    <ProgressBar fx:id="ngramProgressBar" layoutX="10.0" layoutY="517.0" prefHeight="16.0" prefWidth="780.0" progress="0.0" />
    <Label fx:id="progressLabel" layoutX="10.0" layoutY="541.0" prefHeight="25.0" prefWidth="780.0" />

</AnchorPane>
