public CFAccRamMemoDataCursor( CFSecurityAuthorization argAuthorization, ICFCrmSchema argSchema, Collection<CFCrmMemoDataBuff> cltn) { super(argAuthorization, argSchema, "", cltn.size()); values = cltn; cursor = values.iterator(); }
public void setJavaFXDataCollection(Collection<ICFAccFeeObj> value) { final String S_ProcName = "setJavaFXDataCollection"; javafxDataCollection = value; observableListOfFee = FXCollections.observableArrayList(); if (javafxDataCollection != null) { Iterator<ICFAccFeeObj> iter = javafxDataCollection.iterator(); while (iter.hasNext()) { observableListOfFee.add(iter.next()); } observableListOfFee.sort(compareFeeByQualName); } if (dataTable != null) { dataTable.setItems(observableListOfFee); // Hack from stackoverflow to fix JavaFX TableView refresh issue ((TableColumn) dataTable.getColumns().get(0)).setVisible(false); ((TableColumn) dataTable.getColumns().get(0)).setVisible(true); } }
public void reset() { super.reset(); cursor = values.iterator(); }