Java 类javafx.util.converter.BigDecimalStringConverter 实例源码

项目:btc1k    文件:MainController.java   
public void initialize ()
{
    messageLabel.textProperty ().bind (Bindings.selectString (App.instance.restClient.currentTaskProperty (), "title"));
    AwesomeDude.setIcon (refreshButton, AwesomeIcon.REFRESH);
    refreshButton.setTooltip (new Tooltip ("Refresh transaction list"));

    toolsPane.getSelectionModel ().selectedItemProperty ().addListener (new ChangeListener<Tab> ()
    {
        @Override
        public void changed (ObservableValue<? extends Tab> v, Tab oldTab, Tab currentTab)
        {
            if ( "keygenTab".equals (oldTab.getId ()) )
            {
                clearKeyData ();
            }
        }
    });

    validateTextField (targetAddress, address, addressConverter ());
    validateTextField (amount, btc, adapter (new BigDecimalStringConverter ()));

    sendButton.disableProperty ().bind (new BooleanBinding ()
    {
        {
            bind (address, btc);
        }

        @Override
        protected boolean computeValue ()
        {
            return (address.get () == null || address.get ().isLeft () || btc.get () == null || btc.get ().isLeft ());
        }
    });

    refreshTransactionList ();
}
项目:Omoikane    文件:TraspasoSalienteController.java   
public NumericTableCell(Class<S> impl) {
    super(impl, new BigDecimalStringConverter());
}
项目:Omoikane    文件:TomaInventarioController.java   
public NumericTableCell(Class<S> impl) {
    super(impl, new BigDecimalStringConverter());
}
项目:Omoikane    文件:TraspasoEntranteController.java   
public NumericTableCell(Class<S> impl) {
    super(impl, new BigDecimalStringConverter());
}