<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.*?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.StackPane?>
<?import org.controlsfx.glyphfont.Glyph?>
<?import ru.trader.view.support.NumberField?>
<HBox xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
      fx:controller="ru.trader.controllers.ProfileController"
      spacing="4" >
    <Label text="Имя:" />
    <TextField fx:id="name" />
    <StackPane>
        <HBox fx:id="profileInfo">
            <Label text="Баланс:" />
            <NumberField fx:id="balance" />
            <Label text="Система:" />
            <TextField fx:id="systemText" />
            <Button fx:id="btnAddSystem"/>
            <Label text="Станция:" />
            <ComboBox fx:id="station" />
            <Button fx:id="btnAddStation"/>
            <Label text="В доке:" />
            <CheckBox fx:id="docked" />
        </HBox>
        <HBox fx:id="shipInfo">
            <Label text="Трюм:" />
            <NumberField fx:id="cargo" maxWidth="60"/>
            <Label text="Топливный бак:" />
            <NumberField fx:id="tank"  maxWidth="60"/>
            <Label text="Масса:" />
            <NumberField fx:id="mass" maxWidth="60"/>
            <Label text="Двигатель:" />
            <ComboBox fx:id="engine" maxWidth="60"/>
            <Label text="Дальность прыжка, LY:" />
            <Label fx:id="jumpRange"/>
        </HBox>
    </StackPane>
    <ToggleButton minWidth="30" onAction="#toggleShipInfo">
        <graphic><Glyph text="FontAwesome|SPACE_SHUTTLE"/></graphic>
    </ToggleButton>
    <ToggleButton minWidth="30" onAction="#toggleHelper">
        <graphic><Glyph text="FontAwesome|ROCKET"/></graphic>
    </ToggleButton>
    <ToggleButton fx:id="btnEDCE" text="EDCE"/>
</HBox>
