-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathout_look.fxml
55 lines (53 loc) · 5.26 KB
/
out_look.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.RadioButton?>
<?import javafx.scene.control.SplitPane?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.Pane?>
<Pane fx:id="pane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="480.0" prefWidth="670.0" xmlns:fx="http://javafx.com/fxml/1" fx:controller="NUM.out_Controller">
<SplitPane fx:id="splitPane" dividerPositions="0.51" orientation="VERTICAL" prefHeight="480.0" prefWidth="670.0">
<AnchorPane fx:id="out1" minHeight="0.0" minWidth="0.0" prefHeight="100.0" prefWidth="160.0">
<Label fx:id="lab_F_x" alignment="CENTER" layoutX="18.0" layoutY="17.0" prefHeight="35.0" prefWidth="70.0" text="Enter F(X)" textAlignment="CENTER" />
<Label fx:id="lab_Period" alignment="CENTER" layoutX="18.0" layoutY="62.0" prefHeight="30.0" prefWidth="55.0" text="Period" />
<Label fx:id="lab_numOfIt" alignment="CENTER" layoutX="18.0" layoutY="101.0" prefHeight="30.0" prefWidth="55.0" text="Iteration" />
<Label fx:id="lab_G_x" layoutX="18.0" layoutY="180.0" prefHeight="35.0" prefWidth="55.0" text="F'x" visible="false" />
<Label fx:id="lab_outPut" alignment="CENTER" contentDisplay="CENTER" layoutX="348.0" layoutY="180.0" prefHeight="35.0" prefWidth="280.0" text="select one from the top." underline="true" wrapText="true" />
<TextField fx:id="F_x" layoutX="82.0" layoutY="17.0" prefHeight="35.0" prefWidth="275.0" />
<TextField fx:id="A" layoutX="82.0" layoutY="62.0" prefHeight="30.0" prefWidth="55.0" text="start" />
<TextField fx:id="B" layoutX="150.0" layoutY="62.0" prefHeight="30.0" prefWidth="55.0" text="end" />
<TextField fx:id="num_of_itr" layoutX="82.0" layoutY="101.0" prefHeight="30.0" prefWidth="55.0" text="num" />
<TextField fx:id="Eps" layoutX="149.0" layoutY="101.0" prefHeight="30.0" prefWidth="70.0" text="EPSILON" />
<TextField fx:id="G_x" layoutX="75.0" layoutY="180.0" prefHeight="35.0" prefWidth="200.0" text="G_x" visible="false" />
<RadioButton fx:id="RB1" layoutX="258.0" layoutY="54.0" mnemonicParsing="false" onAction="#radioButtonChanged" prefHeight="25.0" prefWidth="122.0" text="Bisection Method" textAlignment="CENTER" />
<RadioButton fx:id="RB2" layoutX="258.0" layoutY="79.0" mnemonicParsing="false" onAction="#radioButtonChanged" prefHeight="25.0" prefWidth="122.0" text="False Position" textAlignment="CENTER" />
<RadioButton fx:id="RB3" layoutX="258.0" layoutY="104.0" mnemonicParsing="false" onAction="#radioButtonChanged" prefHeight="25.0" prefWidth="122.0" text="Fixed Point" textAlignment="CENTER" />
<RadioButton fx:id="RB4" layoutX="258.0" layoutY="129.0" mnemonicParsing="false" onAction="#radioButtonChanged" prefHeight="25.0" prefWidth="122.0" text="Newton’s Method" textAlignment="CENTER" />
<RadioButton fx:id="RB5" layoutX="258.0" layoutY="154.0" mnemonicParsing="false" onAction="#radioButtonChanged" prefHeight="25.0" prefWidth="122.0" text="Secant Method" textAlignment="CENTER" />
<Button fx:id="run_button" layoutX="426.0" layoutY="136.0" mnemonicParsing="false" prefHeight="35.0" prefWidth="125.0" text="RUN" visible="false" />
<Button fx:id="clear" layoutX="359.0" layoutY="17.0" mnemonicParsing="false" prefHeight="35.0" prefWidth="80.0" text="Clear" />
<Button fx:id="find_error" layoutX="503.0" layoutY="30.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="125.0" text="Find Error" />
<Button fx:id="find_numIteration" layoutX="503.0" layoutY="56.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="125.0" text="Num OF Iterations" />
<Label fx:id="lab_digitsAfter" layoutX="19.0" layoutY="141.0" prefHeight="25.0" prefWidth="162.0" text="Chopping(Digits after dot(.)):" />
<TextField fx:id="d_after" layoutX="175.0" layoutY="140.0" prefHeight="26.0" prefWidth="30.0" text="5" />
<Button fx:id="generate_fx" layoutX="503.0" layoutY="82.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="125.0" text="Genrate F'(x)" />
<Button fx:id="generate_gra" alignment="CENTER" layoutX="558.0" layoutY="136.0" mnemonicParsing="false" prefHeight="35.0" prefWidth="70.0" text="Graph" visible="false" />
</AnchorPane>
<TableView fx:id="table" prefHeight="226.0" prefWidth="663.0">
<columns>
<TableColumn fx:id="iteration" prefWidth="45.0" text="NUM" />
<TableColumn prefWidth="73.0" text="X-Lower" fx:id="x_lower" />
<TableColumn prefWidth="73.0" text="X-Upper" fx:id="x_upper" />
<TableColumn fx:id="root" prefWidth="70.0" text="X-ROOT" />
<TableColumn fx:id="f_lower" prefWidth="85.0" text="F(X)-LOWER" />
<TableColumn fx:id="f_upper" prefWidth="85.0" text="F(X)-UPPER" />
<TableColumn fx:id="f_root" prefWidth="75.0" text="F(X)-ROOT" />
<TableColumn fx:id="fLower_fUpper" prefWidth="75.0" text="F(L)*F(U)" />
<TableColumn fx:id="error" prefWidth="75.0" text="ERROR" />
</columns>
</TableView>
</SplitPane>
</Pane>