Aplikasi POS Amigo, dibangun dengan JavaFX dengan Maven
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

27 行
1.7 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?import javafx.scene.control.ComboBox?>
  3. <?import javafx.scene.control.Label?>
  4. <?import javafx.scene.control.RadioButton?>
  5. <?import javafx.scene.control.TextField?>
  6. <?import javafx.scene.control.ToggleGroup?>
  7. <?import javafx.scene.layout.AnchorPane?>
  8. <?import javafx.scene.text.Font?>
  9. <AnchorPane id="AnchorPane" fx:id="apTambahNota" prefHeight="150.0" prefWidth="300.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
  10. <children>
  11. <Label layoutX="14.0" layoutY="14.0" text="Tambah Nota" AnchorPane.leftAnchor="4.0" AnchorPane.topAnchor="0.0">
  12. <font>
  13. <Font size="16.0" />
  14. </font>
  15. </Label>
  16. <RadioButton fx:id="rbBaru" layoutX="4.0" layoutY="30.0" mnemonicParsing="false" onAction="#rbNotaBaruOnAction" selected="true" text="Baru" AnchorPane.leftAnchor="4.0" AnchorPane.rightAnchor="4.0" AnchorPane.topAnchor="30.0">
  17. <toggleGroup>
  18. <ToggleGroup fx:id="tgTipe" />
  19. </toggleGroup></RadioButton>
  20. <RadioButton fx:id="rbAmbilDariCheckout" layoutX="4.0" layoutY="90.0" mnemonicParsing="false" onAction="#rbAmbilDariCheckoutOnAction" text="Ambil dari checkout" toggleGroup="$tgTipe" AnchorPane.leftAnchor="4.0" AnchorPane.rightAnchor="4.0" AnchorPane.topAnchor="90.0" />
  21. <ComboBox fx:id="cbxPilihNota" layoutX="4.0" layoutY="52.0" prefWidth="150.0" promptText="Pilih nota" AnchorPane.leftAnchor="4.0" AnchorPane.topAnchor="52.0" />
  22. <TextField fx:id="txtFieldAmbilDariCheckout" disable="true" layoutX="4.0" layoutY="112.0" AnchorPane.leftAnchor="4.0" AnchorPane.rightAnchor="4.0" AnchorPane.topAnchor="112.0" />
  23. </children>
  24. </AnchorPane>