Re: Why are style classes stored in a List instead of a Set?

2015-05-20 Thread Tom Schindl
Beside the usecase mentioned by Tomas - the following thread on stackoverflow indicate that it might in some cases make a difference! http://stackoverflow.com/questions/15670631/does-the-order-of-classes-listed-on-an-item-affect-the-css Tom Von meinem iPhone gesendet > Am 21.05.2015 um 07:39 s

Re: Why are style classes stored in a List instead of a Set?

2015-05-20 Thread Tomas Mikula
Hi Roland, I don't know why it is a List (maybe it is just copying it being a list in the DOM), but it makes sense to me that a style class can be present multiple times (for that matter, a multi-set would work just as well): If I have two places in my code that add and remove the same style clas

Why are style classes stored in a List instead of a Set?

2015-05-20 Thread Roland C
I was recently toying around with CSS in JavaFX and noticed that I got the same style multiple times in the style list of my node. Since the order of the styles is defined by the order in the css file and not by the order of the list that getStyleClass() of a node returns, I was wondering if there

Re: Off topic: named parameters

2015-05-20 Thread dalibor topic
On 14.05.2015 23:53, Tom Eugelink wrote: But I did expect someone to respond on the handing in of the JEP, mainly based on quotes like this: "/We use the current JEP Process to collect, review, sort, and evaluate proposals for enhancements to the JDK. The ongoing result of this process is the JDK