view analyzer/fx/src/main/resources/jp/co/ntt/oss/heapstats/fx/plugin/builtin/snapshot/tabs/snapshot.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.PieChart?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>

<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" spacing="5.0" xmlns:fx="http://javafx.com/fxml/1" fx:controller="jp.co.ntt.oss.heapstats.fx.plugin.builtin.snapshot.tabs.SnapshotController">
    <children>
      <HBox spacing="10.0">
         <children>
              <Label text="%label.snapshot" />
              <ComboBox fx:id="snapShotTimeCombo" onAction="#onSnapShotTimeSelected" prefHeight="23.0" prefWidth="176.0" />
         </children>
      </HBox>
        <SplitPane dividerPositions="0.6" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" orientation="VERTICAL" VBox.vgrow="ALWAYS">
            <items>
                <SplitPane dividerPositions="0.5" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="160.0" prefWidth="200.0">
                    <items>
                        <PieChart fx:id="usagePieChart" legendVisible="false" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" />
                        <TableView fx:id="snapShotSummaryTable" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="0.0" minWidth="0.0" prefHeight="200.0" prefWidth="200.0">
                            <columns>
                                <TableColumn fx:id="snapShotSummaryKey" editable="false" minWidth="95.0" prefWidth="170.0" sortable="false" />
                                <TableColumn fx:id="snapShotSummaryValue" editable="false" minWidth="190.0" prefWidth="190.0" sortable="false" />
                            </columns>
                            <columnResizePolicy>
                                <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
                            </columnResizePolicy>
                        </TableView>
                    </items>
                </SplitPane>
                <TableView fx:id="objDataTable" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="200.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0">
                    <columns>
                        <TableColumn fx:id="objColorColumn" editable="false" prefWidth="40.0" sortable="false" />
                        <TableColumn fx:id="objClassNameColumn" editable="false" prefWidth="200.0" text="%table.column.classname" />
                        <TableColumn fx:id="objClassLoaderColumn" editable="false" prefWidth="200.0" text="%table.column.classloader" />
                        <TableColumn fx:id="objInstancesColumn" editable="false" prefWidth="75.0" text="%snapshot.instances" />
                        <TableColumn fx:id="objSizeColumn" editable="false" prefWidth="75.0" text="%snapshot.totalsize" />
                    </columns>
                    <columnResizePolicy>
                        <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
                    </columnResizePolicy>
                </TableView>
            </items>
        </SplitPane>
    </children>
   <padding>
      <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
   </padding>
</VBox>