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

<!--
 Copyright (C) 2014-2019 Yasumasa Suenaga

 This program 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 2
 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, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
-->

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.RadioButton?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.ToggleGroup?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>

<VBox prefHeight="600.0" prefWidth="800.0" spacing="5.0" stylesheets="@/jp/co/ntt/oss/heapstats/fx/plugin/builtin/snapshot/snapshot.css" xmlns:fx="http://javafx.com/fxml/1" fx:controller="jp.co.ntt.oss.heapstats.fx.plugin.builtin.snapshot.SnapShotController">
    <children>
      <HBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" spacing="5.0">
         <children>
              <Button mnemonicParsing="false" onAction="#onSnapshotFileClick" text="%button.snapshot" />
              <TextField fx:id="snapshotList" editable="false" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="0.0" prefWidth="0.0" HBox.hgrow="ALWAYS" />
              <Button fx:id="okBtn" disable="true" mnemonicParsing="false" onAction="#onOkClick" text="OK" />
         </children>
      </HBox>
        <HBox spacing="5.0">
            <children>
                <Label text="%label.range" />
                <SplitPane fx:id="rangePane" disable="true" dividerPositions="0.0, 1.0" maxHeight="-Infinity" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="0.0" prefHeight="25.0" HBox.hgrow="ALWAYS">
                    <items>
                        <AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="0.0" prefWidth="0.0" styleClass="rect-range-unselected" SplitPane.resizableWithParent="false" />
                        <AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="0.0" styleClass="rect-range-selected" SplitPane.resizableWithParent="false" />
                        <AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="0.0" prefWidth="0.0" styleClass="rect-range-unselected" SplitPane.resizableWithParent="false" />
                    </items>
                </SplitPane>
            </children>
        </HBox>
        <HBox alignment="CENTER" spacing="5.0">
            <children>
                <Label fx:id="startTimeLabel" />
                <Label text="-" />
                <Label fx:id="endTimeLabel" />
            </children>
        </HBox>
      <HBox spacing="5.0">
         <children>
              <Label text="%fxml.baseline" />
              <RadioButton mnemonicParsing="false" selected="true" text="%fxml.heapsize">
                  <toggleGroup>
                      <ToggleGroup fx:id="baseline" />
                  </toggleGroup>
              </RadioButton>
              <RadioButton fx:id="radioInstance" mnemonicParsing="false" text="%fxml.instance" toggleGroup="$baseline" />
         </children>
      </HBox>
        <TabPane fx:id="snapshotMain" prefHeight="508.0" prefWidth="773.0" tabClosingPolicy="UNAVAILABLE" VBox.vgrow="ALWAYS">
            <tabs>
                <Tab text="%tab.summary">
                    <content>
                        <fx:include fx:id="summary" source="tabs/summary.fxml" />
                    </content>
                </Tab>
                <Tab fx:id="histogramTab" text="%tab.histogram">
                    <content>
                        <fx:include fx:id="histogram" source="tabs/histogram.fxml" />
                    </content>
                </Tab>
                <Tab fx:id="snapshotTab" text="%tab.snapshot">
                    <content>
                        <fx:include fx:id="snapshot" source="tabs/snapshot.fxml" />
                    </content>
                </Tab>
                <Tab fx:id="reftreeTab" text="%tab.reftree">
                    <content>
                        <fx:include fx:id="reftree" source="tabs/reftree.fxml" />
                    </content>
                </Tab>
            </tabs>
        </TabPane>
    </children>
   <padding>
      <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
   </padding>
</VBox>
