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

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" xmlns:fx="http://javafx.com/fxml/1"
            fx:controller="com.ecep.contract.controller.tab.ContractTabSkinFiles">
    <children>
        <HBox spacing="3.0">
            <children>
                <Button fx:id="fileTableReBuildBtn" mnemonicParsing="false" text="重置"/>
            </children>
            <padding>
                <Insets bottom="10.0" left="7.0" right="10.0" top="10.0"/>
            </padding>
        </HBox>
        <TableView fx:id="table" editable="true" layoutX="48.0" layoutY="26.0" prefHeight="487.0" prefWidth="900.0"
                   AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
                   AnchorPane.topAnchor="42.0">
            <columns>
                <TableColumn fx:id="fileTable_idColumn" editable="false" maxWidth="75.0" minWidth="50.0"
                             prefWidth="75.0" text="ID"/>
                <TableColumn fx:id="fileTable_typeColumn" editable="false" maxWidth="150.0" minWidth="50.0"
                             prefWidth="100.0" text="类型"/>
                <TableColumn fx:id="fileTable_filePathColumn" editable="false" prefWidth="300.0" text="文件"/>
                <TableColumn fx:id="fileTable_applyDateColumn" maxWidth="120.0" minWidth="120.0" prefWidth="120.0"
                             text="生效日期"/>
                <TableColumn fx:id="fileTable_descriptionColumn" maxWidth="200.0" minWidth="100.0" prefWidth="180.0"
                             text="备注"/>
            </columns>
            <contextMenu>
                <ContextMenu>
                    <items>
                        <MenuItem fx:id="fileTable_menu_refresh" mnemonicParsing="false" text="刷新"/>
                        <MenuItem fx:id="fileTable_menu_del" mnemonicParsing="false" text="删除"/>
                        <Menu fx:id="fileTable_menu_pdf" text="PDF"/>
                        <Menu fx:id="fileTable_menu_update" text="更新"/>
                        <Menu fx:id="fileTable_menu_change_type" mnemonicParsing="false" text="变更类型"/>
                        <Menu fx:id="fileTable_menu_change_type_and_name" mnemonicParsing="false"
                              text="变更类型并重命名"/>
                    </items>
                </ContextMenu>
            </contextMenu>
            <columnResizePolicy>
                <TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
            </columnResizePolicy>
        </TableView>
    </children>
</AnchorPane>
