2017-07-31 16:48:04 -07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
2017-07-31 17:08:16 -07:00
|
|
|
<?import javafx.geometry.Insets?>
|
2017-07-31 17:18:08 -07:00
|
|
|
<?import javafx.scene.control.*?>
|
|
|
|
<?import javafx.scene.layout.BorderPane?>
|
|
|
|
<?import javafx.scene.layout.VBox?>
|
2017-07-31 17:17:56 -07:00
|
|
|
<?import javafx.scene.text.Text?>
|
2017-07-31 16:56:38 -07:00
|
|
|
<BorderPane xmlns="http://javafx.com/javafx"
|
2017-07-31 16:48:04 -07:00
|
|
|
xmlns:fx="http://javafx.com/fxml"
|
2017-07-31 16:56:38 -07:00
|
|
|
fx:controller="org.nwapw.abacus.fx.AbacusController">
|
|
|
|
<center>
|
|
|
|
<TabPane>
|
2017-07-31 17:08:16 -07:00
|
|
|
<Tab text="Calculator" closable="false">
|
|
|
|
<BorderPane>
|
2017-07-31 22:29:44 -07:00
|
|
|
<center>
|
|
|
|
<TableView fx:id="historyTable">
|
|
|
|
<columns>
|
|
|
|
<TableColumn fx:id="inputColumn" text="Input" sortable="false"/>
|
|
|
|
<TableColumn fx:id="parsedColumn" text="Parsed" sortable="false"/>
|
|
|
|
<TableColumn fx:id="outputColumn" text="Output" sortable="false"/>
|
|
|
|
</columns>
|
|
|
|
</TableView>
|
|
|
|
</center>
|
2017-07-31 17:08:16 -07:00
|
|
|
<bottom>
|
|
|
|
<VBox>
|
|
|
|
<ScrollPane prefHeight="50" vbarPolicy="NEVER">
|
2017-07-31 17:18:08 -07:00
|
|
|
<padding>
|
|
|
|
<Insets top="10" bottom="10" left="10" right="10"/>
|
|
|
|
</padding>
|
2017-07-31 17:17:56 -07:00
|
|
|
<Text fx:id="outputText"/>
|
2017-07-31 17:08:16 -07:00
|
|
|
</ScrollPane>
|
2017-07-31 17:17:56 -07:00
|
|
|
<TextField fx:id="inputField" onAction="#performCalculation"/>
|
2017-07-31 17:18:08 -07:00
|
|
|
<Button fx:id="inputButton" text="Calculate" maxWidth="Infinity"
|
|
|
|
onAction="#performCalculation"/>
|
2017-07-31 17:08:16 -07:00
|
|
|
</VBox>
|
|
|
|
</bottom>
|
|
|
|
</BorderPane>
|
|
|
|
</Tab>
|
2017-07-31 16:56:38 -07:00
|
|
|
<Tab text="Settings" closable="false"/>
|
|
|
|
</TabPane>
|
|
|
|
</center>
|
2017-07-31 17:17:56 -07:00
|
|
|
|
2017-07-31 16:56:38 -07:00
|
|
|
</BorderPane>
|