Adds a representation for basic areas as a linearized parameter.
First version of the RecodedArea implementation.
It has been quite straightforward thanks to the factorization made
previously. Lacks unit tests, though. And hings will become more
complicated when it will come to manage null fill or stroke.
I don't like to do casts from float to int for trivial vals.
adds equals and fix a broken test
adds tests. And fix things, of course...
That's what's good with unit tests : it lets us catch some of the weird
things we have in our code. So here, we had a bad management of default
values, mixing the ones for the Stroke's fill and the ones for the
fill... Should work now. Adds a method to retrieve the fallback value,
too.
Adds tests for put
Adds tests for remove
Adds setFallbackParameters and a test for it.
Adds hashcode
Adds management of strokeuom
First factorization step in the ui for unique values.
I want to write the fewest lines of code I can.
Adds a default constructo for RecodedArea
Fallback parameters can be described from AbstractrecodedLegend
and implementation put in the inheriting class. It's part of the unique
value api, after all.
Second step of the UI factorisation for unique values.
It can certainly be improved. Uses generics where I can... That's all.
Adds management of AreaParameters in UniqueSymbolArea.
Still factorizing code.
I'm at the point where I have to add some missing class for area
management. Closer and closer, so.
And finally... unique values for areas.
Or rather a first version of that. It seems to be a bit buggy, and
unique values for lines too. Probably a direct consequence of the
factorization I've made. Some listeners to fix, some attributes to set
and that should do it.
Merge pull request #325 from agueganno/feature/analysis/Recode-for-areas

First version of unique value classification for areas