Remove useless constructor
Typing in RecodedPenStroke#getWidthLegend is now more accurate. It
expects a RecodedReal rather than a random LegendStructure.
Fix the way we manage dashes and fill. A null fill will now produce a
NullSolidFillLegend implicitly. I think it's risky, I'll probably
replace it with a ConstantSolifFillLegend with default values.
fix the typing of the fill embedded in the RecodedPenStroke. It must be
a RecodedSolidFill from now on.
Adding some tests about the color and opacity of recoded lines
Adding missing documentations
getFillLegend needs to return a RecodedSolidFillLegend too
improves Javadoc
Adds an implementation of the visitor pattern for RecodedLegend
instances. It will be particularly useful to write global changes in the
parameters of a RecodedLine. A first implementation is provided, that
sets the name of the analysed field.
Removing some useless casts
Prevents fields in PenStroke to become accidentally null. There are
default values defined in SE that we must follow explicitly. It becomes
clearer for the caller and easier to manage externally... We definitely
want to avoid null everywhere we can.
Adding documentation to RecodedString
Adds basic test that checks SeParameterFactory.createStringParameter
behaviour with null input values.
Fix the way we set the dash array from JAXB values.
We've changed the way we manage dash patterns in PenStroke, and we've
fixed the default width of the lines - our tests must match this new
configuration.
We were not managing the type changes of width and dashes in
RecodedPenStroke. I add the listeners as needed, using EventHandler as
usual. And some tests, of course.
Provides a way to flattens parameters used in the unique value legends.
We are still dealing with a tree, so we basically use this structure.
This way, we'll be able to use visitors efficiently on the parameters.
Adds an abstract class that will be used as a basis for unique value
analysis. Use it already to globally change the field on which the
analysis is made.
Adds a visitor used to gathered all the keys used in a RecodedLine. I've
added a method in recode that gives us the keys in a set of string, fir
that.
onVertex was not managed correctly - when using it and producing a
JAXBElement for the point symbolizer, we obtained an NPE. Fixed.
Removing useless cast