|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | + |
| 3 | +<?import javafx.geometry.Insets?> |
| 4 | +<?import javafx.scene.control.Button?> |
| 5 | +<?import javafx.scene.control.Label?> |
| 6 | +<?import javafx.scene.control.SplitPane?> |
| 7 | +<?import javafx.scene.control.Tab?> |
| 8 | +<?import javafx.scene.control.TabPane?> |
| 9 | +<?import javafx.scene.control.TextArea?> |
| 10 | +<?import javafx.scene.control.TextField?> |
| 11 | +<?import javafx.scene.control.TreeView?> |
| 12 | +<?import javafx.scene.layout.AnchorPane?> |
| 13 | +<?import javafx.scene.layout.BorderPane?> |
| 14 | +<?import javafx.scene.layout.ColumnConstraints?> |
| 15 | +<?import javafx.scene.layout.GridPane?> |
| 16 | +<?import javafx.scene.layout.HBox?> |
| 17 | +<?import javafx.scene.layout.RowConstraints?> |
| 18 | + |
| 19 | +<AnchorPane prefHeight="517.0" prefWidth="859.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.xwintop.xJavaFxTool.controller.debugTools.ZookeeperToolController"> |
| 20 | + <children> |
| 21 | + <BorderPane AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="10.0" AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="10.0"> |
| 22 | + <top> |
| 23 | + <HBox alignment="CENTER_LEFT" prefWidth="200.0" spacing="10.0" BorderPane.alignment="CENTER"> |
| 24 | + <children> |
| 25 | + <Label text="zkServers" /> |
| 26 | + <TextField fx:id="zkServersTextField" text="localhost:2181" /> |
| 27 | + <Button fx:id="connectButton" mnemonicParsing="false" onAction="#connectOnAction" text="连接" /> |
| 28 | + <Button fx:id="disconnectButton" mnemonicParsing="false" onAction="#disconnectOnAction" text="关闭" /> |
| 29 | + <Button fx:id="refreshButton" mnemonicParsing="false" onAction="#refreshOnAction" text="刷新" /> |
| 30 | + <Button fx:id="addNodeButton" mnemonicParsing="false" onAction="#addNodeOnAction" text="添加子结点" /> |
| 31 | + <Button fx:id="deleteNodeButton" mnemonicParsing="false" onAction="#deleteNodeOnAction" text="删除" /> |
| 32 | + </children> |
| 33 | + <BorderPane.margin> |
| 34 | + <Insets bottom="10.0" /> |
| 35 | + </BorderPane.margin> |
| 36 | + </HBox> |
| 37 | + </top> |
| 38 | + <center> |
| 39 | + <SplitPane dividerPositions="0.34560906515580736" BorderPane.alignment="CENTER"> |
| 40 | + <items> |
| 41 | + <TreeView fx:id="nodeTreeView" /> |
| 42 | + <TabPane tabClosingPolicy="UNAVAILABLE"> |
| 43 | + <tabs> |
| 44 | + <Tab text="Node Data"> |
| 45 | + <content> |
| 46 | + <BorderPane> |
| 47 | + <top> |
| 48 | + <HBox alignment="CENTER_LEFT" spacing="10.0" BorderPane.alignment="CENTER"> |
| 49 | + <children> |
| 50 | + <Button fx:id="nodeDataSaveButton" mnemonicParsing="false" onAction="#nodeDataSaveOnAction" text="保存" /> |
| 51 | + </children> |
| 52 | + <BorderPane.margin> |
| 53 | + <Insets bottom="5.0" top="5.0" /> |
| 54 | + </BorderPane.margin> |
| 55 | + </HBox> |
| 56 | + </top> |
| 57 | + <center> |
| 58 | + <TextArea fx:id="nodeDataValueTextArea" BorderPane.alignment="CENTER" /> |
| 59 | + </center> |
| 60 | + </BorderPane> |
| 61 | + </content> |
| 62 | + </Tab> |
| 63 | + <Tab text="Node Metadata"> |
| 64 | + <content> |
| 65 | + <GridPane> |
| 66 | + <columnConstraints> |
| 67 | + <ColumnConstraints hgrow="SOMETIMES" maxWidth="267.0" minWidth="10.0" prefWidth="128.0" /> |
| 68 | + <ColumnConstraints hgrow="SOMETIMES" maxWidth="416.0" minWidth="10.0" prefWidth="416.0" /> |
| 69 | + </columnConstraints> |
| 70 | + <rowConstraints> |
| 71 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 72 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 73 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 74 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 75 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 76 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 77 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 78 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 79 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 80 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 81 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 82 | + </rowConstraints> |
| 83 | + <children> |
| 84 | + <TextField fx:id="A_VERSIONTextField" editable="false" GridPane.columnIndex="1" /> |
| 85 | + <Label text="ACL Version" /> |
| 86 | + <TextField fx:id="C_TIMETextField" editable="false" GridPane.columnIndex="1" GridPane.rowIndex="1" /> |
| 87 | + <TextField fx:id="C_VERSIONTextField" editable="false" GridPane.columnIndex="1" GridPane.rowIndex="2" /> |
| 88 | + <TextField fx:id="CZXIDTextField" editable="false" GridPane.columnIndex="1" GridPane.rowIndex="3" /> |
| 89 | + <TextField fx:id="DATA_LENGTHTextField" editable="false" GridPane.columnIndex="1" GridPane.rowIndex="4" /> |
| 90 | + <TextField fx:id="EPHEMERAL_OWNERTextField" editable="false" GridPane.columnIndex="1" GridPane.rowIndex="5" /> |
| 91 | + <TextField fx:id="M_TIMETextField" editable="false" GridPane.columnIndex="1" GridPane.rowIndex="6" /> |
| 92 | + <TextField fx:id="MZXIDTextField" editable="false" GridPane.columnIndex="1" GridPane.rowIndex="7" /> |
| 93 | + <TextField fx:id="NUM_CHILDRENTextField" editable="false" GridPane.columnIndex="1" GridPane.rowIndex="8" /> |
| 94 | + <TextField fx:id="PZXIDTextField" editable="false" GridPane.columnIndex="1" GridPane.rowIndex="9" /> |
| 95 | + <TextField fx:id="VERSIONTextField" editable="false" GridPane.columnIndex="1" GridPane.rowIndex="10" /> |
| 96 | + <Label text="Creation Time" GridPane.rowIndex="1" /> |
| 97 | + <Label text="Children Version" GridPane.rowIndex="2" /> |
| 98 | + <Label text="Creation ID" GridPane.rowIndex="3" /> |
| 99 | + <Label text="Data Length" GridPane.rowIndex="4" /> |
| 100 | + <Label text="Ephemeral Owner" GridPane.rowIndex="5" /> |
| 101 | + <Label text="Last Modified Time" GridPane.rowIndex="6" /> |
| 102 | + <Label text="Modified ID" GridPane.rowIndex="7" /> |
| 103 | + <Label text="Number of Children" GridPane.rowIndex="8" /> |
| 104 | + <Label text="Node ID" GridPane.rowIndex="9" /> |
| 105 | + <Label text="Data Version" GridPane.rowIndex="10" /> |
| 106 | + </children> |
| 107 | + <padding> |
| 108 | + <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" /> |
| 109 | + </padding> |
| 110 | + </GridPane> |
| 111 | + </content> |
| 112 | + </Tab> |
| 113 | + <Tab text="Node ACLs"> |
| 114 | + <content> |
| 115 | + <AnchorPane minHeight="0.0" minWidth="0.0"> |
| 116 | + <children> |
| 117 | + <Label layoutX="14.0" layoutY="14.0" text="Scheme:" /> |
| 118 | + <TextField fx:id="aclSchemeTextField" editable="false" layoutX="98.0" layoutY="10.0" /> |
| 119 | + <Label layoutX="14.0" layoutY="53.0" text="Id:" /> |
| 120 | + <TextField fx:id="aclIdTextField" editable="false" layoutX="98.0" layoutY="49.0" /> |
| 121 | + <Label layoutX="14.0" layoutY="94.0" text="Permissions:" /> |
| 122 | + <TextField fx:id="aclPermissionsTextField" editable="false" layoutX="98.0" layoutY="90.0" /> |
| 123 | + </children> |
| 124 | + </AnchorPane> |
| 125 | + </content> |
| 126 | + </Tab> |
| 127 | + </tabs> |
| 128 | + </TabPane> |
| 129 | + </items> |
| 130 | + </SplitPane> |
| 131 | + </center> |
| 132 | + </BorderPane> |
| 133 | + </children> |
| 134 | +</AnchorPane> |
0 commit comments