Is ListView missing a selectionEnabledProperty?

Randahl Fink Isaksen randahl at rockit.dk
Fri Apr 26 10:32:12 PDT 2013


I have a use case where I show a list of items to the user. Since the user is not expected to select any of the items, I wish to turn off selection. this can be achieved by disabling the list, but I do not wish to go down that alley, since this changes the visual appearance of the list, and keeps my user from scrolling among the list items.

I was hoping for something like

    getSelectionModel().setSelectionMode(SelectionMode.NONE) 

but this is not possible. Am I missing something here, or should I file a feature request?

Thanks

Randahl



More information about the openjfx-dev mailing list