コード例 #1
0
 @Override
 protected void initialize(Object initValue) {
   TablePane tablePane = (TablePane) initValue;
   input = tablePane.getInput();
   fundCombo.initWidget(FundQueryController.queryUserFunds());
   cashAccountCombo.initWidget(CashAccountQueryController.queryUserCashAccounts());
 }
コード例 #2
0
 @Override
 public void modifyText(ModifyEvent e) {
   List<FundModel> funds = fundCombo.getListData();
   if (funds.isEmpty()) {
     cashAccountCombo.initWidget(CashAccountQueryController.queryUserCashAccounts());
   } else {
     List<String> fundIds = AccountConvert.getFundIds(funds);
     cashAccountCombo.initWidget(CashAccountQueryController.queryCashAccountsByFundIds(fundIds));
   }
 }