@Override protected Task<Void> createTask() { SynchronizePlaylistTask task = new SynchronizePlaylistTask(drive, playlist); task.setDelete(delete); srvProgress.bind(progressProperty()); progressString.bind(task.progressStringProperty()); return task; }
@Override public void initialize(URL location, ResourceBundle resources) { localeName.bind(ProgramProperty.localeName); localeName.addListener( (observ, old, value) -> setElementText(Controller.getResourceBundle(new Locale(value)))); setElementText( Controller.getResourceBundle( new Locale(SingleObject.getProgramSettings().getLocaleName()))); }
@Override public void doActivate() { txId.bind(dataModel.getTxId()); dataModel.getSellerProcessState().addListener(sellerStateListener); dataModel.getBuyerProcessState().addListener(buyerStateListener); if (dataModel.getTrade() != null) { applySellerState(); applyBuyerState(); } }
public Sequencing(StringProperty input) { sequence.bind(input); }