public CFDbTestRamOptMaxValueCursor( CFSecurityAuthorization argAuthorization, ICFDbTestSchema argSchema, Collection<CFDbTestOptMaxValueBuff> cltn) { super(argAuthorization, argSchema, "", cltn.size()); values = cltn; cursor = values.iterator(); }
public CFDbTestRamSecGroupFormCursor( CFSecurityAuthorization argAuthorization, ICFSecuritySchema argSchema, Collection<CFSecuritySecGroupFormBuff> cltn) { super(argAuthorization, argSchema, "", cltn.size()); values = cltn; cursor = values.iterator(); }
public void setJavaFXDataCollection(Collection<ICFDbTestStringColObj> value) { final String S_ProcName = "setJavaFXDataCollection"; javafxDataCollection = value; observableListOfStringCol = FXCollections.observableArrayList(); if (javafxDataCollection != null) { Iterator<ICFDbTestStringColObj> iter = javafxDataCollection.iterator(); while (iter.hasNext()) { observableListOfStringCol.add(iter.next()); } observableListOfStringCol.sort(compareStringColByQualName); } if (dataTable != null) { dataTable.setItems(observableListOfStringCol); // 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(); }