Files
lightspeed/fxml/PrimaryView.fxml
T

42 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import java.net.URL?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Text?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.TableView?>
<?import javafx.scene.control.TableColumn?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.image.ImageView?>
<fx:root type="javafx.scene.layout.StackPane" xmlns:fx="http://javafx.com/fxml/1" >
<padding>
<Insets bottom="0.0" left="0.0" right="0.0" top="5.0"/>
</padding>
<stylesheets>
<URL value="@PrimaryView.css" />
</stylesheets>
<VBox>
<HBox alignment="CENTER_LEFT" >
<padding>
<Insets bottom="0.0" left="5.0" right="0.0" top="0.0"/>
</padding>
<Text text="Lightspeed: " />
<TextField fx:id="lightspeedAddress" prefWidth="200" promptText="IP Address" text="localhost" />
<TextField fx:id="lightspeedPort" prefWidth="75" promptText="Port" text="44444" />
<Button fx:id="connectLightspeed" text="Connect" />
<HBox alignment="CENTER_RIGHT" HBox.hgrow="ALWAYS">
<Text text="Status: " />
<ImageView fx:id="lightspeedStatus" accessibleText="Lightspeed Status" smooth="true" fitHeight="20" preserveRatio="true" />
</HBox>
</HBox>
<HBox alignment="CENTER_LEFT">
<Button fx:id="createServer" text="Create Server" />
</HBox>
<TableView fx:id="serverTable" VBox.vgrow="ALWAYS" />
</VBox>
</fx:root>