Example usage for javafx.scene.control TextField setMouseTransparent

List of usage examples for javafx.scene.control TextField setMouseTransparent

Introduction

In this page you can find the example usage for javafx.scene.control TextField setMouseTransparent.

Prototype

public final void setMouseTransparent(boolean value) 

Source Link

Usage

From source file:io.bitsquare.gui.components.paymentmethods.BlockChainForm.java

@Override
public void addFormForDisplayAccount() {
    gridRowFrom = gridRow;//from  w  w w  .  j  a  v  a 2  s . c  om
    addLabelTextField(gridPane, gridRow, "Account name:", cryptoCurrencyAccount.getAccountName(),
            Layout.FIRST_ROW_AND_GROUP_DISTANCE);
    addLabelTextField(gridPane, ++gridRow, "Payment method:",
            BSResources.get(cryptoCurrencyAccount.getPaymentMethod().getId()));
    Tuple2<Label, TextField> tuple2 = addLabelTextField(gridPane, ++gridRow, "Cryptocurrency address:",
            cryptoCurrencyAccount.getAddress());
    addressLabel = tuple2.first;
    TextField field = tuple2.second;
    field.setMouseTransparent(false);
    addLabelTextField(gridPane, ++gridRow, "Cryptocurrency:",
            cryptoCurrencyAccount.getSingleTradeCurrency().getNameAndCode());
    addAllowedPeriod();
}

From source file:io.bitsquare.gui.components.paymentmethods.CryptoCurrencyForm.java

@Override
public void addFormForDisplayAccount() {
    gridRowFrom = gridRow;//from  w  w  w. j ava  2  s  .c o  m
    addLabelTextField(gridPane, gridRow, "Account name:", cryptoCurrencyAccount.getAccountName(),
            Layout.FIRST_ROW_AND_GROUP_DISTANCE);
    addLabelTextField(gridPane, ++gridRow, "Payment method:",
            BSResources.get(cryptoCurrencyAccount.getPaymentMethod().getId()));
    Tuple2<Label, TextField> tuple2 = addLabelTextField(gridPane, ++gridRow, "Altcoin address:",
            cryptoCurrencyAccount.getAddress());
    addressLabel = tuple2.first;
    TextField field = tuple2.second;
    field.setMouseTransparent(false);
    addLabelTextField(gridPane, ++gridRow, "Altcoin:",
            cryptoCurrencyAccount.getSingleTradeCurrency().getNameAndCode());
    addAllowedPeriod();
}

From source file:io.bitsquare.gui.components.paymentmethods.SwishForm.java

@Override
public void addFormForDisplayAccount() {
    gridRowFrom = gridRow;/*from  w  w  w.  java 2 s.  com*/
    addLabelTextField(gridPane, gridRow, "Account name:", swishAccount.getAccountName(),
            Layout.FIRST_ROW_AND_GROUP_DISTANCE);
    addLabelTextField(gridPane, ++gridRow, "Payment method:",
            BSResources.get(swishAccount.getPaymentMethod().getId()));
    addLabelTextField(gridPane, ++gridRow, "Account holder name:", swishAccount.getHolderName());
    TextField field = addLabelTextField(gridPane, ++gridRow, "Mobile no.:", swishAccount.getMobileNr()).second;
    field.setMouseTransparent(false);
    addLabelTextField(gridPane, ++gridRow, "Currency:", swishAccount.getSingleTradeCurrency().getNameAndCode());
    addAllowedPeriod();
}

From source file:io.bitsquare.gui.components.paymentmethods.ChaseQuickPayForm.java

@Override
public void addFormForDisplayAccount() {
    gridRowFrom = gridRow;/*w w  w. j a  v  a  2  s. c o  m*/
    addLabelTextField(gridPane, gridRow, "Account name:", chaseQuickPayAccount.getAccountName(),
            Layout.FIRST_ROW_AND_GROUP_DISTANCE);
    addLabelTextField(gridPane, ++gridRow, "Payment method:",
            BSResources.get(chaseQuickPayAccount.getPaymentMethod().getId()));
    addLabelTextField(gridPane, ++gridRow, "Account holder name:", chaseQuickPayAccount.getHolderName());
    TextField field = addLabelTextField(gridPane, ++gridRow, "Email:", chaseQuickPayAccount.getEmail()).second;
    field.setMouseTransparent(false);
    addLabelTextField(gridPane, ++gridRow, "Currency:",
            chaseQuickPayAccount.getSingleTradeCurrency().getNameAndCode());
    addAllowedPeriod();
}

From source file:io.bitsquare.gui.components.paymentmethods.AliPayForm.java

@Override
public void addFormForDisplayAccount() {
    gridRowFrom = gridRow;//from  ww w  .ja va 2 s .co  m
    addLabelTextField(gridPane, gridRow, "Account name:", aliPayAccount.getAccountName(),
            Layout.FIRST_ROW_AND_GROUP_DISTANCE);
    addLabelTextField(gridPane, ++gridRow, "Payment method:",
            BSResources.get(aliPayAccount.getPaymentMethod().getId()));
    TextField field = addLabelTextField(gridPane, ++gridRow, "Account no.:",
            aliPayAccount.getAccountNr()).second;
    field.setMouseTransparent(false);
    addLabelTextField(gridPane, ++gridRow, "Currency:",
            aliPayAccount.getSingleTradeCurrency().getNameAndCode());
    addAllowedPeriod();
}

From source file:io.bitsquare.gui.components.paymentmethods.PerfectMoneyForm.java

