Questions tagged [multipleselectionmodel]

3 questions
2
votes
1 answer

MultipleSelectionModel: which list change events to expect from selectedIndices?

... in particular when modifying the underlying items? Below is a quick example that selects a range and adds an item above the selection for TableView and ListView. The selectedIndices before/after adding: indices before modification: [2,…
kleopatra
  • 51,061
  • 28
  • 99
  • 211
1
vote
1 answer

MultipleSelectionModel Method's getSelectedItems Returning Null

When I test JavaFx 8 ListView, I have encountered a strange problem. This is code: Main.java: package application; import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.Scene; import javafx.fxml.FXMLLoader; import…
0
votes
1 answer

Select objects on a JavaFX Pane

I've created an application to draw objects on a JavaFX pane (rectangle, paths, custom controls etc..). Now I want to be able to select those objects to move, copy or group them. The javafx Pane don't have a selectionModel by default and I somehow…
Murdoc
  • 75
  • 3
  • 8