示例#1
0
文件: WorklistView.java 项目: iqe/fx
  @Override
  public void initialize(URL arg0, ResourceBundle arg1) {
    btScan.disableProperty().bind(viewModel.scanAllowedProperty().not());
    lbScan.textProperty().bind(viewModel.messageProperty());
    tfScan.textProperty().bindBidirectional(viewModel.scannedValueProperty());

    btScan.setDefaultButton(true);
  }
示例#2
0
文件: WorklistView.java 项目: iqe/fx
 @FXML
 void onScan(ActionEvent e) {
   viewModel.onScan();
 }