-
Bug
-
Resolution: Fixed
-
P4
-
8
-
8.0b101, win8.
When I set column cell factory to be
TableColumn<DataItem, Double> tableProgressBarColumn = new TableColumn<DataItem, Double>();
tableProgressBarColumn.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<DataItem, Double>, ObservableValue<Double>>() {
public ObservableValue<Double> call(TableColumn.CellDataFeatures<DataItem, Double> p) {
return (ObservableValue) p.getValue().progressBarValue;
}
});
tableProgressBarColumn.setCellFactory(ProgressBarTableCell.<DataItem>forTableColumn());
I see, that last rows have progress bars in indeterminate state. If I remove data from TableView, amount of progress bars in indeterminate state increases.
RULE ControlsAutomatedTestSuite/javafx/scene/control/test/cell/TableCellsTest/progressBarCellFactoryTest Exception java.lang.AssertionError: Amount of progress bars expected:<11> but was:<10>
RULE ControlsAutomatedTestSuite/javafx/scene/control/test/cell/TreeTableCellsTest/progressBarCellFactoryTest Exception java.lang.AssertionError: Amount of progress bars expected:<11> but was:<10>
TableColumn<DataItem, Double> tableProgressBarColumn = new TableColumn<DataItem, Double>();
tableProgressBarColumn.setCellValueFactory(new Callback<TableColumn.CellDataFeatures<DataItem, Double>, ObservableValue<Double>>() {
public ObservableValue<Double> call(TableColumn.CellDataFeatures<DataItem, Double> p) {
return (ObservableValue) p.getValue().progressBarValue;
}
});
tableProgressBarColumn.setCellFactory(ProgressBarTableCell.<DataItem>forTableColumn());
I see, that last rows have progress bars in indeterminate state. If I remove data from TableView, amount of progress bars in indeterminate state increases.
RULE ControlsAutomatedTestSuite/javafx/scene/control/test/cell/TableCellsTest/progressBarCellFactoryTest Exception java.lang.AssertionError: Amount of progress bars expected:<11> but was:<10>
RULE ControlsAutomatedTestSuite/javafx/scene/control/test/cell/TreeTableCellsTest/progressBarCellFactoryTest Exception java.lang.AssertionError: Amount of progress bars expected:<11> but was:<10>