@Override
public void addFormForDisplayAccount() {
    gridRowFrom = gridRow;/*from www.  j av a 2 s  .  com*/
    addLabelTextField(gridPane, gridRow, "Account name:", perfectMoneyAccount.getAccountName(),
            Layout.FIRST_ROW_AND_GROUP_DISTANCE);
    addLabelTextField(gridPane, ++gridRow, "Payment method:",
            BSResources.get(perfectMoneyAccount.getPaymentMethod().getId()));
    TextField field = addLabelTextField(gridPane, ++gridRow, "Account no.:",
            perfectMoneyAccount.getAccountNr()).second;
    field.setMouseTransparent(false);

    addLabelTextField(gridPane, ++gridRow, "Currency:",
            perfectMoneyAccount.getSingleTradeCurrency().getNameAndCode());

    addAllowedPeriod();
}

From source file:io.bitsquare.gui.components.paymentmethods.OKPayForm.java

@Override
public void addFormForDisplayAccount() {
    gridRowFrom = gridRow;/*from   w w  w  .  j a v  a  2  s . co  m*/
    addLabelTextField(gridPane, gridRow, "Account name:", okPayAccount.getAccountName(),
            Layout.FIRST_ROW_AND_GROUP_DISTANCE);
    addLabelTextField(gridPane, ++gridRow, "Payment method:",
            BSResources.get(okPayAccount.getPaymentMethod().getId()));
    TextField field = addLabelTextField(gridPane, ++gridRow, "Wallet ID:", okPayAccount.getAccountNr()).second;
    field.setMouseTransparent(false);
    addAllowedPeriod();
    addCurrenciesGrid(false);
}

From source file:io.bitsquare.gui.components.paymentmethods.FasterPaymentsForm.java

@Override
public void addFormForDisplayAccount() {
    gridRowFrom = gridRow;/* w  ww  . j  a  v a  2s  . c o m*/
    addLabelTextField(gridPane, gridRow, "Account name:", fasterPaymentsAccount.getAccountName(),
            Layout.FIRST_ROW_AND_GROUP_DISTANCE);
    addLabelTextField(gridPane, ++gridRow, "Payment method:",
            BSResources.get(fasterPaymentsAccount.getPaymentMethod().getId()));
    addLabelTextField(gridPane, ++gridRow, "UK Sort code:", fasterPaymentsAccount.getSortCode());
    TextField field = addLabelTextField(gridPane, ++gridRow, "Account number:",
            fasterPaymentsAccount.getAccountNr()).second;
    field.setMouseTransparent(false);
    addLabelTextField(gridPane, ++gridRow, "Currency:",
            fasterPaymentsAccount.getSingleTradeCurrency().getNameAndCode());
    addAllowedPeriod();
}

From source file:io.bitsquare.gui.components.paymentmethods.ClearXchangeForm.java

@Override
public void addFormForDisplayAccount() {
    gridRowFrom = gridRow;/*  w w  w .j a v  a2 s.c o m*/
    addLabelTextField(gridPane, gridRow, "Account name:", clearXchangeAccount.getAccountName(),
            Layout.FIRST_ROW_AND_GROUP_DISTANCE);
    addLabelTextField(gridPane, ++gridRow, "Payment method:",
            BSResources.get(clearXchangeAccount.getPaymentMethod().getId()));
    addLabelTextField(gridPane, ++gridRow, "Account holder name:", clearXchangeAccount.getHolderName());
    TextField field = addLabelTextField(gridPane, ++gridRow, "Email or mobile no.:",
            clearXchangeAccount.getEmailOrMobileNr()).second;
    field.setMouseTransparent(false);
    addLabelTextField(gridPane, ++gridRow, "Currency:",
            clearXchangeAccount.getSingleTradeCurrency().getNameAndCode());
    addAllowedPeriod();
}

From source file:io.bitsquare.gui.components.paymentmethods.SepaForm.java

@Override
public void addFormForDisplayAccount() {
    gridRowFrom = gridRow;/*from w w  w.ja va 2  s .c  o  m*/
    addLabelTextField(gridPane, gridRow, "Account name:", sepaAccount.getAccountName(),
            Layout.FIRST_ROW_AND_GROUP_DISTANCE);
    addLabelTextField(gridPane, ++gridRow, "Payment method:",
            BSResources.get(sepaAccount.getPaymentMethod().getId()));
    addLabelTextField(gridPane, ++gridRow, "Account holder name:", sepaAccount.getHolderName());
    addLabelTextField(gridPane, ++gridRow, "IBAN:", sepaAccount.getIban()).second.setMouseTransparent(false);
    addLabelTextField(gridPane, ++gridRow, "BIC:", sepaAccount.getBic()).second.setMouseTransparent(false);
    addLabelTextField(gridPane, ++gridRow, "Country of Bank:",
            sepaAccount.getCountry() != null ? sepaAccount.getCountry().name : "");
    addLabelTextField(gridPane, ++gridRow, "Currency:", sepaAccount.getSingleTradeCurrency().getNameAndCode());
    String countries;
    Tooltip tooltip = null;
    if (CountryUtil.containsAllSepaEuroCountries(sepaAccount.getAcceptedCountryCodes())) {
        countries = "All Euro countries";
    } else {
        countries = CountryUtil.getCodesString(sepaAccount.getAcceptedCountryCodes());
        tooltip = new Tooltip(CountryUtil.getNamesByCodesString(sepaAccount.getAcceptedCountryCodes()));
    }
    TextField acceptedCountries = addLabelTextField(gridPane, ++gridRow, "Accepted countries:",
            countries).second;
    if (tooltip != null) {
        acceptedCountries.setMouseTransparent(false);
        acceptedCountries.setTooltip(tooltip);
    }
    addAllowedPeriod();
}