observablelist Questions

6

By concatenation I mean obtaining a new list, which listens for changes in all concatenated parts. What is the purpose of method FXCollections#concat(ObservableList<E>... lists)? If it just ...
Sabotage asked 30/5, 2016 at 11:34

2

Solved

Is there a way to cast ArrayList to ObservableList? I would like to do it without iterating through ArrayList. To be more specific, I am using ORMLite to get data from database, and I need Observa...
Abnormality asked 5/3, 2014 at 8:7

3

Solved

Is there a method to bind the content of two observable lists with conversion of elements between them? For example, something like this: ObservableList<Model> models = FXCollections.observa...
Isodimorphism asked 10/5, 2017 at 10:59

3

Solved

I am a semi-beginner Java programmer, learning Java FX from a variety of sources. In my program, I would like to create a ComboBox, and populate the choices with the toString() output of a series o...
Szabo asked 14/4, 2016 at 17:2

2

when trying to declare a new ObservableList: ObservableList<Account> userAccounts = new FXCollections.observableArrayList(); I am getting an error at observableArrayList(); which says: ...
Convertiplane asked 30/1, 2018 at 21:8

4

Solved

I've a couple of copied elements in an observablelist which I use for copy/paste operations in a TableView. The name of the table is cpTable (copy and paste Table) for storing copied elements and t...
Entire asked 29/6, 2015 at 15:17

1

Solved

I find it hard to spot the real raison d'etre of the android.databinding.ObservableList as a data binding feature. At first it looked like a cool tool to display lists, through data binding, addin...

1

I've been searching for a while now and I haven't found anything that works. I want to make it so that every time the user clicks a new client in my list, the clients details are presented in the f...
Architect asked 10/2, 2017 at 20:48

2

Solved

I'm having trouble with Java FX i'm currently trying to serialize an object and for that i'm creating a class that convert object from javaFX to serializable object. But when i'm trying to load bac...

1

Problem When items are removed from an ObservableList, a change event is fired where getFrom() gives the location of the removal and getRemoved() gives a list of items that were removed. The docum...
Thurman asked 12/12, 2015 at 0:18

1

Solved

I am working on a javaFx project where we have to use ObservableList to add Listners. ObservableList includes Model of persons. But I want to store the whole ObservableList Object in a file through...
Northern asked 14/1, 2016 at 16:42

1

Solved

Is it possible for Collectors to return me a ObservableArrayList? A little like this: ObservableList<String> newList = list.stream(). filter(x -> x.startsWith("a"). collect(Collectors.t...
Hageman asked 21/11, 2015 at 22:49

1

Solved

Why are there no ObservableQueue in JavaFX? If we look at the Java 9 documentation (just to see if there are any changes from 8) for FXCollections, we see static helper methods to create Observable...
Tendon asked 11/2, 2015 at 8:36

1

Solved

In some contexts it's necessary to detect - in a ListChangeListener, without control about the list itself - a "all data swapped out", f.i. when we need to clear some state like selection - on comp...
Pampero asked 18/11, 2014 at 12:55

2

Solved

The JavaDoc for the ListChangeListener provides a template for handling changes. I don't know how to handle permutations, however. For every index, I can find out where the new index of the item is...
Guidance asked 6/9, 2014 at 23:56

1

Solved

I have a masterData which is an ObservableList and filteredData which is also an ObservableList. Then, I want to use it to show the filtered data when the filter is set, but also to be able to reco...
Voroshilovgrad asked 26/6, 2014 at 23:28

2

Solved

I have a TableView and I would like to bind the disable property of a Button with the size of the ObservableList model of the table. In particular, I would like to disable the button when the size ...
Elum asked 16/6, 2014 at 14:39

2

Solved

I am attempting a study of JavaFX because I want to use it as the GUI of my program. My question is essentially a conceptual one: To date my program is mostly the "Model" part of the MVC pattern; ...
1

© 2022 - 2024 — McMap. All rights reserved.