예제 #1
0
 @Override
 public void addFormForDisplayAccount() {
   gridRowFrom = gridRow;
   addLabelTextField(
       gridPane,
       gridRow,
       "Account name:",
       perfectMoneyAccount.getAccountName(),
       Layout.FIRST_ROW_AND_GROUP_DISTANCE);
   addLabelTextField(
       gridPane,
       ++gridRow,
       "Payment method:",
       BSResources.get(perfectMoneyAccount.getPaymentMethod().getId()));
   addLabelTextField(
       gridPane, ++gridRow, "Account holder name:", perfectMoneyAccount.getHolderName());
   TextField field =
       addLabelTextField(gridPane, ++gridRow, "Account nr.:", perfectMoneyAccount.getAccountNr())
           .second;
   field.setMouseTransparent(false);
   addLabelTextField(
       gridPane,
       ++gridRow,
       "Currency:",
       perfectMoneyAccount.getSingleTradeCurrency().getCodeAndName());
   addAllowedPeriod();
 }