view analyzer/fx/src/main/resources/jp/co/ntt/oss/heapstats/fx/plugin/builtin/snapshot/tabs/histogram.fxml @ 272:dd85c1cbc8c8

Bug 3752: Migrate to OpenJFX 13 Reviewed-by: ykubota https://github.com/HeapStats/heapstats/pull/144
author Yasumasa Suenaga <yasuenag@gmail.com>
date Fri, 27 Sep 2019 14:47:03 +0900
parents
children
line wrap: on
line source

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

<!--
 Copyright (C) 2015-2019 Nippon Telegraph and Telephone Corporation

 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.chart.NumberAxis?>
<?import javafx.scene.chart.StackedAreaChart?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ButtonBar?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>

<SplitPane dividerPositions="0.4" focusTraversable="true" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" xmlns:fx="http://javafx.com/fxml/1" fx:controller="jp.co.ntt.oss.heapstats.fx.plugin.builtin.snapshot.tabs.HistogramController">
    <items>
        <SplitPane dividerPositions="0.5" focusTraversable="true" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" orientation="VERTICAL">
            <items>
                <VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" spacing="5.0">
                    <children>
                        <HBox spacing="5.0">
                            <children>
                                <Label text="%label.exclude" />
                        <ButtonBar>
                           <buttons>
                                      <Button mnemonicParsing="false" onAction="#onAddClick" text="%button.add" />
                                      <Button mnemonicParsing="false" onAction="#onHiddenFilterApply" text="%button.apply" />
                           </buttons>
                        </ButtonBar>
                            </children>
                        </HBox>
                        <TableView fx:id="excludeTable" editable="true" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" VBox.vgrow="ALWAYS">
                            <columns>
                                <TableColumn fx:id="hideColumn" prefWidth="45.0" sortable="false" text="%table.column.hide" />
                                <TableColumn fx:id="excludeNameColumn" editable="false" prefWidth="150.0" text="%table.column.filtername" />
                            </columns>
                            <columnResizePolicy>
                                <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
                            </columnResizePolicy>
                        </TableView>
                    </children>
               <padding>
                  <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
               </padding>
                </VBox>
                <VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" spacing="5.0">
                    <children>
                        <HBox maxWidth="1.7976931348623157E308" spacing="5.0">
                            <children>
                                <Label text="%label.classsearch" />
                                <TextField fx:id="searchText" maxWidth="1.7976931348623157E308" minWidth="0.0" onKeyReleased="#onSearchTextChanged" HBox.hgrow="ALWAYS" />
                            </children>
                        </HBox>
                        <ListView fx:id="searchList" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" VBox.vgrow="ALWAYS" />
                  <ButtonBar>
                    <buttons>
                                <Button fx:id="selectFilterApplyBtn" mnemonicParsing="false" onAction="#onSelectFilterApply" text="%button.apply" />
                                <Button mnemonicParsing="false" onAction="#onSelectFilterClear" text="%button.clear" />
                    </buttons>
                  </ButtonBar>
                    </children>
               <padding>
                  <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
               </padding>
                </VBox>
            </items>
        </SplitPane>
        <SplitPane dividerPositions="0.5" focusTraversable="true" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" orientation="VERTICAL">
            <items>
                <StackPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0">
                    <children>
                        <StackedAreaChart fx:id="topNChart" animated="false" legendVisible="false" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0">
                            <xAxis>
                                <NumberAxis autoRanging="false" minorTickVisible="false" side="BOTTOM" tickLabelsVisible="false" />
                            </xAxis>
                            <yAxis>
                                <NumberAxis fx:id="topNYAxis" autoRanging="false" label="MB" minorTickVisible="false" side="LEFT" />
                            </yAxis>
                        </StackedAreaChart>
                        <AnchorPane fx:id="topNChartAnchor" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" mouseTransparent="true" />
                    </children>
                </StackPane>
                <TableView fx:id="lastDiffTable" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0">
                    <columns>
                        <TableColumn fx:id="colorColumn" editable="false" prefWidth="75.0" sortable="false" />
                        <TableColumn fx:id="classNameColumn" editable="false" prefWidth="75.0" text="%table.column.classname" />
                        <TableColumn fx:id="classLoaderColumn" editable="false" prefWidth="75.0" text="%table.column.classloader" />
                        <TableColumn fx:id="instanceColumn" editable="false" prefWidth="75.0" text="%table.column.instances" />
                        <TableColumn fx:id="totalSizeColumn" editable="false" prefWidth="75.0" text="%table.column.totalsize" />
                    </columns>
                    <columnResizePolicy>
                        <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
                    </columnResizePolicy>
                </TableView>
            </items>
        </SplitPane>
    </items>
   <padding>
      <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
   </padding>
</SplitPane>