-
Notifications
You must be signed in to change notification settings - Fork 0
/
book_list.fxml
29 lines (27 loc) · 1.57 KB
/
book_list.fxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="UTF-8"?>
<?import com.jfoenix.controls.JFXButton?>
<?import java.net.URL?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.layout.AnchorPane?>
<AnchorPane id="AnchorPane" fx:id="rootPane" prefHeight="437.0" prefWidth="714.0" styleClass="mainFxmlClass" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="library.assistant.ui.listbook.BookListController">
<stylesheets>
<URL value="@book_list.css" />
</stylesheets>
<children>
<TableView fx:id="tableView" layoutX="-3.0" prefHeight="445.0" prefWidth="714.0" AnchorPane.bottomAnchor="108.0" AnchorPane.leftAnchor="-3.0" AnchorPane.rightAnchor="3.0" AnchorPane.topAnchor="0.0">
<columns>
<TableColumn fx:id="titleCol" prefWidth="75.0" text="BookTitle" />
<TableColumn fx:id="idCol" prefWidth="75.0" text="Book Id" />
<TableColumn fx:id="authorCol" prefWidth="75.0" text="Author" />
<TableColumn fx:id="publisherCol" prefWidth="75.0" text="Publisher" />
<TableColumn fx:id="availabilityCol" prefWidth="75.0" text="Availability" />
</columns>
<columnResizePolicy>
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
</columnResizePolicy>
</TableView>
<JFXButton fx:id="label2" layoutX="232.0" layoutY="376.0" onAction="#deleteselectedBook" text="Delete" />
<JFXButton fx:id="label3" layoutX="413.0" layoutY="376.0" onAction="#handleRefresh" text="Refresh" />
</children>
</AnchorPane>