шпаргалки
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
1.0 KiB

2 years ago
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<AnchorPane id="AnchorPane" prefHeight="200" prefWidth="320" xmlns:fx="http://javafx.com/fxml/1" fx:controller="javafxtableexampledist.FXMLMainController">
<children>
<TableView onMouseClicked="#handleClickedAction" onKeyPressed="#handleKeyPressedAction" fx:id="table" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<columns>
<TableColumn fx:id="idCol" prefWidth="100" text="ИД" />
<TableColumn fx:id="firstCol" prefWidth="200" text="Имя" />
<TableColumn fx:id="lastCol" prefWidth="200" text="Фамилия" />
<TableColumn fx:id="genderCol" prefWidth="150" text="Пол" />
<TableColumn fx:id="countCol" prefWidth="50" text="Кол-во" />
</columns>
</TableView>
</children>
</AnchorPane>