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

<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<VBox prefHeight="680.0" prefWidth="1120.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
      fx:controller="com.ecep.contract.controller.customer.CompanyCustomerManagerWindowController">
    <children>
        <MenuBar VBox.vgrow="NEVER">
            <menus>
                <Menu mnemonicParsing="false" text="客户">
                    <items>
                        <MenuItem mnemonicParsing="false" text="新建…" onAction="#onCreateNewCustomerAction"/>
                    </items>
                </Menu>
                <Menu mnemonicParsing="false" text="文件">
                    <items>
                        <MenuItem mnemonicParsing="false" text="重置…" onAction="#onReBuildFilesAction"/>
                        <MenuItem mnemonicParsing="false" text="导出台账…" onAction="#onExportAction"/>
                        <SeparatorMenuItem mnemonicParsing="false"/>
                        <MenuItem mnemonicParsing="false" text="Preferences…"/>
                    </items>
                </Menu>
                <Menu mnemonicParsing="false" text="帮助">
                    <items>
                        <MenuItem mnemonicParsing="false" text="About MyHelloApp"/>
                    </items>
                </Menu>
            </menus>
        </MenuBar>
        <ToolBar prefHeight="40.0" prefWidth="200.0">
            <items>
                <TextField fx:id="searchKeyField" promptText="检索关键字"/>
                <Button fx:id="searchBtn" mnemonicParsing="false" text="检索"/>
            </items>
        </ToolBar>
        <AnchorPane prefHeight="248.0" prefWidth="2239.0" VBox.vgrow="ALWAYS">
            <children>
                <TableView fx:id="table" layoutX="52.0" layoutY="14.0" prefHeight="200.0" prefWidth="200.0"
                           AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
                           AnchorPane.topAnchor="0.0">
                    <columns>
                        <TableColumn fx:id="idColumn" maxWidth="100.0" prefWidth="60.0" text="ID"
                                     sortType="DESCENDING"/>
                        <TableColumn fx:id="companyColumn" prefWidth="200.0" minWidth="50.0" text="公司名称"/>
                        <TableColumn fx:id="catalogColumn" prefWidth="75.0" minWidth="50.0" text="分组"/>
                        <TableColumn fx:id="developDateColumn" prefWidth="120.0" minWidth="50.0" text="开发日期"/>
                        <TableColumn fx:id="pathColumn" prefWidth="250.0" minWidth="50.0" text="文件目录"/>
                        <TableColumn fx:id="createdColumn" prefWidth="160.0" minWidth="50.0" text="创建日期"/>
                    </columns>
                    <contextMenu>
                        <ContextMenu>
                            <items>
                                <MenuItem mnemonicParsing="false" onAction="#onBaseTableRefreshAction" text="刷新"/>
                            </items>
                        </ContextMenu>
                    </contextMenu>
                </TableView>
            </children>
        </AnchorPane>
        <fx:include source="../../part-footer.fxml" fx:id="footer"/>
    </children>
</VBox>
