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

<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.collections.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.image.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>

<AnchorPane id="AnchorPane" prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="picturepresenter.SampleController">
  <children>
    <Button fx:id="button" layoutX="400.0" layoutY="546.0" onAction="#handleButtonAction" prefHeight="35.0" prefWidth="140.0" text="Aplikovat">
      <font>
        <Font size="18.0" fx:id="x1" />
      </font>
    </Button>
    <Label fx:id="label" layoutX="126.0" layoutY="120.0" minHeight="16.0" minWidth="69.0" />
    <ImageView fx:id="imageViewOriginal" fitHeight="400.0" fitWidth="400.0" layoutX="0.0" layoutY="0.0" pickOnBounds="true" preserveRatio="true" />
    <ImageView fx:id="ImageViewOutput" fitHeight="400.0" fitWidth="400.0" layoutX="400.0" layoutY="0.0" pickOnBounds="true" preserveRatio="true" />
    <ChoiceBox fx:id="choiceBoxDitheringClass" layoutX="400.0" layoutY="440.0" prefHeight="22.0" prefWidth="140.0">
      <items>
        <FXCollections fx:factory="observableArrayList">
          <String fx:value="Prahovn" />
          <String fx:value="Nhodn rozptyl" />
          <String fx:value="Maticov rozptyl" />
          <String fx:value="Distribuce chyby" />
        </FXCollections>
      </items>
    </ChoiceBox>
    <ChoiceBox fx:id="choiceBoxDitheringSubClass" layoutX="400.0" layoutY="488.0" prefHeight="22.0" prefWidth="140.0">
      <items>
        <FXCollections fx:factory="observableArrayList">
          <String fx:value="Floyd-Steinberg" />
          <String fx:value="Jarvis" />
          <String fx:value="Stucki" />
          <String fx:value="Atkinson" />
          <String fx:value="Burkes" />
          <String fx:value="Sierra" />
          <String fx:value="Shiau-Fan" />
        </FXCollections>
      </items>
    </ChoiceBox>
    <ChoiceBox fx:id="choiceBoxDitheringPrahSubClass" layoutX="400.0" layoutY="488.0" prefHeight="22.0" prefWidth="140.0">
      <items>
        <FXCollections fx:factory="observableArrayList">
          <String fx:value="Automatick" />
          <String fx:value="Manuln" />
        </FXCollections>
      </items>
    </ChoiceBox>
    <ChoiceBox fx:id="choiceBoxImage" layoutX="26.0" layoutY="435.0" prefHeight="22.0" prefWidth="120.0">
      <items>
        <FXCollections fx:factory="observableArrayList">
          <String fx:value="Lena" />
          <String fx:value="M" />
          <String fx:value="Kaktus" />
          <String fx:value="Houby" />
          <String fx:value="Krajina" />
          <String fx:value="Zve" />         
        </FXCollections>
      </items>
      <value>
        <String fx:value="Lena" />
      </value>
    </ChoiceBox>
    <RadioButton fx:id="vodorovne" layoutX="624.0" layoutY="427.0" mnemonicParsing="false" text="Zleva do prava">
         <font>
            <Font size="14.0" />
         </font></RadioButton>
    <RadioButton fx:id="stridave" layoutX="624.0" layoutY="452.0" mnemonicParsing="false" text="Stdav">
         <font>
            <Font size="14.0" />
         </font></RadioButton>
    <Label fx:id="pruchodObrazem" layoutX="610.0" layoutY="405.0" text="Prchod obrazem">
      <font>
        <Font size="16.0" fx:id="x2" />
      </font>
    </Label>
    <Slider fx:id="prahSlider" layoutX="614.0" layoutY="502.0" max="1.0" minorTickCount="3" showTickLabels="false" showTickMarks="false" value="0.1" />
    <Label fx:id="prahLabel" layoutX="690.0" layoutY="476.0" text="Prahovn">
         <font>
            <Font size="16.0" />
         </font></Label>
    <ChoiceBox fx:id="choiceColorCount" layoutX="26.0" layoutY="558.0" prefHeight="22.0" prefWidth="60.0">
      <items>
        <FXCollections fx:factory="observableArrayList">
          <String fx:value="2" />
          <String fx:value="4" />
          <String fx:value="8" />
          <String fx:value="16" />
          <String fx:value="32" />
          <String fx:value="64" />
          <String fx:value="128" />
          <String fx:value="256" />
        </FXCollections>
      </items>
      <value>
        <String fx:value="2" />
      </value>
    </ChoiceBox>
    <Label fx:id="pocetBarev" layoutX="25.0" layoutY="526.0" text="Poet barev">
         <font>
            <Font size="16.0" />
         </font></Label>
    <Label font="$x2" layoutX="25.0" layoutY="472.0" prefHeight="20.0" text="Barevn paleta" />
    <Button fx:id="saveButton" font="$x1" layoutX="612.0" layoutY="546.0" mnemonicParsing="false" onAction="#handleSaveButtonAction" prefHeight="35.0" prefWidth="140.0" text="Uloit" />
    <ImageView fx:id="colorsImageView" fitHeight="193.0" fitWidth="193.0" layoutX="175.0" layoutY="404.0" pickOnBounds="true" preserveRatio="true" />
    <Label layoutX="400.0" layoutY="405.0" text="Metoda ditheringu">
         <font>
            <Font size="16.0" />
         </font></Label>
    <Label layoutX="25.0" layoutY="405.0" prefHeight="25.0" prefWidth="110.0" text="Vbr obrzku">
         <font>
            <Font size="16.0" />
         </font></Label>
    <Label fx:id="prahpLabel" layoutX="610.0" layoutY="476.0" text="Prahovn:">
         <font>
            <Font size="16.0" />
         </font></Label>
      <Label layoutX="34.0" layoutY="500.0" text="Rovnomrn" />
  </children>
</AnchorPane>
