|
7 | 7 | <?import javafx.geometry.Insets?> |
8 | 8 | <?import javafx.scene.control.DatePicker?> |
9 | 9 | <?import javafx.scene.control.Label?> |
| 10 | +<?import javafx.scene.control.Pagination?> |
10 | 11 | <?import javafx.scene.control.Separator?> |
11 | 12 | <?import javafx.scene.control.TableView?> |
12 | 13 | <?import javafx.scene.control.ToolBar?> |
13 | 14 | <?import javafx.scene.layout.AnchorPane?> |
| 15 | +<?import javafx.scene.layout.BorderPane?> |
14 | 16 |
|
15 | | -<fx:root style="-fx-background-color: white;" stylesheets="@../css/javaFx.css" type="AnchorPane" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1"> |
16 | | - <children> |
17 | | - <AnchorPane AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> |
| 17 | + |
| 18 | +<fx:root stylesheets="@../css/javaFx.css" type="BorderPane" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1"> |
| 19 | + <center> |
| 20 | + <AnchorPane style="-fx-background-color: white;" stylesheets="@../css/javaFx.css"> |
| 21 | + <children> |
| 22 | + <TableView fx:id="monitoringResultTV" layoutX="10.0" style="-fx-background-color: #ffffff00;" styleClass="basic-font" stylesheets="@../css/javaFx.css" tableMenuButtonVisible="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> |
| 23 | + <columnResizePolicy> |
| 24 | + <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" /> |
| 25 | + </columnResizePolicy> |
| 26 | + </TableView> |
| 27 | + </children> |
| 28 | + <padding> |
| 29 | + <Insets left="10.0" right="10.0" /> |
| 30 | + </padding> |
| 31 | + </AnchorPane> |
| 32 | + </center> |
| 33 | + <top> |
| 34 | + <AnchorPane BorderPane.alignment="CENTER"> |
18 | 35 | <children> |
19 | 36 | <ToolBar nodeOrientation="LEFT_TO_RIGHT" style="-fx-background-color: #ffffff00;" AnchorPane.bottomAnchor="10.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="5.0"> |
20 | 37 | <items> |
|
37 | 54 | <JFXButton fx:id="refreshBtn" minHeight="20.0" onAction="#refresh" styleClass="basic-font" text="새로고침"> |
38 | 55 | <graphic> |
39 | 56 | <FontAwesomeIconView fill="#3342cf" glyphName="REFRESH" size="18" /> |
40 | | - </graphic></JFXButton> |
| 57 | + </graphic> |
| 58 | + </JFXButton> |
41 | 59 | <JFXButton fx:id="excelDownBtn" minHeight="20.0" styleClass="basic-font" text="엑셀다운로드"> |
42 | 60 | <graphic> |
43 | 61 | <FontAwesomeIconView fill="#3342cf" glyphName="FILE_TEXT_ALT" size="18" /> |
44 | | - </graphic></JFXButton> |
| 62 | + </graphic> |
| 63 | + </JFXButton> |
45 | 64 | <JFXButton fx:id="showGraphBtn" minHeight="20.0" styleClass="basic-font" text="그래프보기"> |
46 | 65 | <graphic> |
47 | 66 | <FontAwesomeIconView fill="#3342cf" glyphName="BAR_CHART_ALT" size="18" /> |
48 | | - </graphic></JFXButton> |
| 67 | + </graphic> |
| 68 | + </JFXButton> |
49 | 69 | <FontAwesomeIconView fill="#3342cf" glyphName="SAVE" size="18" /> |
50 | 70 | <JFXComboBox fx:id="unitComboBox" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" promptText="단위설정"> |
51 | 71 | <opaqueInsets> |
|
64 | 84 | </ToolBar> |
65 | 85 | <Separator AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" /> |
66 | 86 | </children> |
| 87 | + <padding> |
| 88 | + <Insets left="10.0" right="10.0" /> |
| 89 | + </padding> |
| 90 | + </AnchorPane> |
| 91 | + </top> |
| 92 | + <bottom> |
| 93 | + <AnchorPane BorderPane.alignment="CENTER"> |
| 94 | + <children> |
| 95 | + <Pagination fx:id="pagination" maxPageIndicatorCount="5" stylesheets="@../css/pagination.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" /> |
| 96 | + </children> |
67 | 97 | </AnchorPane> |
68 | | - <TableView fx:id="monitoringResultTV" style="-fx-background-color: #ffffff00;" styleClass="basic-font" stylesheets="@../css/javaFx.css" tableMenuButtonVisible="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="40.0"> |
69 | | - <columnResizePolicy> |
70 | | - <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" /> |
71 | | - </columnResizePolicy> |
72 | | - </TableView> |
73 | | - </children> |
74 | | - <padding> |
75 | | - <Insets bottom="10.0" left="10.0" right="10.0" /> |
76 | | - </padding> |
| 98 | + </bottom> |
77 | 99 | </fx:root> |
0 commit comments